StaticAbilityContinuous > applyContinuousAbility() support "SetName"

This commit is contained in:
Northmoc
2022-04-15 20:19:14 -04:00
parent 97f464952e
commit 4564db51c1

View File

@@ -675,6 +675,10 @@ public final class StaticAbilityContinuous {
if (stAb.hasParam("AddNames")) { // currently only for AllNonLegendaryCreatureNames if (stAb.hasParam("AddNames")) { // currently only for AllNonLegendaryCreatureNames
affectedCard.addChangedName(null, true, se.getTimestamp(), stAb.getId()); affectedCard.addChangedName(null, true, se.getTimestamp(), stAb.getId());
} }
if (stAb.hasParam("SetName")) {
affectedCard.addChangedName(stAb.getParam("SetName"), false,
se.getTimestamp(), stAb.getId());
}
// Change color words // Change color words
if (params.containsKey("ChangeColorWordsTo")) { if (params.containsKey("ChangeColorWordsTo")) {