mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
sovereign_okinec_ahau.txt + support (#4000)
This commit is contained in:
@@ -1971,6 +1971,9 @@ public class AbilityUtils {
|
||||
if (sq[0].contains("CardPower")) {
|
||||
return doXMath(c.getNetPower(), expr, c, ctb);
|
||||
}
|
||||
if (sq[0].contains("CardBasePower")) {
|
||||
return doXMath(c.getCurrentPower(), expr, c, ctb);
|
||||
}
|
||||
if (sq[0].contains("CardToughness")) {
|
||||
return doXMath(c.getNetToughness(), expr, c, ctb);
|
||||
}
|
||||
|
||||
12
forge-gui/res/cardsfolder/upcoming/sovereign_okinec_ahau.txt
Normal file
12
forge-gui/res/cardsfolder/upcoming/sovereign_okinec_ahau.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Sovereign Okinec Ahau
|
||||
ManaCost:2 G W
|
||||
Types:Legendary Creature Cat Noble
|
||||
PT:3/4
|
||||
K:Ward:2
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, for each creature you control with power greater than that creature's base power, put a number of +1/+1 counters on that creature equal to the difference.
|
||||
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Valid Creature.YouCtrl+powerGTbasePower | CounterType$ P1P1 | CounterNumPerDefined$ X
|
||||
SVar:X:Count$CardPower/Minus.Count$CardBasePower
|
||||
DeckHas:Ability$Counters
|
||||
DeckHints:Ability$Counters
|
||||
SVar:HasAttackEffect:TRUE
|
||||
Oracle:Ward {2}\nWhenever Sovereign Okinec Ahau attacks, for each creature you control with power greater than that creature's base power, put a number of +1/+1 counters on that creature equal to the difference.
|
||||
Reference in New Issue
Block a user