Renamed behavior: duplicate -> repeat
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -983,7 +983,7 @@
|
|||||||
filter: self
|
filter: self
|
||||||
}
|
}
|
||||||
effect: {
|
effect: {
|
||||||
type: duplicate
|
type: repeat
|
||||||
amount: {
|
amount: {
|
||||||
type: forEachYouCanSpot
|
type: forEachYouCanSpot
|
||||||
filter: companion
|
filter: companion
|
||||||
|
|||||||
@@ -1212,7 +1212,7 @@
|
|||||||
phase: shadow
|
phase: shadow
|
||||||
effect: [
|
effect: [
|
||||||
{
|
{
|
||||||
type: duplicate
|
type: repeat
|
||||||
amount: 3
|
amount: 3
|
||||||
effect: {
|
effect: {
|
||||||
type: playCardFromDiscard
|
type: playCardFromDiscard
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -749,7 +749,7 @@
|
|||||||
memorize: cardsInHand
|
memorize: cardsInHand
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type: duplicate
|
type: repeat
|
||||||
amount: {
|
amount: {
|
||||||
type: forEachMatchingInMemory
|
type: forEachMatchingInMemory
|
||||||
memory: cardsInHand
|
memory: cardsInHand
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
filter: self
|
filter: self
|
||||||
}
|
}
|
||||||
effect: {
|
effect: {
|
||||||
type: duplicate
|
type: repeat
|
||||||
amount: {
|
amount: {
|
||||||
type: forEachYouCanSpot
|
type: forEachYouCanSpot
|
||||||
filter: companion
|
filter: companion
|
||||||
|
|||||||
@@ -404,7 +404,7 @@
|
|||||||
filter: self
|
filter: self
|
||||||
}
|
}
|
||||||
effect: {
|
effect: {
|
||||||
type: duplicate
|
type: repeat
|
||||||
amount: {
|
amount: {
|
||||||
type: forEachYouCanSpot
|
type: forEachYouCanSpot
|
||||||
filter: companion
|
filter: companion
|
||||||
|
|||||||
@@ -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());
|
||||||
|
|||||||
@@ -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");
|
||||||
Reference in New Issue
Block a user