summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-22 19:20:30 -0300
committershennetsind <ind@henn.et>2013-04-22 19:20:30 -0300
commiteb4661ae58069687732794e03751ac9da48b3689 (patch)
tree29955e068e3e4bad1ddf519c983a97eb4175a26a /src/map/battle.c
parent66ae0f173f62bd96aca51676605f80a076f8fd26 (diff)
downloadhercules-eb4661ae58069687732794e03751ac9da48b3689.tar.gz
hercules-eb4661ae58069687732794e03751ac9da48b3689.tar.bz2
hercules-eb4661ae58069687732794e03751ac9da48b3689.tar.xz
hercules-eb4661ae58069687732794e03751ac9da48b3689.zip
Fixed Bug #7168
Card modifiers are now properly employed in pvp http://hercules.ws/board/tracker/issue-7168-bonus2-bsubracerc-demihuman-not-working/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index ee05a4ef0..372616f83 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3421,7 +3421,7 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
}
//Card Fix, tsd side
- if(!sd && tsd) //if player on player then it was already measured above
+ 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, wd.flag);
if( flag.infdef ) { //Plants receive 1 damage when hit