It is currently 01 Sep 2025, 06:52
   
Text Size

Help With Amrou Seekers

Moderator: CCGHQ Admins

Help With Amrou Seekers

Postby 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

Postby 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. :wink:
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>
The simple_qualifier="self" attribute is used as an abbreviation for the TriggerObject() == EffectSource() condition.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times


Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 8 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 8 guests

Login Form