mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Merge branch 'patch-5' into 'master'
Update StaticAbilityContinuous: for Gain Abilities, only set OriginalHost if it wasn't already set See merge request core-developers/forge!2437
This commit is contained in:
@@ -589,7 +589,9 @@ public final class StaticAbilityContinuous {
|
|||||||
newSA.setRestrictions(sa.getRestrictions());
|
newSA.setRestrictions(sa.getRestrictions());
|
||||||
newSA.getRestrictions().setLimitToCheck(params.get("GainsAbilitiesLimitPerTurn"));
|
newSA.getRestrictions().setLimitToCheck(params.get("GainsAbilitiesLimitPerTurn"));
|
||||||
}
|
}
|
||||||
newSA.setOriginalHost(c);
|
if (newSA.getOriginalHost() == null) {
|
||||||
|
newSA.setOriginalHost(c);
|
||||||
|
}
|
||||||
newSA.setOriginalAbility(sa); // need to be set to get the Once Per turn Clause correct
|
newSA.setOriginalAbility(sa); // need to be set to get the Once Per turn Clause correct
|
||||||
newSA.setGrantorStatic(stAb);
|
newSA.setGrantorStatic(stAb);
|
||||||
newSA.setIntrinsic(false);
|
newSA.setIntrinsic(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user