fixes
This commit is contained in:
@@ -48,7 +48,12 @@ class CureInjury extends Magic
|
||||
{
|
||||
$this->target = $this->target == $_SESSION['uid'] ? User::getInstance() : User::getInstance($this->target);
|
||||
$this->login = $this->target->getLogin();
|
||||
return ($this->isVisible(User::getInstance(), $this->target) && $this->isNotDead(User::getInstance()) && $this->enoughMana(User::getInstance()) && $this->isNotInBattle(User::getInstance()));
|
||||
return (
|
||||
$this->isVisible(User::getInstance(), $this->target) &&
|
||||
$this->isNotDead(User::getInstance()) &&
|
||||
$this->enoughMana(User::getInstance()) &&
|
||||
$this->isNotInBattle(User::getInstance())
|
||||
);
|
||||
}
|
||||
|
||||
public static function cast($target, $type): self
|
||||
|
||||
Reference in New Issue
Block a user