mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
StaticAbilityContinuous > applyContinuousAbility() support "SetName"
This commit is contained in:
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user