mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
StaticAbilityContinuous: Player now can get StaticAblilities
This commit is contained in:
@@ -399,6 +399,15 @@ public final class StaticAbilityContinuous {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// add static abilities
|
||||||
|
if (addStatics != null) {
|
||||||
|
for (String s : addStatics) {
|
||||||
|
StaticAbility stat = p.addStaticAbility(hostCard, s);
|
||||||
|
stat.setTemporary(true);
|
||||||
|
stat.setIntrinsic(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (layer == StaticAbilityLayer.RULES) {
|
if (layer == StaticAbilityLayer.RULES) {
|
||||||
if (params.containsKey("SetMaxHandSize")) {
|
if (params.containsKey("SetMaxHandSize")) {
|
||||||
String mhs = params.get("SetMaxHandSize");
|
String mhs = params.get("SetMaxHandSize");
|
||||||
|
|||||||
Reference in New Issue
Block a user