summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-03 18:49:33 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:06 +0200
commit8557afc9875ae5fcf46b17728cddab009aa5d472 (patch)
tree50865408c75059d10c86926d7dca39150a9bff06 /src/map/battle.c
parent4cdcafaa6edfe500019406a35c443d82d924d468 (diff)
downloadhercules-8557afc9875ae5fcf46b17728cddab009aa5d472.tar.gz
hercules-8557afc9875ae5fcf46b17728cddab009aa5d472.tar.bz2
hercules-8557afc9875ae5fcf46b17728cddab009aa5d472.tar.xz
hercules-8557afc9875ae5fcf46b17728cddab009aa5d472.zip
Implemented SU_ARCLOUSEDASH Skill.
For (50+10*SkillLv) Seconds, Atk +(15+5*SkillLv). Increases Movement Speed. If Target is Doram Race, Increases Range Physical attack by 10%.
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 2c9d3f3c4..8ff376042 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5304,6 +5304,9 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
if( sc && sc->data[SC_MTF_RANGEATK] )
ATK_ADDRATE(sc->data[SC_MTF_RANGEATK]->val1);// temporary it should be 'bonus.long_attack_atk_rate'
#endif
+ if (sc != NULL && sc->data[SC_ARCLOUSEDASH] != NULL && sc->data[SC_ARCLOUSEDASH]->val4 != 0) {
+ ATK_ADDRATE(sc->data[SC_ARCLOUSEDASH]->val4);
+ }
if( (i=pc->checkskill(sd,AB_EUCHARISTICA)) > 0 &&
(tstatus->race == RC_DEMON || tstatus->def_ele == ELE_DARK) )
ATK_ADDRATE(-i);