Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk



Help With Amrou Seekers
Moderator: CCGHQ Admins
2 posts
• Page 1 of 1
Help With Amrou Seekers
by SweetestLamb » 06 Jul 2014, 14:54
I'm trying to code Amrou Seekers and I was wondering how to implement the "White Fear" ability. I searched all over and couldn't find anything similar. All of the cards I've found have just fear or some other characteristic that is in the game by default.
- SweetestLamb
- Posts: 10
- Joined: 06 Jul 2014, 14:43
- Has thanked: 1 time
- Been thanked: 0 time
Re: Help With Amrou Seekers
by thefiremind » 06 Jul 2014, 15:21
Well, there is something similar, but I know how to search for it only because I know the name of the trigger in DotP, so don't feel frustrated because you didn't find it. 
viewtopic.php?f=109&t=11010&p=125840#p125840
For Amrou Seekers, the evasion test must be positive when the attacker (TriggerObject) is Amrou Seekers themselves and the defender (SecondaryObject) is neither white nor an artifact, so:

viewtopic.php?f=109&t=11010&p=125840#p125840
For Amrou Seekers, the evasion test must be positive when the attacker (TriggerObject) is Amrou Seekers themselves and the defender (SecondaryObject) is neither white nor an artifact, so:
- Code: Select all
<TRIGGERED_ABILITY replacement_effect="1">
-- Localised text omitted
<TRIGGER value="EVASION_TEST" simple_qualifier="self" pre_trigger="1">
return SecondaryObject():GetCardType():Test(CARD_TYPE_ARTIFACT) == false and
SecondaryObject():GetColour():Test(COLOUR_WHITE) == false
</TRIGGER>
</TRIGGERED_ABILITY>
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests