NeoAnderson wrote:Hey guys i would ask you an help, not a complete card just a suggestion how to implement this effect:
"If a source you control is going to deal damage it will deal this damage as Red Source."
My intention is not to change permanently the cards colors, and i need this will work also for not permanent cards.
I can only think about what I did for
Phyrexian Unlife in DotP2013, but in that card I was substituting the original damage with a new issue of it, which was safe to do in DotP2013, while in DotP2014 you can't set damage as combat or unpreventable and this would mean losing any of those 2 characteristics if you do that. I have an idea for a workaround, but I don't know if it works. Test this code (maybe dealing damage to a creature with protection from red) and let me know.
- Code: Select all
<TRIGGERED_ABILITY replacement_effect="1">
<TRIGGER value="SOURCE_DEALS_DAMAGE" simple_qualifier="objectyoucontrol" pre_trigger="1" />
<RESOLUTION_TIME_ACTION>
if TriggerObject() ~= nil then
TriggerObject():GetCurrentCharacteristics():Colour_Set(COLOUR_RED)
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
If you change a characteristic in a RESOLUTION_TIME_ACTION it should last only until state-based effects are checked (the smallest chunk of time we can have in DotP). So, if my idea works, the source will become red, deal the damage, then turn back to its original color(s), without the players even noticing it.