Re: Card Development Questions
yay thanks guys for adding Rathi Dragon one of my favorite cards
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=3760
Name:Megatherium
ManaCost:2 G
Types:Creature Beast
Text:no text
PT:4/4
K:Trample
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you pay {1} for each card in your hand.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self | UnlessCost$ X | UnlessPayer$ You
SVar:X:Count$InYourHand
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/megatherium.jpg
SetInfo:MMQ|Rare|http://magiccards.info/scans/mm/en/259.jpg
Oracle:Trample\nWhen Megatherium enters the battlefield, sacrifice it unless you pay {1} for each card in your hand.
End
It is quite different from those. This is a mana cost, those are non-mana.squee1968 wrote:On a similar note, would this script for Megatherium be unfair to the AI? Maybe someone could add an SVar Mana needed.I swear that I had this card scripted before I saw Sloth's flurry of "sacrifice unless" cards.
- Code: Select all
Name:Megatherium
ManaCost:2 G
Types:Creature Beast
Text:no text
PT:4/4
K:Trample
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you pay {1} for each card in your hand.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self | UnlessCost$ X | UnlessPayer$ You
SVar:X:Count$InYourHand
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/megatherium.jpg
SetInfo:MMQ|Rare|http://magiccards.info/scans/mm/en/259.jpg
Oracle:Trample\nWhen Megatherium enters the battlefield, sacrifice it unless you pay {1} for each card in your hand.
End
The AI could kill itself for some unimportant spell, so i would say too unfair.moomarc wrote:Would Overabundance be too unfair to the AI at present? Otherwise easy enough to script.
You have to differentiate between cards only the human can use and cards that force the AI to play differently (which it mostly can't).squee1968 wrote:On a similar note, would this script for Megatherium be unfair to the AI? Maybe someone could add an SVar Mana needed.
Look at the Cemetery Reaper script, it uses a similar mechanic.jeffwadsworth wrote:While testing Entrails Feaster, I noticed that a ChangeZone Origin$ Graveyard ChangeType$ Creature will only access your graveyard. Is there any technique that would allow it to access both graveyards?
- | Open
No, that is a targeted card.ArsenalNut wrote:Look at the Cemetery Reaper script, it uses a similar mechanic.jeffwadsworth wrote:While testing Entrails Feaster, I noticed that a ChangeZone Origin$ Graveyard ChangeType$ Creature will only access your graveyard. Is there any technique that would allow it to access both graveyards?
- | Open
I added some null pointer checks in r13931 that fix the problem with "Defined$ Targeted". Also TargetedPlayer didn't work because its not a supported keyword in the getDefinedPlayers method.
Name:Soulblast
ManaCost:3 R R R
Types:Instant
Text:no text
A:SP$ DealDamage | Cost$ 3 R R R Sac<All/Creature> | NumDmg$ X | Tgt$ TgtCP | CostDesc$ As an additional cost to cast CARDNAME, sacrifice all creatures you control. | SpellDescription$ CARDNAME deals damage to target creature or player equal to the total power of the sacrificed creatures.
SVar:X:Sacrificed$CardPower
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/soulblast.jpg
SetInfo:CHK|Rare|http://magiccards.info/scans/en/chk/190.jpg
SetInfo:10E|Rare|http://magiccards.info/scans/en/10e/236.jpg
Oracle:As an additional cost to cast Soulblast, sacrifice all creatures you control.\nSoulblast deals damage to target creature or player equal to the total power of the sacrificed creatures.
EndI think i've found and fixed the problem. Please try again.moomarc wrote:Just scripted Soulblast, but for some reason it deals twice the damage it's supposed to. Can anyone see the problem?