- Added the player keyword "Prevent all damage that would be dealt to you".

- Added Personal Sanctuary.
This commit is contained in:
Sloth
2011-09-25 11:22:40 +00:00
parent 063ea05f16
commit 5ce48e46ec
3 changed files with 15 additions and 0 deletions

View File

@@ -403,6 +403,10 @@ public abstract class Player extends GameEntity {
if (source.hasKeyword("Prevent all damage that would be dealt to and dealt by CARDNAME.")) return 0;
if (source.hasKeyword("Prevent all damage that would be dealt by CARDNAME.")) return 0;
if (AllZoneUtil.isCardInPlay("Purity", this) && !isCombat) return 0;
if (hasKeyword("Prevent all damage that would be dealt to you")) {
return 0;
}
//stPreventDamage
CardList allp = AllZoneUtil.getCardsIn(Zone.Battlefield);