Reworked "Skirmish about to end" step

"Final Cry," "Loathsome," and "Sting, Bane of the Eight Legs" should be usable even if the skirmish is cancelled (per clarification on Loathsome). Added a check to allow Loathsome and Final Cry to work, even if the relevant shadow character is removed prior to the end of the skirmish
This commit is contained in:
PhallenCassidy
2018-03-10 22:45:01 -05:00
committed by GitHub
parent 07f53777ab
commit 8e6092b217

View File

@@ -45,12 +45,12 @@ public class SkirmishPhaseAction extends SystemQueueAction {
protected void doPlayEffect(LotroGame game) {
if (!game.getGameState().getSkirmish().isCancelled()) {
insertEffect(
new ResolveSkirmishEffect(),
new TriggeringResultEffect(new SkirmishAboutToEndResult(), "Skirmish about to end"));
new ResolveSkirmishEffect());
}
}
});
appendEffect(
new TriggeringResultEffect(null, new SkirmishAboutToEndResult(shadowCharacters), "Skirmish about to end"));
appendEffect(
new TriggeringResultEffect(null, new EndOfPhaseResult(Phase.SKIRMISH), "End of skirmish phase"));
appendEffect(