Fixed a bug in LockedInCondition that caused bugs in cards that used it (e.g. Goblin Bushwhacker).

This commit is contained in:
LevelX2 2013-08-11 16:03:58 +02:00
parent 1b8077841e
commit c9d18f0410
4 changed files with 6 additions and 3 deletions

View file

@ -52,7 +52,7 @@ public class LockedInCondition implements Condition {
@Override
public boolean apply(Game game, Ability source) {
if(!conditionChecked) {
result = !condition.apply(game, source);
result = condition.apply(game, source);
conditionChecked = true;
}
return result;

View file

@ -115,7 +115,7 @@ public class KickerAbility extends StaticAbility<KickerAbility> implements Optio
public KickerAbility(final KickerAbility ability) {
super(ability);
this.kickerCosts = ability.kickerCosts;
this.kickerCosts.addAll(ability.kickerCosts);
this.keywordText = ability.keywordText;
this.reminderText = ability.reminderText;
this.xManaValue = ability.xManaValue;