mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user