diff options
author | Dastgir Pojee <dastgirp@gmail.com> | 2016-10-03 18:40:27 +0530 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-10-22 02:22:05 +0200 |
commit | 4cdcafaa6edfe500019406a35c443d82d924d468 (patch) | |
tree | 248cd12795d560185ffd4365aaa81d649ce20de7 /src/map/skill.c | |
parent | f5297cbb8d4b4f6b45fb1d3d6d72253795eca5ef (diff) | |
download | hercules-4cdcafaa6edfe500019406a35c443d82d924d468.tar.gz hercules-4cdcafaa6edfe500019406a35c443d82d924d468.tar.bz2 hercules-4cdcafaa6edfe500019406a35c443d82d924d468.tar.xz hercules-4cdcafaa6edfe500019406a35c443d82d924d468.zip |
Implemented SU_PICKYPECK Skill.
ATK + (200+100*SkillLv)%
Every 30 Base Levels, Adds an Additional Chance to reactivate the skill.
When the Enemy has Less than 50% HP Left, Damage is doubled.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 1f8171b72..d947f28a6 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3989,6 +3989,10 @@ int skill_castend_damage_id(struct block_list* src, struct block_list *bl, uint1 skill->addtimerskill(src, tick + skill->get_delay(skill_id, skill_lv), bl->id, 0, 0, skill_id, skill_lv, BF_WEAPON, flag); break; + case SU_PICKYPECK: + clif->skill_nodamage(src, bl, skill_id, skill_lv, 1); + break; + // Splash attack skills. case AS_GRIMTOOTH: case MC_CARTREVOLUTION: |