summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-16 19:00:03 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-16 19:00:03 +0000
commit68584f714db13e550ae532674fc39a6aeff428dc (patch)
tree0a2b44b4189ce91417218aa7c281b366d707057d /src/map/skill.h
parent0a9a02fb7798c957e1493aa20ab5904413d291e6 (diff)
downloadhercules-68584f714db13e550ae532674fc39a6aeff428dc.tar.gz
hercules-68584f714db13e550ae532674fc39a6aeff428dc.tar.bz2
hercules-68584f714db13e550ae532674fc39a6aeff428dc.tar.xz
hercules-68584f714db13e550ae532674fc39a6aeff428dc.zip
* Fixed a copy-paste mistake in disguise code (from r5833)
* Commented out clif_skill_damage2() as it is not used anymore * Made Venom Splasher a splash attack that distributes damage * Fixed displaying of several splash skills (see bugreport:238) - added flag SD_PREAMBLE for skills that need the 'magic' packet (fixes Grimtooth / Cart Revolution displaying out of sync) - hacked together Venom Splasher's "no animation for central mob" - hacked in a custom packet to make Dragonfear display semi-correctly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11491 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index 1025e4aea..7c7cce429 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -53,9 +53,10 @@
//Walk intervals at which chase-skills are attempted to be triggered.
#define WALK_SKILL_INTERVAL 5
-// To be passed to skill_attack, whether the skill damage should disable level or animation. [Skotlex]
-#define SD_LEVEL 0x1000
-#define SD_ANIMATION 0x2000
+// 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
// スキルデ?タベ?ス
struct s_skill_db {
@@ -267,8 +268,7 @@ int skill_blockpc_start (struct map_session_data*,int,int); // [celest]
int skill_blockmerc_start (struct homun_data*,int,int); //[orn]
// スキル攻?一括?理
-int skill_attack( int attack_type, struct block_list* src, struct block_list *dsrc,
- struct block_list *bl,int skillid,int skilllv,unsigned int tick,int flag );
+int skill_attack( int attack_type, struct block_list* src, struct block_list *dsrc,struct block_list *bl,int skillid,int skilllv,unsigned int tick,int flag );
void skill_reload(void);
@@ -289,7 +289,7 @@ enum {
ST_WATER,
};
-enum _skill {
+enum s_skill {
NV_BASIC = 1,
SM_SWORD,