diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-19 01:57:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-19 02:32:01 +0300 |
commit | 895341723c0c601c798e22c0a53f0aaaa73e08d1 (patch) | |
tree | ab62be821a89665710102301c8bf77d39e6f4aee /src/map/skill.h | |
parent | bcb344ea0b3a994f88eb58f7fc55970fd2f9ed83 (diff) | |
download | hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.tar.gz hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.tar.bz2 hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.tar.xz hercules-895341723c0c601c798e22c0a53f0aaaa73e08d1.zip |
Add skill atributes for allow moving while casting skill.
New SkillInfo attributes:
FreeCastReduced - allow move while casting with slowdown
FreeCastNormal - allow move while casting with normal speed
Diffstat (limited to 'src/map/skill.h')
-rw-r--r-- | src/map/skill.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/src/map/skill.h b/src/map/skill.h index 0ad91001d..c37f9ec41 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -103,21 +103,23 @@ enum e_skill_nk { //A skill with 3 would be no damage + splash: area of effect. //Constants to identify a skill's inf2 value. enum e_skill_inf2 { - INF2_QUEST_SKILL = 0x0001, - INF2_NPC_SKILL = 0x0002, // NPC skills are those that players can't have in their skill tree. - INF2_WEDDING_SKILL = 0x0004, - INF2_SPIRIT_SKILL = 0x0008, - INF2_GUILD_SKILL = 0x0010, - INF2_SONG_DANCE = 0x0020, - INF2_ENSEMBLE_SKILL = 0x0040, - INF2_TRAP = 0x0080, - INF2_TARGET_SELF = 0x0100, // Refers to ground placed skills that will target the caster as well (like Grandcross) - INF2_NO_TARGET_SELF = 0x0200, - INF2_PARTY_ONLY = 0x0400, - INF2_GUILD_ONLY = 0x0800, - INF2_NO_ENEMY = 0x1000, - INF2_NOLP = 0x2000, // Spells that can ignore Land Protector - INF2_CHORUS_SKILL = 0x4000, // Chorus skill + INF2_QUEST_SKILL = 0x00001, + INF2_NPC_SKILL = 0x00002, // NPC skills are those that players can't have in their skill tree. + INF2_WEDDING_SKILL = 0x00004, + INF2_SPIRIT_SKILL = 0x00008, + INF2_GUILD_SKILL = 0x00010, + INF2_SONG_DANCE = 0x00020, + INF2_ENSEMBLE_SKILL = 0x00040, + INF2_TRAP = 0x00080, + INF2_TARGET_SELF = 0x00100, // Refers to ground placed skills that will target the caster as well (like Grandcross) + INF2_NO_TARGET_SELF = 0x00200, + INF2_PARTY_ONLY = 0x00400, + INF2_GUILD_ONLY = 0x00800, + INF2_NO_ENEMY = 0x01000, + INF2_NOLP = 0x02000, // Spells that can ignore Land Protector + INF2_CHORUS_SKILL = 0x04000, // Chorus skill + INF2_FREE_CAST_NORMAL = 0x08000, + INF2_FREE_CAST_REDUCED = 0x10000, }; |