diff options
author | Michieru <Michieru@users.noreply.github.com> | 2014-09-18 22:30:06 +0200 |
---|---|---|
committer | Michieru <Michieru@users.noreply.github.com> | 2014-09-18 22:30:06 +0200 |
commit | 9a15ccdbfb2c48d6eb73999ad2a61701d7abd6f4 (patch) | |
tree | ab1a7608cc55266cc20689248b7fbc2f7064e1aa | |
parent | 15c8f8d190aae986a5c3c93d482fd9047cdad143 (diff) | |
download | hercules-9a15ccdbfb2c48d6eb73999ad2a61701d7abd6f4.tar.gz hercules-9a15ccdbfb2c48d6eb73999ad2a61701d7abd6f4.tar.bz2 hercules-9a15ccdbfb2c48d6eb73999ad2a61701d7abd6f4.tar.xz hercules-9a15ccdbfb2c48d6eb73999ad2a61701d7abd6f4.zip |
Fixed weapon skills reduction card damage (bug:8329)
Mega thanks to csnv
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index e120ea35d..2f53d6423 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -5130,11 +5130,11 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list ATK_ADD(10*sd->status.inventory[index].refine); } } +#endif //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 short class_ = status->get_class(target); if( flag.hit || wd.damage > 0 ) |