summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-07 20:10:13 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-07 20:10:13 +0000
commitacc8a7acc9179d8d9a49675448d18c7ad19a6902 (patch)
tree0a948739c5f0f4b3d61dc71ee4572fad86cac5f4 /src/map/skill.h
parent392e49a6097460851f10501cfe34a9ee86010468 (diff)
downloadhercules-acc8a7acc9179d8d9a49675448d18c7ad19a6902.tar.gz
hercules-acc8a7acc9179d8d9a49675448d18c7ad19a6902.tar.bz2
hercules-acc8a7acc9179d8d9a49675448d18c7ad19a6902.tar.xz
hercules-acc8a7acc9179d8d9a49675448d18c7ad19a6902.zip
- Moved the SD_PREAMBLE code to skill_area_sub
- Added SD_SPLASH to let skill_area_sub do the target counter. - Updated splash skills to use these defines. - The NPC_WIDE* skills now use SD_PREAMBLE to correctly display their animation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12689 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index 8719e6adf..15a0a5434 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -62,10 +62,11 @@ struct status_change_entry;
//Walk intervals at which chase-skills are attempted to be triggered.
#define WALK_SKILL_INTERVAL 5
-// Flags passed to skill_attack
-#define SD_LEVEL 0x1000 // will send -1 instead of skill level (affects display of some skills)
-#define SD_ANIMATION 0x2000 // will use '5' instead of the skill's 'type' (this makes skills show an animation)
-#define SD_PREAMBLE 0x4000 // will transmit a 'magic' damage packet (-30000 dmg) for the first target to be hit
+// Flags passed to skill_attack/skill_area_sub
+#define SD_LEVEL 0x1000 // skill_attack will send -1 instead of skill level (affects display of some skills)
+#define SD_ANIMATION 0x2000 // skill_attack will use '5' instead of the skill's 'type' (this makes skills show an animation)
+#define SD_SPLASH 0x4000 // skill_area_sub will count targets in skill_area_temp[2]
+#define SD_PREAMBLE 0x8000 // skill_area_sub will transmit a 'magic' damage packet (-30000 dmg) for the first target selected
// スキルデ?タベ?ス
struct s_skill_db {