- "Saruman, Rabble Rouser" now properly exerts itself for the ability.

This commit is contained in:
marcins78@gmail.com
2011-10-24 19:31:49 +00:00
parent 749ccaeb13
commit 27276e2d95
3 changed files with 24 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ package com.gempukku.lotro.cards.set4.dunland;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.AddUntilEndOfPhaseModifierEffect;
import com.gempukku.lotro.cards.effects.ExertCharactersEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
import com.gempukku.lotro.cards.modifiers.CantBeAssignedToSkirmishModifier;
import com.gempukku.lotro.cards.modifiers.StrengthModifier;
@@ -75,6 +76,8 @@ public class Card4_033 extends AbstractMinion {
if (PlayConditions.canUseShadowCardDuringPhase(game.getGameState(), Phase.SKIRMISH, self, 0)
&& PlayConditions.canExert(self, game.getGameState(), game.getModifiersQuerying(), self)) {
final ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new ExertCharactersEffect(self, self));
action.appendEffect(
new ChooseActiveCardEffect(self, playerId, "Choose DUNLAND Man", Filters.culture(Culture.DUNLAND), Filters.race(Race.MAN)) {
@Override

View File

@@ -6,6 +6,7 @@
- "Ulaire Enquea" from Mines of Moria now correctly exerts itself when using the triggered ability.
- "Hillman Tribe" now correctly tries to spot DUNLAND minion, rather than DUNLAND Man when trying to take control of
a site.
- "Saruman, Rabble Rouser" now properly exerts itself for the ability.
<b>23 Oct. 2011</b>
- "Hornburg Causeway" now adds +2 to archery for each unbound companion over 3, instead of +1.

View File

@@ -285,13 +285,21 @@ var GempLotrDeckBuildingUI = Class.extend({
};
this.infoDialog.swipe(swipeOptions);
this.comm.getDeck("Default", function(xml) {
that.setupDeck(xml);
this.comm.getDecks(function(xml) {
that.setupDeckList(xml);
});
this.getCollection();
// this.comm.getDeck("Default", function(xml) {
// that.setupDeck(xml);
// });
this.checkDeckStatsDirty();
},
setupDeckList: function(xml) {
},
displayCardInfo: function(card) {
this.infoDialog.html("<div style='scroll: auto'><img src='" + card.imageUrl + "'></div>");
this.infoDialog.dialog("open");
@@ -487,6 +495,16 @@ var GempLotrDeckBuildingUI = Class.extend({
});
},
clearDeck: function() {
this.ringBearerDiv.html("");
this.ringDiv.html("");
for (var i = 0; i < 9; i++)
this.siteDivs[i].html("");
this.drawDeckDiv.html("");
this.layoutUI();
},
setupDeck: function(xml) {
var root = xml.documentElement;
if (root.tagName == "deck") {