mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Added Runeflare Trap
Small Checkstyle fix
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -7027,6 +7027,7 @@ res/cardsfolder/r/runeclaw_bear.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/r/runed_arch.txt svneol=native#text/plain
|
res/cardsfolder/r/runed_arch.txt svneol=native#text/plain
|
||||||
res/cardsfolder/r/runed_servitor.txt svneol=native#text/plain
|
res/cardsfolder/r/runed_servitor.txt svneol=native#text/plain
|
||||||
res/cardsfolder/r/runed_stalactite.txt svneol=native#text/plain
|
res/cardsfolder/r/runed_stalactite.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/r/runeflare_trap.txt -text
|
||||||
res/cardsfolder/r/runes_of_the_deus.txt svneol=native#text/plain
|
res/cardsfolder/r/runes_of_the_deus.txt svneol=native#text/plain
|
||||||
res/cardsfolder/r/runic_repetition.txt -text
|
res/cardsfolder/r/runic_repetition.txt -text
|
||||||
res/cardsfolder/r/rupture.txt svneol=native#text/plain
|
res/cardsfolder/r/rupture.txt svneol=native#text/plain
|
||||||
|
|||||||
13
res/cardsfolder/r/runeflare_trap.txt
Normal file
13
res/cardsfolder/r/runeflare_trap.txt
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Name:Runeflare Trap
|
||||||
|
ManaCost:4 R R
|
||||||
|
Types:Instant Trap
|
||||||
|
Text:no text
|
||||||
|
A:SP$DealDamage | Cost$ R | ValidTgts$ Player | NumDmg$ X | CheckSVar$ Y | SVarCompare$ GE3 | SpellDescription$ If an opponent drew three or more cards this turn, you may pay R rather than pay CARDNAME's mana cost.
|
||||||
|
A:SP$DealDamage | Cost$ 4 R R | ValidTgts$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand.
|
||||||
|
SVar:X:TargetedPlayer$CardsInHand
|
||||||
|
SVar:Y:Count$OppDrewThisTurn
|
||||||
|
SVar:Rarity:Uncommon
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/runeflare_trap.jpg
|
||||||
|
SetInfo:ZEN|Uncommon|http://magiccards.info/scans/en/zen/146.jpg
|
||||||
|
Oracle:If an opponent drew three or more cards this turn, you may pay {R} rather than pay Runeflare Trap's mana cost.\nRuneflare Trap deals damage to target player equal to the number of cards in that player's hand.
|
||||||
|
End
|
||||||
@@ -2758,10 +2758,10 @@ public class CardFactoryUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sq[0].equals("YouDrewThisTurn")) {
|
if (sq[0].equals("YouDrewThisTurn")) {
|
||||||
return CardFactoryUtil.doXMath(c.getController().getNumDrawnThisTurn(), m, c);
|
return CardFactoryUtil.doXMath(c.getController().getNumDrawnThisTurn(), m, c);
|
||||||
}
|
}
|
||||||
if(sq[0].equals("OppDrewThisTurn")) {
|
if (sq[0].equals("OppDrewThisTurn")) {
|
||||||
return CardFactoryUtil.doXMath(c.getController().getOpponent().getNumDrawnThisTurn(), m, c);
|
return CardFactoryUtil.doXMath(c.getController().getOpponent().getNumDrawnThisTurn(), m, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user