summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-02 21:03:02 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:21:51 +0200
commit7b270b403ea24811305631d55da5f9d30252ca85 (patch)
treeacdf6b9690f04da77f0a35ba1e5a0bb2d19f322e /src/map/battle.c
parentdad2f5b2ec24745287db1b068021ce6d859510b1 (diff)
downloadhercules-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.c3
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
**/