Skip to content

Commit

Permalink
Missing md.damage assignment after battle_attr_fix for RENEWAL `C…
Browse files Browse the repository at this point in the history
…R_ACIDDEMONSTRATION` in `battle_calc_misc_attack` since f926d87

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
  • Loading branch information
cydh committed Jan 17, 2015
1 parent 73bd593 commit 009e0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -6156,7 +6156,7 @@ struct Damage battle_calc_misc_attack(struct block_list *src,struct block_list *
md.damage = 7 * ((atk.damage/skill_lv + matk.damage/skill_lv) * tstatus->vit / 100 );

// AD benefits from endow/element but damage is forced back to neutral
battle_attr_fix(src, target, md.damage, ELE_NEUTRAL, tstatus->def_ele, tstatus->ele_lv);
md.damage = battle_attr_fix(src, target, md.damage, ELE_NEUTRAL, tstatus->def_ele, tstatus->ele_lv);
}
#else
if(tstatus->vit+sstatus->int_) //crash fix
Expand Down

0 comments on commit 009e0e3

Please sign in to comment.