Re: Card Development Questions
Phyrexian Unlife combos well with Melira, Sylvok Outcast (Added recently to SVN)
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
Lich's Mirror has a replacement ability, not a triggered one (it starts with "if..." and not with "when..." or "as...").Iran wrote:Exists one Trigger that triggers when a I would lose the game? (Trying to script Lich's Mirror)
Not quite yet. Although the Attach structure has a fair amount of code in place for this, there's still a few more strings to tie up for it to actually work. I'll take a look this weekend and see if I can add it.Iran wrote:About auras that enchant player. Is possible to script them in forge?
Cards like Wheel of Sun and Moon, Paradox Haze and the new cards Curse of the innistrad will by possible to script.
Alright. I added support for this today. Lemme know if something seems weird with it.Iran wrote:About auras that enchant player. Is possible to script them in forge?
Cards like Wheel of Sun and Moon, Paradox Haze and the new cards Curse of the innistrad will by possible to script.
I am trying to script Curse of the Bloody Tome from the Innistrad set. To get the phase trigger to work, I need a way to tell which player is enchanted. I added supported for "EnchantedPlayer" to matchesValid in Trigger.java. Is there another way to do this without adding code? If not, I think I also need to add support for "EnchantedPlayer" to getDefinedPlayers.friarsol wrote:Alright. I added support for this today. Lemme know if something seems weird with it.Iran wrote:About auras that enchant player. Is possible to script them in forge?
Cards like Wheel of Sun and Moon, Paradox Haze and the new cards Curse of the innistrad will by possible to script.
It needs to be added. The only thing I did was enable support for Attaching to the Player, not interacting with the Attached player.ArsenalNut wrote:
I am trying to script Curse of the Bloody Tome from the Innistrad set. To get the phase trigger to work, I need a way to tell which player is enchanted. I added supported for "EnchantedPlayer" to matchesValid in Trigger.java. Is there another way to do this without adding code? If not, I think I also need to add support for "EnchantedPlayer" to getDefinedPlayers.
Any chance you could look at attachAuraOnIndirectEnterBattlefield? If this worked for player targets, I think I could script Bitterheart Witch.friarsol wrote:It needs to be added. The only thing I did was enable support for Attaching to the Player, not interacting with the Attached player.ArsenalNut wrote:
I am trying to script Curse of the Bloody Tome from the Innistrad set. To get the phase trigger to work, I need a way to tell which player is enchanted. I added supported for "EnchantedPlayer" to matchesValid in Trigger.java. Is there another way to do this without adding code? If not, I think I also need to add support for "EnchantedPlayer" to getDefinedPlayers.
Sure I'll take a look tonight. It looks the AI is mostly setup, so it's just about grabbing the right human choices before giving the dialog.ArsenalNut wrote:Any chance you could look at attachAuraOnIndirectEnterBattlefield? If this worked for player targets, I think I could script Bitterheart Witch.
Oh, it's truefriarsol wrote:Well, Wheel of Sun and Moon isn't a trigger. It's a replacement ability. We don't really have scripted replacement abilities.
Check out the java-coded Fireball. No way to script these just yet.Iran wrote:I see in forge not exists cards like Comet Storm, Conflagrate, Rock Slide, Magmatic Core, Meteor Shower, etc...
Cards that deals X damage divided as you choose among any number of target creatures (and/or players)
Exists any impediments to script then?
Thanks
Fireball is actually a different scenario since the number is divided evenly. (I think Fireball might be actually scriptable)jeffwadsworth wrote:Check out the java-coded Fireball. No way to script these just yet.Iran wrote:I see in forge not exists cards like Comet Storm, Conflagrate, Rock Slide, Magmatic Core, Meteor Shower, etc...
Cards that deals X damage divided as you choose among any number of target creatures (and/or players)
Exists any impediments to script then?
Thanks