Re: Card Contributions
Posted: 22 May 2016, 01:54
@muppet Great job! Thanks for the card submissions
Duskwatch Recruiter is similar to Collected Company so it can be implemented with MagicFromCardListChoice as well.
"Choose two" is not supported.
"When transforms" can be implemented with BecomesStateTrigger, eg see https://github.com/magarena/magarena/bl ... igger.java
Loam Dryad is not supported as mana activation cost cannot have a choice.
Thanks! Included in next release with a small tweak, so that the transform occurs before untap. The original submission had untap first.muppet wrote:Submitted Westvale Abbey, Ormendahl.
Included Sylvan Advocate, nice work with finding a script only solution without groovy. Declaration in Stone and Collected Company are doable with groovy code. Collected Company will need to use the MagicFromCardListChoice to select up to two creature. Putting cards in any order has never been allowed, cards will go to the bottom in the same order they were taken from the top.muppet wrote:Submitted Sylvan Advocate. Can't do Declaration in Stone. I think the engine can't do Collected Company.
Looks good, thanks! This is a pretty complicated one. I've removed the extra variable, it doesn't slow the game down but it may be confusing to someone reading the groovy.muppet wrote:Gideon, Ally of Zendikar. Works fine has one extra variable it doesn't need so might need to be removed if this slows the game down much.
The engine could do Transfress the Mind, the issue is that the AI doesn't know how to utilize reveal opponent's hand so we choose not to add such cards.muppet wrote:engine won't do Transgress the Mind or Duskwatch Recruiter or Domoka's Command. I failed at Avacyn, and Loam Dryad.
Duskwatch Recruiter is similar to Collected Company so it can be implemented with MagicFromCardListChoice as well.
"Choose two" is not supported.
"When transforms" can be implemented with BecomesStateTrigger, eg see https://github.com/magarena/magarena/bl ... igger.java
Loam Dryad is not supported as mana activation cost cannot have a choice.
Yes, use the BecomesStateTrigger and check that state == MagicPermanentState.Transformedmuppet wrote:Almost got Thing in the Ice working. Is there a way to do things like when this transforms do x? That was a problem with avacyn too?
- Code: Select all
new BecomesStateTrigger() {
@Override
public boolean accept(final MagicPermanent permanent, final ChangeStateAction data) {
return data.state == MagicPermanentState.Transformed;
}
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final ChangeStateAction data) {
//return event of trigger
}
}