ONE: Toxic Keyword (#2213)

* ONE: Toxic Keyword

* more scripts

* Proliferate Trigger

* add proliferate trigger

* ~ add Toxic to ai part

* ~ more toxic cards

* add Venser Corpse Puppet

* ~ fix jiang

* ~ fix venser

* predictPoisonFromTriggers Toxic+Double Strike
This commit is contained in:
Hans Mackowiak
2023-01-08 21:13:58 +01:00
committed by GitHub
parent e198b8dafa
commit fb3f14db71
25 changed files with 150 additions and 15 deletions

View File

@@ -2475,11 +2475,14 @@ public class ComputerUtilCombat {
}
}
poison += pd;
if (pd > 0 && attacker.hasDoubleStrike()) {
poison += pd;
}
// TODO: Predict replacement effects for counters (doubled, reduced, additional counters, etc.)
}
// intern toxic effect
poison += attacker.getKeywordMagnitude(Keyword.TOXIC);
}
if (attacker.hasDoubleStrike())
{
poison *= 2;
}
return poison;
}