mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
merfolk_tunnel_guide.txt initial
This commit is contained in:
@@ -563,7 +563,13 @@ public class TriggerHandler {
|
||||
|
||||
regtrig.triggerRun();
|
||||
|
||||
if (regtrig.hasParam("OneOff") && host.isImmutable()) {
|
||||
boolean removeBoon = host.isBoon();
|
||||
if (regtrig.hasParam("BoonAmount")) {
|
||||
int x = AbilityUtils.calculateAmount(host, regtrig.getParam("BoonAmount"), wrapperAbility);
|
||||
int y = host.getAbilityActivatedThisGame(regtrig.getOverridingAbility());
|
||||
if (y < x) removeBoon = false;
|
||||
}
|
||||
if (regtrig.hasParam("OneOff") && host.isImmutable() || removeBoon) {
|
||||
host.getController().getZone(ZoneType.Command).remove(host);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user