Fixed "City's Blessing" macros, fixed "Jared Carthalion, True Heir", added new keyoword "noncombatvigor" for cards such as "Stormwild Capridor".

This commit is contained in:
Vittorio Alfieri
2021-08-19 15:45:30 +02:00
parent d3167bb4f4
commit bdba322558
5 changed files with 15 additions and 7 deletions
+8
View File
@@ -116,6 +116,14 @@ int Damage::resolve()
}
damage = 0;
}
if ((_target)->has(Constants::NONCOMBATVIGOR) && typeOfDamage != DAMAGE_COMBAT)
{
for (int j = damage; j > 0; j--)
{
(_target)->counters->addCounter(1, 1);
}
damage = 0;
}
if ((_target)->has(Constants::HYDRA))
{
for (int j = damage; j > 0; j--)