Commit 9b568145 authored by DailyShana's avatar DailyShana

fix damage step in effect

parent 192c4897
...@@ -3634,6 +3634,8 @@ int32 field::process_battle_command(uint16 step) { ...@@ -3634,6 +3634,8 @@ int32 field::process_battle_command(uint16 step) {
int32 field::process_damage_step(uint16 step, uint32 new_attack) { int32 field::process_damage_step(uint16 step, uint32 new_attack) {
switch(step) { switch(step) {
case 0: { case 0: {
if(core.effect_damage_step && !new_attack)
return TRUE;
core.effect_damage_step = 1; core.effect_damage_step = 1;
card* tmp = core.attacker; card* tmp = core.attacker;
core.attacker = (card*)core.units.begin()->peffect; core.attacker = (card*)core.units.begin()->peffect;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment