Removing heal effect after trigger.
This commit is contained in:
@@ -9,7 +9,6 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.GameUtils;
|
||||
import com.gempukku.lotro.logic.modifiers.ModifiersQuerying;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.results.HealResult;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@@ -58,8 +57,6 @@ public class HealCharactersEffect extends AbstractPreventableCardEffect {
|
||||
for (PhysicalCard cardToHeal : cardsToHeal) {
|
||||
game.getGameState().removeWound(cardToHeal);
|
||||
}
|
||||
|
||||
game.getActionsEnvironment().emitEffectResult(new HealResult(cardsToHeal));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,9 +2,12 @@ package com.gempukku.lotro.logic.timing;
|
||||
|
||||
public abstract class EffectResult {
|
||||
public enum Type {
|
||||
// Translated to new format
|
||||
ANY_NUMBER_KILLED, FOR_EACH_KILLED,
|
||||
FOR_EACH_WOUNDED,
|
||||
|
||||
FOR_EACH_WOUNDED, HEAL, EXERT, DISCARD_FROM_PLAY, DISCARD_FROM_HAND,
|
||||
// Old format
|
||||
EXERT, DISCARD_FROM_PLAY, DISCARD_FROM_HAND,
|
||||
|
||||
FREE_PEOPLE_PLAYER_STARTS_ASSIGNING,
|
||||
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.gempukku.lotro.logic.timing.results;
|
||||
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
public class HealResult extends EffectResult {
|
||||
private Collection<PhysicalCard> _cards;
|
||||
|
||||
public HealResult(Collection<PhysicalCard> cards) {
|
||||
super(Type.HEAL);
|
||||
_cards = cards;
|
||||
}
|
||||
|
||||
public Collection<PhysicalCard> getCards() {
|
||||
return _cards;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user