Renamed behavior: duplicate -> repeat
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -983,7 +983,7 @@
|
||||
filter: self
|
||||
}
|
||||
effect: {
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachYouCanSpot
|
||||
filter: companion
|
||||
|
||||
@@ -1212,7 +1212,7 @@
|
||||
phase: shadow
|
||||
effect: [
|
||||
{
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: 3
|
||||
effect: {
|
||||
type: playCardFromDiscard
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
filter: all(any)
|
||||
}
|
||||
{
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachInHand
|
||||
filter: side(shadow)
|
||||
|
||||
@@ -506,7 +506,7 @@
|
||||
phase: assignment
|
||||
}
|
||||
effect: {
|
||||
type: duplicate
|
||||
type: repeat
|
||||
effect: {
|
||||
type: heal
|
||||
filter: choose(uruk-hai)
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
filter: siteNumber(1-5),siteBlock(hobbit)
|
||||
}
|
||||
effect: {
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: twilightCostInMemory
|
||||
memory: discardedFollower
|
||||
|
||||
@@ -733,7 +733,7 @@
|
||||
filter: self
|
||||
}
|
||||
effect: {
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachYouCanSpot
|
||||
filter: culture(dwarven),companion
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
times: 2
|
||||
}
|
||||
effect: {
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachYouCanSpot
|
||||
filter: culture(dwarven),companion
|
||||
|
||||
@@ -749,7 +749,7 @@
|
||||
memorize: cardsInHand
|
||||
}
|
||||
{
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachMatchingInMemory
|
||||
memory: cardsInHand
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
memorizeTransferred: transferredFollowers
|
||||
}
|
||||
{
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachYouCanSpot
|
||||
filter: follower,culture(dwarven),not(memory(transferredFollowers))
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
filter: self
|
||||
}
|
||||
effect: {
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachYouCanSpot
|
||||
filter: companion
|
||||
|
||||
@@ -404,7 +404,7 @@
|
||||
filter: self
|
||||
}
|
||||
effect: {
|
||||
type: duplicate
|
||||
type: repeat
|
||||
amount: {
|
||||
type: forEachYouCanSpot
|
||||
filter: companion
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -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");
|
||||
Reference in New Issue
Block a user