T
Tinkz
Guest
Hi!
I'm trying to change the mana value that a no vocation receives when he first logs into the game.
Right now when a new character is made and he log in, he has mana 5 which is incorrect. He should instead start with 0 mana.
@Znote
I'm trying to change the mana value that a no vocation receives when he first logs into the game.
Right now when a new character is made and he log in, he has mana 5 which is incorrect. He should instead start with 0 mana.
@Znote
PHP:
// Available character vocation users can create.
$config['available_vocations'] = array(0);
// Available towns (specify town ids, etc: (1, 2, 3); to display 3 town options (town id 1, 2 and 3).
$config['available_towns'] = array(11);
$config['player'] = array(
'base' => array(
'level' => 8,
'health' => 185,
'mana' => 40,
'cap' => 470,
'soul' => 100
),
// health, mana cap etc are calculated with $config['vocations_gain'] and 'base' values of $config['player']
'create' => array(
'level' => 1,
'novocation' => array( // vocation id 0 (No vocation) special settings
'level' => 1, // Level
'forceTown' => true,
'townId' => 11
),
'skills' => array( // See $config['vocations'] for proper vocation names of these IDs
// No vocation
0 => array(
'magic' => 0,
'fist' => 10,
'club' => 10,
'axe' => 10,
'sword' => 10,
'dist' => 10,
'shield' => 10,
'fishing' => 10,
),
// Sorcerer
1 => array(
'magic' => 0,
'fist' => 10,
'club' => 10,
'axe' => 10,
'sword' => 10,
'dist' => 10,
'shield' => 10,
'fishing' => 10,
),
// Druid
2 => array(
'magic' => 0,
'fist' => 10,
'club' => 10,
'axe' => 10,
'sword' => 10,
'dist' => 10,
'shield' => 10,
'fishing' => 10,
),
// Paladin
3 => array(
'magic' => 0,
'fist' => 10,
'club' => 10,
'axe' => 10,
'sword' => 10,
'dist' => 10,
'shield' => 10,
'fishing' => 10,
),
// Knight
4 => array(
'magic' => 0,
'fist' => 10,
'club' => 10,
'axe' => 10,
'sword' => 10,
'dist' => 10,
'shield' => 10,
'fishing' => 10,
),
),
'male_outfit' => array(
'id' => 128,
'head' => 78,
'body' => 68,
'legs' => 58,
'feet' => 76
),
'female_outfit' => array(
'id' => 136,
'head' => 78,
'body' => 68,
'legs' => 58,
'feet' => 76
)
)
);