Damage prevention shields with effects

r22321: I've just committed some code to allow damage prevention shields to have related effects for cards like Temper and Vengeful Archon (also these). I also added all the cards in that list except for the two modern/extended cards. Hopefully one of you guys can work out how to expand what I did to make those possible. Essentially it should be the difference between PreventDamage and PreventDamageAll, but I don't think PreventDamageAll is actually set up the way it should be. Currently it gives X damage prevention shields to all valid entities rather than one common one, thereby preventing more damage than it should. Probably need to add a "CommonShield" boolean to the shields, then if that shield is decreased, decrease it on all entities with that shield. Havent quite got it straight in my head yet which is why I haven't implemented.
Edit: I also have to add the two with delayed triggers but ran out of time.
Edit 2: I left the debug code in but disabled the boolean controlling it. Re-enable at ln891 in Player.java or ln7345 in Card.java for further testing or expansion.
Edit: I also have to add the two with delayed triggers but ran out of time.
Edit 2: I left the debug code in but disabled the boolean controlling it. Re-enable at ln891 in Player.java or ln7345 in Card.java for further testing or expansion.