public static function createHuman(Dog_User $user) { $data = self::applyStartData(self::getPlayerData($user->getID(), $user->getSID())); $data['sr4pl_name'] = $user->getName(); $human = new self($data); if (false === $human->insert()) { return false; } $human = self::reloadPlayer($human); // $human->setVar('sr4pl_uid', $user); $human->healHP(10000); $human->healMP(10000); $party = SR_Party::createParty(); $party->addUser($human); $party->pushAction('outside', 'Redmond'); return $human; }