summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2015-03-14 23:19:27 -0300
committershennetsind <ind@henn.et>2015-03-14 23:19:27 -0300
commitf88c46bbaf31108374b22e06b723d66036895249 (patch)
tree09258b690edd15638a08a311fff8598090202a6a /src/map/battle.c
parent8aee60e91807930e4d43965a20c8991b416d7f29 (diff)
parentfb1a845c719976f72f2dfb590f72fe3e87e01185 (diff)
downloadhercules-f88c46bbaf31108374b22e06b723d66036895249.tar.gz
hercules-f88c46bbaf31108374b22e06b723d66036895249.tar.bz2
hercules-f88c46bbaf31108374b22e06b723d66036895249.tar.xz
hercules-f88c46bbaf31108374b22e06b723d66036895249.zip
Merge branch 'master' of github.com:HerculesWS/Hercules
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index e4f4e6679..f9472692e 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5273,6 +5273,10 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
ATK_ADD(10*sd->status.inventory[index].refine);
}
}
+ //Card Fix, tsd side
+ if ( tsd ) { //if player on player then it was already measured above
+ wd.damage = battle->calc_cardfix(BF_WEAPON, src, target, nk, s_ele, s_ele_, wd.damage, (flag.lh ? 1 : 0), wd.flag);
+ }
#endif
if( flag.infdef ) { //Plants receive 1 damage when hit