UntapAll as a SubAbility?
I am a wee bit puzzled. I was able to convert Call to Glory to AF sa with the following card text and it works.
Yet Gleam of Resistance does not work. I suspect that UntapAll can not be used as a SubAbility at this time.
This is the error exception that I get at start up.
- Code: Select all
Name:Call to Glory
ManaCost:1 W
Types:Instant
Text:no text
A:SP$ UntapAll | Cost$ 1 W | ValidCards$ Creature.YouCtrl | SpellDescription$ Untap all creatures you control. Samurai creatures you control get +1/+1 until end of turn. | SubAbility$ SVar=DBPumpYourSamurai
SVar:DBPumpYourSamurai:DB$ PumpAll | ValidCards$ Creature.Samurai+YouCtrl | NumAtt$+1 | NumDef$ +1
SVar:PlayMain1:TRUE
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/call_to_glory.jpg
SetInfo:CHK|Common|http://magiccards.info/scans/en/chk/4.jpg
End
Yet Gleam of Resistance does not work. I suspect that UntapAll can not be used as a SubAbility at this time.
- Code: Select all
Name:Gleam of Resistance
ManaCost:4 W
Types:Instant
Text:no text
A:SP$ PumpAll | Cost$ 4 W | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | NumDef$ +2 | SpellDescription$ Creatures you control get +1/+2 until end of turn. Untap those creatures. | SubAbility$ SVar=DBUntapYourCreatures
SVar:DBUntapYourCreatures:DB$ UntapAll | ValidCards$ Creature.YouCtrl
K:TypeCycling:Basic:1 W
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/gleam_of_resistance.jpg
SetInfo:CFX|Common|http://magiccards.info/scans/en/cfx/8.jpg
End
This is the error exception that I get at start up.
- Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
AbilityFactory : SpellAbility was not created for Gleam of Resistance. Did you add the API section?
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Mac OS X Version: 10.6.6 Architecture: x86_64
Java Version: 1.6.0_22 Vendor: Apple Inc.
Detailed error trace:
java.lang.RuntimeException: AbilityFactory : SpellAbility was not created for Gleam of Resistance. Did you add the API section?
at forge.AbilityFactory.getAbility(AbilityFactory.java:483)
at forge.AbilityFactory.getSubAbility(AbilityFactory.java:534)
at forge.AbilityFactory.getAbility(AbilityFactory.java:491)
at forge.CardFactory.getCard2(CardFactory.java:4832)
at forge.CardFactory.getCard(CardFactory.java:238)
at forge.CardFactory.<init>(CardFactory.java:74)
at forge.AllZone.<clinit>(AllZone.java:29)
at forge.Gui_NewGame$2.run(Gui_NewGame.java:182)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)