mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fix a typo
This commit is contained in:
parent
988b64866c
commit
3e0a92fed8
2 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,6 @@ import mage.counters.CounterType;
|
||||||
import mage.filter.StaticFilters;
|
import mage.filter.StaticFilters;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.game.stack.Spell;
|
|
||||||
import mage.util.CardUtil;
|
import mage.util.CardUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -86,7 +85,7 @@ class AnimarCostReductionEffect extends CostModificationEffectImpl {
|
||||||
public boolean applies(Ability abilityToModify, Ability source, Game game) {
|
public boolean applies(Ability abilityToModify, Ability source, Game game) {
|
||||||
if (abilityToModify instanceof SpellAbility) {
|
if (abilityToModify instanceof SpellAbility) {
|
||||||
if (abilityToModify.isControlledBy(source.getControllerId())) {
|
if (abilityToModify.isControlledBy(source.getControllerId())) {
|
||||||
Card spell = ((SpellAbility) abilityToModify).getCharachteristics(game);
|
Card spell = ((SpellAbility) abilityToModify).getCharacteristics(game);
|
||||||
if (spell != null) {
|
if (spell != null) {
|
||||||
return spell.isCreature();
|
return spell.isCreature();
|
||||||
}
|
}
|
||||||
|
|
|
@ -212,7 +212,7 @@ public class SpellAbility extends ActivatedAbilityImpl {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Card getCharachteristics(Game game) {
|
public Card getCharacteristics(Game game) {
|
||||||
Spell spell = game.getSpell(this.getId());
|
Spell spell = game.getSpell(this.getId());
|
||||||
if (spell != null) {
|
if (spell != null) {
|
||||||
return spell;
|
return spell;
|
||||||
|
|
Loading…
Reference in a new issue