- "Uruk Spear" now correctly adds +2 strength to bearer.

- "Sharku's Warg" now correctly adds +5 strength, rather than just only +4.
- "Drawn to It's Power" no longer triggers for allies dying in skirmish, only companions.
This commit is contained in:
marcins78@gmail.com
2011-10-31 13:36:39 +00:00
parent 4998b3731d
commit 1040c81307
4 changed files with 22 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.actions.RequiredTriggerAction;
import com.gempukku.lotro.logic.timing.EffectResult;
import com.gempukku.lotro.logic.timing.results.KillResult;
import java.util.Collections;
import java.util.List;
@@ -31,10 +32,13 @@ public class Card1_211 extends AbstractPermanent {
if (effectResult.getType() == EffectResult.Type.KILL
&& game.getGameState().getSkirmish() != null
&& Filters.filter(game.getGameState().getSkirmish().getShadowCharacters(), game.getGameState(), game.getModifiersQuerying(), Filters.race(Race.NAZGUL)).size() > 0) {
RequiredTriggerAction action = new RequiredTriggerAction(self);
action.appendEffect(
new AddBurdenEffect(self, 1));
return Collections.singletonList(action);
KillResult killResult = (KillResult) effectResult;
if (Filters.filter(killResult.getKilledCards(), game.getGameState(), game.getModifiersQuerying(), CardType.COMPANION).size() > 0) {
RequiredTriggerAction action = new RequiredTriggerAction(self);
action.appendEffect(
new AddBurdenEffect(self, 1));
return Collections.singletonList(action);
}
}
return null;
}

View File

@@ -10,6 +10,8 @@ import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.actions.ActivateCardAction;
import com.gempukku.lotro.logic.modifiers.Modifier;
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
@@ -29,6 +31,12 @@ public class Card4_196 extends AbstractAttachable {
super(Side.SHADOW, CardType.POSSESSION, 1, Culture.ISENGARD, PossessionClass.HAND_WEAPON, "Uruk Spear");
}
@Override
public List<? extends Modifier> getAlwaysOnModifiers(LotroGame game, PhysicalCard self) {
return Collections.singletonList(
new StrengthModifier(self, Filters.hasAttached(self), 2));
}
@Override
protected Filter getValidTargetFilter(String playerId, LotroGame game, PhysicalCard self) {
return Filters.race(Race.URUK_HAI);

View File

@@ -46,7 +46,7 @@ public class Card5_059 extends AbstractAttachable {
public List<? extends Modifier> getAlwaysOnModifiers(LotroGame game, PhysicalCard self) {
List<Modifier> modifiers = new LinkedList<Modifier>();
modifiers.add(
new StrengthModifier(self, Filters.hasAttached(self), 4));
new StrengthModifier(self, Filters.hasAttached(self), 5));
modifiers.add(
new VitalityModifier(self, Filters.hasAttached(self), 3));
modifiers.add(

View File

@@ -1,4 +1,9 @@
<pre style="font-size:80%">
<b>31 Oct. 2011</b>
- "Uruk Spear" now correctly adds +2 strength to bearer.
- "Sharku's Warg" now correctly adds +5 strength, rather than just only +4.
- "Drawn to It's Power" no longer triggers for allies dying in skirmish, only companions.
<b>30 Oct. 2011</b>
- Added two new pseudo card types "Items" (Possessions and Artifacts) and "Characters" (Companions, Allies and Minions).