Page 1 of 1

Targeting Fix

PostPosted: 26 Jul 2012, 03:01
by friarsol
I have a potential fix for Targeting. Basically what I'm doing is recording the target card + its timestamp, if the card changes zone before the SA resolves the timestamp will be different and (should) fizzle. I've done some rudimentary testing with Cloudshift and targeted instants. This probably won't get committed till at least Friday, so if you have any specific ideas of what I should test feel free to post them.

During the fizzle check if a target is not timestamped as the one that was targeted, it will be removed from targets. Since this happens in the time of fizzling (just before spell resolution) I don't see any issues with this, but again if you can think of potential issue let me know.

I'm not sure how many SAs we have left that aren't using the Target object, but I won't really be able to handle the targeting appropriately for these. I took a quick look to see what uses SA.setTargetCard() and a bunch of these seem like they should be able to migrate over to Target objects (or possibly are already useless do to being scripted now).

Re: Targeting Fix

PostPosted: 26 Jul 2012, 05:43
by Sloth
Sounds good Sol. Should work. Thumbs up.