This commit is contained in:
@@ -43,6 +43,7 @@ public class Card6_051 extends AbstractAttachableFPPossession {
|
||||
public List<OptionalTriggerAction> getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
|
||||
if (PlayConditions.winsSkirmish(effectResult, self.getAttachedTo())) {
|
||||
OptionalTriggerAction action = new OptionalTriggerAction(self);
|
||||
action.setText("Heal another GONDOR companion");
|
||||
action.appendEffect(
|
||||
new ChooseAndHealCharactersEffect(action, playerId, Culture.GONDOR, CardType.COMPANION));
|
||||
return Collections.singletonList(action);
|
||||
@@ -55,6 +56,7 @@ public class Card6_051 extends AbstractAttachableFPPossession {
|
||||
if (PlayConditions.winsSkirmish(effectResult, self.getAttachedTo())
|
||||
&& PlayConditions.canSelfDiscard(self, game)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.setText("Discard to liberate a site");
|
||||
action.appendCost(
|
||||
new DiscardCardsFromPlayEffect(self, self));
|
||||
action.appendEffect(
|
||||
|
||||
@@ -119,6 +119,11 @@ public class LotroGameMediator {
|
||||
sb.append("<br><b>Vitality:</b> " + vitality);
|
||||
} catch (UnsupportedOperationException exp) {
|
||||
}
|
||||
try {
|
||||
int siteNumber = _lotroGame.getModifiersQuerying().getMinionSiteNumber(_lotroGame.getGameState(), card);
|
||||
sb.append("<br><b>Site number:</b> " + siteNumber);
|
||||
} catch (UnsupportedOperationException exp) {
|
||||
}
|
||||
|
||||
StringBuilder keywords = new StringBuilder();
|
||||
for (Keyword keyword : Keyword.values()) {
|
||||
|
||||
Reference in New Issue
Block a user