mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Dinosaur Hunter - Fixed wrong var name.
This commit is contained in:
parent
0885ed4058
commit
537f7dd1ae
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ class DinosaurHunterAbility extends TriggeredAbilityImpl {
|
||||||
public boolean checkTrigger(GameEvent event, Game game) {
|
public boolean checkTrigger(GameEvent event, Game game) {
|
||||||
if (event.getSourceId().equals(getSourceId())) {
|
if (event.getSourceId().equals(getSourceId())) {
|
||||||
Permanent targetPermanent = game.getPermanentOrLKIBattlefield(event.getTargetId());
|
Permanent targetPermanent = game.getPermanentOrLKIBattlefield(event.getTargetId());
|
||||||
if (targetPermanet.hasSubtype(SubType.DINOSAUR, game)) {
|
if (targetPermanent.hasSubtype(SubType.DINOSAUR, game)) {
|
||||||
getEffects().setTargetPointer(new FixedTarget(targetPermanet, game));
|
getEffects().setTargetPointer(new FixedTarget(targetPermanent, game));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue