dev #41
@ -52,7 +52,7 @@ class CureInjury extends Magic
|
|||||||
} else {
|
} else {
|
||||||
$this->target = new User($this->target);
|
$this->target = new User($this->target);
|
||||||
}
|
}
|
||||||
$this->login = $this->target->login;
|
$this->login = $this->target->getLogin();
|
||||||
return ($this->isVisible($caster, $this->target) && $this->isNotDead($caster) && $this->enoughMana($caster) && $this->isNotInBattle($caster));
|
return ($this->isVisible($caster, $this->target) && $this->isNotDead($caster) && $this->enoughMana($caster) && $this->isNotInBattle($caster));
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user