diff options
author | Dastgir Pojee <dastgirp@gmail.com> | 2016-10-02 21:42:05 +0530 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-10-22 02:22:00 +0200 |
commit | 4291cc2aa8430c7a08c6a60f75590784ed64f98e (patch) | |
tree | cd535c316a4577d8a8463e36e20f05fe2d5ea41a /src/map/skill.c | |
parent | 9930ca16f6dff79b8cb14a75c50ac269dd59c6cc (diff) | |
download | hercules-4291cc2aa8430c7a08c6a60f75590784ed64f98e.tar.gz hercules-4291cc2aa8430c7a08c6a60f75590784ed64f98e.tar.bz2 hercules-4291cc2aa8430c7a08c6a60f75590784ed64f98e.tar.xz hercules-4291cc2aa8430c7a08c6a60f75590784ed64f98e.zip |
Implemented SU_CN_POWDERING Skill.
Consumes 1 Catnip Fruit.
Lv 1-2: 3x3 AoE
Lv 3-4: 5x5 AoE
Lv 5: 7x7 AoE
Lasts for (2+SkillLevel) Seconds
Increases Natural Recovery of HP/SP.
Reduces Atk and MAtk by 50%
Reduces Movement Speed.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 7e65ddea4..57955e260 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5049,6 +5049,7 @@ int skill_castend_id(int tid, int64 tick, int id, intptr_t data) ud->skilltimer=tid; return skill->castend_pos(tid,tick,id,data); case GN_WALLOFTHORN: + case SU_CN_POWDERING: ud->skillx = target->x; ud->skilly = target->y; ud->skilltimer = tid; @@ -10590,7 +10591,8 @@ int skill_castend_pos2(struct block_list* src, int x, int y, uint16 skill_id, ui case SO_ELEMENTAL_SHIELD: case RL_B_TRAP: case MH_XENO_SLASHER: - flag|=1;//Set flag to 1 to prevent deleting ammo (it will be deleted on group-delete). + case SU_CN_POWDERING: + flag |= 1; // Set flag to 1 to prevent deleting ammo (it will be deleted on group-delete). FALLTHROUGH case GS_GROUNDDRIFT: //Ammo should be deleted right away. if ( skill_id == WM_SEVERE_RAINSTORM ) |