mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Merge branch 'playerProtection' into 'master'
Player: fixed Protection from everything See merge request core-developers/forge!660
This commit is contained in:
@@ -1181,6 +1181,8 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
if (source.isValid(characteristics, this, null, null)) {
|
if (source.isValid(characteristics, this, null, null)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
} else if (kw.equals("Protection from everything")) {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
final boolean colorlessDamage = damageSource && source.hasKeyword("Colorless Damage Source");
|
final boolean colorlessDamage = damageSource && source.hasKeyword("Colorless Damage Source");
|
||||||
|
|||||||
Reference in New Issue
Block a user