mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Merge branch 'master' into 'master'
STX cards + Abundant Harvest See merge request core-developers/forge!4285
This commit is contained in:
@@ -225,9 +225,11 @@ public class PlayerProperty {
|
||||
if (source.getChosenPlayer() == null || !source.getChosenPlayer().equals(player)) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("LifeEquals_")) {
|
||||
int life = AbilityUtils.calculateAmount(source, property.substring(11), null);
|
||||
if (player.getLife() != life) {
|
||||
} else if (property.startsWith("life")) {
|
||||
int life = player.getLife();
|
||||
int amount = AbilityUtils.calculateAmount(source, property.substring(6), spellAbility);
|
||||
|
||||
if (!Expressions.compare(life, property, amount)) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("IsPoisoned")) {
|
||||
|
||||
Reference in New Issue
Block a user