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: { effects: {
type: event type: event
effect: { effect: {
type: duplicate type: repeat
amount: { amount: {
type: forEachYouCanSpot type: forEachYouCanSpot
filter: companion filter: companion
@@ -365,7 +365,7 @@
effects: { effects: {
type: event type: event
effect: { effect: {
type: duplicate type: repeat
amount: { amount: {
type: forEachYouCanSpot type: forEachYouCanSpot
filter: companion filter: companion

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -57,7 +57,7 @@ public class EffectAppenderFactory {
effectAppenderProducers.put("discardtopcardsfromdeck", new DiscardTopCardFromDeck()); effectAppenderProducers.put("discardtopcardsfromdeck", new DiscardTopCardFromDeck());
effectAppenderProducers.put("doesnotaddtoarcherytotal", new DoesNotAddToArcheryTotal()); effectAppenderProducers.put("doesnotaddtoarcherytotal", new DoesNotAddToArcheryTotal());
effectAppenderProducers.put("drawcards", new DrawCards()); effectAppenderProducers.put("drawcards", new DrawCards());
effectAppenderProducers.put("duplicate", new Duplicate()); effectAppenderProducers.put("repeat", new Repeat());
effectAppenderProducers.put("endphase", new EndPhase()); effectAppenderProducers.put("endphase", new EndPhase());
effectAppenderProducers.put("exert", new Exert()); effectAppenderProducers.put("exert", new Exert());
effectAppenderProducers.put("exhaust", new Exhaust()); 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 com.gempukku.lotro.logic.timing.Effect;
import org.json.simple.JSONObject; import org.json.simple.JSONObject;
public class Duplicate implements EffectAppenderProducer { public class Repeat implements EffectAppenderProducer {
@Override @Override
public EffectAppender createEffectAppender(JSONObject effectObject, CardGenerationEnvironment environment) throws InvalidCardDefinitionException { public EffectAppender createEffectAppender(JSONObject effectObject, CardGenerationEnvironment environment) throws InvalidCardDefinitionException {
FieldUtils.validateAllowedFields(effectObject, "amount", "effect"); FieldUtils.validateAllowedFields(effectObject, "amount", "effect");