Wouldn't you just use oCard:GetCurrentCharacteristics():SuperType_GetWritable():Add(SUPERTYPE_LEGENDARY)?
Splinterverse wrote:Outwit - Is there a way to check if a spell on the stack is targeting a player?
There is, but it's not very friendly. Essentially you have a trigger to catch when an object targets a player, store off the object reference, then allow targeting of that reference while it is on the stack.
Splinterverse wrote:Rings of Brighthearth - not sure if there is a trigger for this or if it can distinguish between mana abilities and non-mana abilities.
I think you have a more fundamental problem. How will you copy the ability and/or change the targets?
Either a generic token or a token for each and every type. It's not particularly difficult to specify a type in either an ObjectDC chest or the DuelDataChest() then when the token enters the battlefield gets the type it needs from the chest sets it locally and assigns it to itself. Same can be done with P/T.
If you give cards with Flashback a custom characteristic, then yes.
Splinterverse wrote:Season of the Witch -- is checking for tapped/untapped and Defender sufficient here? I'm thinking that there are spells that prevent creatures from attacking and I'm not sure how to make this card aware of that. Maybe, since this happens at the end step, it could check for the can't attack characteristic?
No, because a creature could attack then become untapped, or it could have
Vigilance.
Splinterverse wrote:Siege Behemoth - "as though it weren't blocked" damage assignment. Maybe approximate-able with a "deals no combat damage", but I'm not sure how the assignment of all the damage would happen since the number of creatures could be different every time.
If you approximate this you would need to make sure the damage dealt is considered "Combat" damage for ability interaction, though making it work with approximated Planeswalkers would probably be extremely complex. Assigning damage would be done on a per attacking creature basis so you would either use a repeating RTA or a filtered RTAs (depending on which works better with queries).
Splinterverse wrote:Skullcrack - Preventing damage prevention?
You may not be able to handle that effect right.
Splinterverse wrote:Spiny Starfish - The rulings state that the tokens are based on the times it actually regenerated NOT how many times regeneration was applied. Is there a way to track how many times it regenerated?
I don't think so, I believe that is buried in the engine itself.
Splinterverse wrote:Stabilizer - I don't think there's a way to track cycling. Am I correct?
You may not be able to track cycling, but you could rewrite cycling to first check for a flag to make sure cycling is allowed before cards cycle. Though it requires changing all flags that cycle.
Splinterverse wrote:Street Savvy - Any way to block landwalk creatures as though they didn't have that ability with just this creature?
No.
Splinterverse wrote:Tromokratis - seems like blocking restriction, but I'm not sure.
It is a blocking restriction, but it may not be possible to code that specific restriction. It may need engine support.
Splinterverse wrote:Tsabo's Web - is there a way to detect whether a land has an activated ability that is not mana-producing?
Sure, change all lands with Activated abilities that aren't mana producing to have a custom characteristic and check that.
Splinterverse wrote:Vassal's Duty - can we detect which creatures are legendary?
Yes, use Test() on the Type object which you can get from oCard:GetSuperType().
Splinterverse wrote:Ydwen Efreet - "become unblocked" is that possible?
Not that I am aware of.