Renamed behavior: duplicate -> repeat

This commit is contained in:
Christian 'ketura' McCarty
2022-08-17 18:58:59 -05:00
parent 294efcd80c
commit f8dfa55f8e
15 changed files with 17 additions and 17 deletions

View File

@@ -22,7 +22,7 @@
effects: {
type: event
effect: {
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: companion
@@ -365,7 +365,7 @@
effects: {
type: event
effect: {
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: companion

View File

@@ -983,7 +983,7 @@
filter: self
}
effect: {
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: companion

View File

@@ -1212,7 +1212,7 @@
phase: shadow
effect: [
{
type: duplicate
type: repeat
amount: 3
effect: {
type: playCardFromDiscard

View File

@@ -489,7 +489,7 @@
memorize: spottedElfCount
}
{
type: duplicate
type: repeat
amount: {
type: fromMemory
memory: spottedElfCount
@@ -728,7 +728,7 @@
phase: fellowship
effect: [
{
type: duplicate
type: repeat
amount: {
type: forEachVitality
filter: bearer

View File

@@ -108,7 +108,7 @@
filter: all(any)
}
{
type: duplicate
type: repeat
amount: {
type: forEachInHand
filter: side(shadow)

View File

@@ -506,7 +506,7 @@
phase: assignment
}
effect: {
type: duplicate
type: repeat
effect: {
type: heal
filter: choose(uruk-hai)

View File

@@ -64,7 +64,7 @@
filter: siteNumber(1-5),siteBlock(hobbit)
}
effect: {
type: duplicate
type: repeat
amount: {
type: twilightCostInMemory
memory: discardedFollower

View File

@@ -733,7 +733,7 @@
filter: self
}
effect: {
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: culture(dwarven),companion

View File

@@ -184,7 +184,7 @@
times: 2
}
effect: {
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: culture(dwarven),companion

View File

@@ -749,7 +749,7 @@
memorize: cardsInHand
}
{
type: duplicate
type: repeat
amount: {
type: forEachMatchingInMemory
memory: cardsInHand

View File

@@ -111,7 +111,7 @@
memorizeTransferred: transferredFollowers
}
{
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: follower,culture(dwarven),not(memory(transferredFollowers))

View File

@@ -41,7 +41,7 @@
filter: self
}
effect: {
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: companion

View File

@@ -404,7 +404,7 @@
filter: self
}
effect: {
type: duplicate
type: repeat
amount: {
type: forEachYouCanSpot
filter: companion

View File

@@ -57,7 +57,7 @@ public class EffectAppenderFactory {
effectAppenderProducers.put("discardtopcardsfromdeck", new DiscardTopCardFromDeck());
effectAppenderProducers.put("doesnotaddtoarcherytotal", new DoesNotAddToArcheryTotal());
effectAppenderProducers.put("drawcards", new DrawCards());
effectAppenderProducers.put("duplicate", new Duplicate());
effectAppenderProducers.put("repeat", new Repeat());
effectAppenderProducers.put("endphase", new EndPhase());
effectAppenderProducers.put("exert", new Exert());
effectAppenderProducers.put("exhaust", new Exhaust());

View File

@@ -14,7 +14,7 @@ import com.gempukku.lotro.logic.effects.StackActionEffect;
import com.gempukku.lotro.logic.timing.Effect;
import org.json.simple.JSONObject;
public class Duplicate implements EffectAppenderProducer {
public class Repeat implements EffectAppenderProducer {
@Override
public EffectAppender createEffectAppender(JSONObject effectObject, CardGenerationEnvironment environment) throws InvalidCardDefinitionException {
FieldUtils.validateAllowedFields(effectObject, "amount", "effect");