Commit addeef00 authored by VanillaSalt's avatar VanillaSalt

fix

parent 103fceb4
......@@ -571,7 +571,7 @@ int32 card::get_attack() {
temp.attack = 0;
}
if(swap_final_b) {
batk = bdef;
std::swap(batk, bdef);
temp.base_attack = batk;
if(!rev) {
temp.attack = ((atk < 0) ? batk : atk) + up_atk + upc_atk;
......@@ -783,7 +783,7 @@ int32 card::get_defence() {
temp.defence = 0;
}
if(swap_final_b) {
bdef = batk;
std::swap(batk, bdef);
temp.base_defence = bdef;
if(!rev) {
current_atk = ((atk < 0) ? batk : atk) + up_atk + upc_atk;
......
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