It is currently 19 Sep 2019, 23:02
   
Text Size

As long as <card name> is untapped (or tapped) question

Moderators: TheElk801, BetaSteward, LevelX, North, noxx, JayDi, jeffwadsworth, CCGHQ Admins

As long as <card name> is untapped (or tapped) question

Postby MTGfan » 22 Nov 2016, 03:10

In looking at code to figure out how to code another card I encountered a few cards with as long as <card name> is untapped that don't use

Code: Select all
new SimpleStaticAbility(Zone, new ConditionalContinuousEffect(Effect, [b]new InvertCondition(new SourceTappedCondition()[/b])), String);
They are Archangel of Tithes, Static Orb, Storage Matrix, Thunderstaff. Should they be using this? If not I'd like to understand why they don't compared to other cards with same phrasing.

And I encountered a few cards with as long as <card name is tapped that done use

Code: Select all
new SimpleActivatedAbility(Zone, new ConditionalContinuousEffect(Effect, SourceTappedCondition.getInstance()), String);
They are Archangel of Tithes, Centaur Omenreader, Hisoka's Guard, Thran Weaponry. Should they be using this? If not I'd like to understand why they don't compared to other cards with same phrasing.


And I encountered Helm of Possession that doesn't use SourceTappedCondition.getInstance(). I believe by using CompoundCondition(String, Controller is equal to owner, SourceTappedCondition.getInstance()) rather than the custom class it is using to define the two conditions as long as you control and is tapped.

Let me know ya'll thoughts. Thanks.

EDIT: Please move to developer section as I meant to post this there.
MTGfan
 
Posts: 28
Joined: 25 Oct 2016, 03:39
Has thanked: 1 time
Been thanked: 0 time

Return to Developers Talk

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 1 guest

Login Form