Re: Issue 113 Converting Hardcoded Cards to AFs/Trigger
I'm pondering a more generalized system for getting at the triggering objects.
The reason DamageDone doesn't work with Triggered right now is because ATM, the trigger classes can only return one thing as Triggered. And does DamageDone return the target or the source of the damage?
EDIT:Not so much pondering as attempting to implement now. Once I wrangle this new code into submission you will be able to access triggermode specific parameters. For example "TriggeredSource" can be used with a DamageDone trigger to get the card that is the source of the damage (And vice versa with the accompanying "TriggeredTarget".Note that Target and Source are specific to DamageDone). You can get the controller or owner of the cards simply by appending Controller or Owner to the parameter name.
EDIT2: One drawback I'm seeing now is that some cards will require two different abilities to trigger where we got away with one before. Worth it? I think so.
The reason DamageDone doesn't work with Triggered right now is because ATM, the trigger classes can only return one thing as Triggered. And does DamageDone return the target or the source of the damage?
EDIT:Not so much pondering as attempting to implement now. Once I wrangle this new code into submission you will be able to access triggermode specific parameters. For example "TriggeredSource" can be used with a DamageDone trigger to get the card that is the source of the damage (And vice versa with the accompanying "TriggeredTarget".Note that Target and Source are specific to DamageDone). You can get the controller or owner of the cards simply by appending Controller or Owner to the parameter name.
EDIT2: One drawback I'm seeing now is that some cards will require two different abilities to trigger where we got away with one before. Worth it? I think so.