mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Reorganized Conditions of static abilities (WIP).
This commit is contained in:
@@ -504,17 +504,17 @@ public class StaticAbility {
|
||||
|| controller.getColoredCardsInPlay(Constant.Color.WHITE).isEmpty())) {
|
||||
return false;
|
||||
}
|
||||
} else if (params.get("Condition").equals("FatefulHour")) {
|
||||
if (controller.getLife() > 5) {
|
||||
return false;
|
||||
}
|
||||
} else if (params.get("Condition").equals("Threshold")) {
|
||||
if (!controller.hasThreshold()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (this.params.containsKey("FatefulHour") && controller.getLife() > 5) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.params.containsKey("Threshold") && !controller.hasThreshold()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.params.containsKey("Hellbent") && !controller.hasHellbent()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user