mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Add "until end of combat"
This commit is contained in:
@@ -169,6 +169,10 @@ public class ControlGainEffect extends SpellAbilityEffect {
|
|||||||
game.getEndOfTurn().addUntil(loseControl);
|
game.getEndOfTurn().addUntil(loseControl);
|
||||||
tgtC.setSVar("SacMe", "6");
|
tgtC.setSVar("SacMe", "6");
|
||||||
}
|
}
|
||||||
|
if (lose.contains("EndOfCombat")) {
|
||||||
|
game.getEndOfCombat().addUntil(loseControl);
|
||||||
|
tgtC.setSVar("SacMe", "6");
|
||||||
|
}
|
||||||
if (lose.contains("StaticCommandCheck")) {
|
if (lose.contains("StaticCommandCheck")) {
|
||||||
String leftVar = sa.getSVar(sa.getParam("StaticCommandCheckSVar"));
|
String leftVar = sa.getSVar(sa.getParam("StaticCommandCheckSVar"));
|
||||||
String rightVar = sa.getParam("StaticCommandSVarCompare");
|
String rightVar = sa.getParam("StaticCommandSVarCompare");
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ Types:Legendary Creature Minotaur Warrior
|
|||||||
PT:5/5
|
PT:5/5
|
||||||
K:CantBeBlockedByAmount GT1
|
K:CantBeBlockedByAmount GT1
|
||||||
T:Mode$ AttackersDeclared | AttackingPlayer$ Player.Opponent | Execute$ TrigGainControl | TriggerZones$ Battlefield | OptionalDecider$ You | IsPresent$ Card.Self+tapped | TriggerDescription$ Whenever an opponent attacks with one or more creatures, if CARDNAME is tapped, you may have that opponent gain control of CARDNAME until end of combat. If you do, choose a player or planeswalker that opponent is attacking. Tahngarth is attacking that player or planeswalker.
|
T:Mode$ AttackersDeclared | AttackingPlayer$ Player.Opponent | Execute$ TrigGainControl | TriggerZones$ Battlefield | OptionalDecider$ You | IsPresent$ Card.Self+tapped | TriggerDescription$ Whenever an opponent attacks with one or more creatures, if CARDNAME is tapped, you may have that opponent gain control of CARDNAME until end of combat. If you do, choose a player or planeswalker that opponent is attacking. Tahngarth is attacking that player or planeswalker.
|
||||||
SVar:TrigGainControl:DB$ GainControl | Defined$ Self | NewController$ TriggeredAttackingPlayer | LoseControl$ EOT | Attacking$ True
|
SVar:TrigGainControl:DB$ GainControl | Defined$ Self | NewController$ TriggeredAttackingPlayer | LoseControl$ EndOfCombat | Attacking$ True
|
||||||
AI:RemoveDeck:All
|
AI:RemoveDeck:All
|
||||||
Oracle:Tahngarth, First Mate can't be blocked by more than one creature.\nWhenever an opponent attacks with one or more creatures, if Tahngarth is tapped, you may have that opponent gain control of Tahngarth until end of combat. If you do, choose a player or planeswalker that opponent is attacking. Tahngarth is attacking that player or planeswalker.
|
Oracle:Tahngarth, First Mate can't be blocked by more than one creature.\nWhenever an opponent attacks with one or more creatures, if Tahngarth is tapped, you may have that opponent gain control of Tahngarth until end of combat. If you do, choose a player or planeswalker that opponent is attacking. Tahngarth is attacking that player or planeswalker.
|
||||||
|
|||||||
Reference in New Issue
Block a user