mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Fixed Phantom Nomad getting multiple counters removed from combat damage (only one counter is now removed from it for all the damage applied to it simultaneously).
This commit is contained in:
@@ -87,6 +87,17 @@ public class ReplaceDamage extends ReplacementEffect {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getMapParams().containsKey("IsNonCombat")) {
|
||||
if (getMapParams().get("IsNonCombat").equals("True")) {
|
||||
if (((Boolean) runParams.get("IsCombat"))) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!(Boolean) runParams.get("IsCombat")) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getMapParams().containsKey("IsEquipping") && !getHostCard().isEquipping()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user