diff options
author | Dastgir Pojee <dastgirp@gmail.com> | 2016-10-03 19:52:19 +0530 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-10-22 02:22:16 +0200 |
commit | f42e558870c1d3e267ff39b6de2841c08750c4e8 (patch) | |
tree | e3ad09feb7b68cc0a8231a1ec63c30e856e8bd9c /src/map/skill.c | |
parent | 6b1fea716f09d316fe6d475114d4a08f8e112580 (diff) | |
download | hercules-f42e558870c1d3e267ff39b6de2841c08750c4e8.tar.gz hercules-f42e558870c1d3e267ff39b6de2841c08750c4e8.tar.bz2 hercules-f42e558870c1d3e267ff39b6de2841c08750c4e8.tar.xz hercules-f42e558870c1d3e267ff39b6de2841c08750c4e8.zip |
Implemented UNT_CATNIPPOWDER.
Implemented SC_CATNIPPOWDER:
Increases WAtk%, MAtk% and Reduces Movement Speed.
Increases Natural Hp/Sp Recovery
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 4ba8b34ef..30b9f4c0a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -12113,6 +12113,13 @@ int skill_unit_onplace(struct skill_unit *src, struct block_list *bl, int64 tick sc_start(ss, bl, SC_VOLCANIC_ASH, 100, sg->skill_lv, skill->get_time(MH_VOLCANIC_ASH, sg->skill_lv)); break; + case UNT_CATNIPPOWDER: + if (sg->src_id == bl->id || (status_get_mode(bl)&MD_BOSS)) + break; // Does not affect the caster or Boss. + if (sce == NULL && battle->check_target(&src->bl, bl, BCT_ENEMY) > 0) + sc_start(ss, bl, type, 100, sg->skill_lv, skill->get_time(sg->skill_id, sg->skill_lv)); + break; + case UNT_GD_LEADERSHIP: case UNT_GD_GLORYWOUNDS: case UNT_GD_SOULCOLD: |