merfolk_tunnel_guide.txt initial

This commit is contained in:
Northmoc
2023-12-05 08:20:46 -05:00
parent 1ece8e6668
commit 0c94e6de80
4 changed files with 20 additions and 4 deletions

View File

@@ -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);
}
}