mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Added the player keyword "Prevent all damage that would be dealt to you".
- Added Personal Sanctuary.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user