fix some edge-case bugs in ep3 server

This commit is contained in:
Martin Michelsen
2023-08-20 17:37:41 -07:00
parent 8adbe38617
commit 300d3cd825
6 changed files with 48989 additions and 4 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ bool RulerServer::attack_action_has_rampage_and_not_pierce(
break;
}
}
for (; cond_index >= 0; cond_index--) {
for (cond_index--; cond_index >= 0; cond_index--) {
bool has_rampage = this->check_pierce_and_rampage(
card_ref,
ce->def.effects[cond_index].type,