diff options
author | Dastgir Pojee <dastgirp@gmail.com> | 2016-10-02 21:03:02 +0530 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-10-22 02:21:51 +0200 |
commit | 7b270b403ea24811305631d55da5f9d30252ca85 (patch) | |
tree | acdf6b9690f04da77f0a35ba1e5a0bb2d19f322e /src/map/battle.c | |
parent | dad2f5b2ec24745287db1b068021ce6d859510b1 (diff) | |
download | hercules-7b270b403ea24811305631d55da5f9d30252ca85.tar.gz hercules-7b270b403ea24811305631d55da5f9d30252ca85.tar.bz2 hercules-7b270b403ea24811305631d55da5f9d30252ca85.tar.xz hercules-7b270b403ea24811305631d55da5f9d30252ca85.zip |
Implemented SU_SCRATCH:
Max Level: 3
Attack Increases by 50+(50+Level)%
Base Level >= 30: Activates a Chance to cast skill again.
Every 30 Base Level: Increases the chance to cast skill again.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index fabad4460..538f47bb0 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1671,6 +1671,9 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block case SU_BITE: skillratio += 100; break; + case SU_SCRATCH: + skillratio += -50 + 50 * skill_lv; + break; /** * Arch Bishop **/ |