mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Merge branch 'jared' into 'master'
CMR: Jared, True Hair Metal Band and support for "you can't become monarch" See merge request core-developers/forge!3376
This commit is contained in:
@@ -30,9 +30,11 @@ public class BecomeMonarchEffect extends SpellAbilityEffect {
|
|||||||
|
|
||||||
for (final Player p : getTargetPlayers(sa)) {
|
for (final Player p : getTargetPlayers(sa)) {
|
||||||
if ((tgt == null) || p.canBeTargetedBy(sa)) {
|
if ((tgt == null) || p.canBeTargetedBy(sa)) {
|
||||||
|
if (!p.hasKeyword("You can’t become the monarch this turn.")) {
|
||||||
p.getGame().getAction().becomeMonarch(p);
|
p.getGame().getAction().becomeMonarch(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
Name:Jared Carthalion, True Heir
|
||||||
|
ManaCost:R G W
|
||||||
|
Types:Legendary Creature Human Warrior
|
||||||
|
PT:3/3
|
||||||
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMonarch | TriggerDescription$ When CARDNAME enters the battlefield, target opponent becomes the monarch. You can’t become the monarch this turn.
|
||||||
|
SVar:TrigMonarch:DB$ BecomeMonarch | ValidTgts$ Opponent | SubAbility$ DBPump
|
||||||
|
SVar:DBPump:DB$ Pump | Defined$ You | KW$ You can’t become the monarch this turn.
|
||||||
|
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | CheckDefinedPlayer$ You.isMonarch | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to NICKNAME while you’re the monarch, prevent that damage and put that many +1/+1 counters on it.
|
||||||
|
SVar:Counters:DB$ PutCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y | References$ Y
|
||||||
|
SVar:Y:ReplaceCount$DamageAmount
|
||||||
|
DeckHas:Ability$Counters
|
||||||
|
Oracle:When Jared Carthalion, True Heir enters the battlefield, target opponent becomes the monarch. You can’t become the monarch this turn.\nIf damage would be dealt to Jared Carthalion while you’re the monarch, prevent that damage and put that many +1/+1 counters on it.
|
||||||
Reference in New Issue
Block a user