mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
some fixes
* set default skills to 10 when creating new character * fixed displaying of "Create forum thread" in newses * fixed deleting guild * fixed displaying vocation amount on online page * better support for custom vocations, you just need to set in config vocations_amount to yours.
This commit is contained in:
@@ -1106,6 +1106,9 @@ Please enter your account name and your password.<br/><a href="?subtopic=createa
|
||||
$player->setManaSpent($char_to_copy->getManaSpent());
|
||||
$player->setSoul($char_to_copy->getSoul());
|
||||
|
||||
for($skill = POT::SKILL_FIRST; $skill <= POT::SKILL_LAST; $skill++)
|
||||
$player->setSkill($skill, 10);
|
||||
|
||||
$player->setLookBody($char_to_copy->getLookBody());
|
||||
$player->setLookFeet($char_to_copy->getLookFeet());
|
||||
$player->setLookHead($char_to_copy->getLookHead());
|
||||
|
Reference in New Issue
Block a user