mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
Fixed a bug in LockedInCondition that caused bugs in cards that used it (e.g. Goblin Bushwhacker).
This commit is contained in:
parent
1b8077841e
commit
c9d18f0410
4 changed files with 6 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue