Fixed bug 10049:
If a unit with 'non-living=yes' attacks a unit with a plague attack, and the unit with the plague attack kills it, a new plague unit will be created.
This commit is contained in:
parent
5bbf79e482
commit
f55209a32e
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ battle_stats evaluate_battle_stats(
|
|||
res.amount_defender_drains = 0;
|
||||
}
|
||||
|
||||
res.defender_plague = (defender_attacks[defend].special() == plague_string);
|
||||
res.defender_plague = !a->second.type().not_living() && (defender_attacks[defend].special() == plague_string);
|
||||
res.defender_slows = (defender_attacks[defend].special() == slow_string);
|
||||
|
||||
static const std::string first_strike = "firststrike";
|
||||
|
|
Loading…
Add table
Reference in a new issue