Yaboihunna
New Member
- Joined
- Mar 27, 2019
- Messages
- 136
- Reaction score
- 3
how can i make instead of choosing vocation druid for instance choose elder druid in website??
// Vocation IDs, names and which vocation ID they got promoted from
$config['vocations'] = array(
0 => array(
'name' => 'No vocation',
'fromVoc' => false
),
1 => array(
'name' => 'Sorcerer',
'fromVoc' => false
),
2 => array(
'name' => 'Druid',
'fromVoc' => false
),
3 => array(
'name' => 'Paladin',
'fromVoc' => false
),
4 => array(
'name' => 'Knight',
'fromVoc' => false
),
5 => array(
'name' => 'Master Sorcerer',
'fromVoc' => 1
),
6 => array(...
// Vocation IDs, names and which vocation ID they got promoted from
$config['vocations'] = array(
0 => array(
'name' => 'No vocation',
'fromVoc' => false
),
1 => array(
'name' => 'Sorcerer',
'fromVoc' => false
),
2 => array(
'name' => 'Druid',
'fromVoc' => false
),
3 => array(
'name' => 'Paladin',
'fromVoc' => false
),
4 => array(
'name' => 'Knight',
'fromVoc' => false
),
5 => array(
'name' => 'Master Sorcerer',
'fromVoc' => 1
),
6 => array(
'name' => 'Elder Druid',
'fromVoc' => 2
),
7 => array(
'name' => 'Royal Paladin',
'fromVoc' => 3
),
8 => array(
'name' => 'Elite Knight',
'fromVoc' => 4
)
);
// ---------------- \\
// Create Character \\
// ---------------- \\
// Max characters on each account:
$config['max_characters'] = 7;
// Available character vocation users can create.
$config['available_vocations'] = array(1, 2, 3, 4);
// Available towns (specify town ids, etc: (1, 2, 3); to display 3 town options (town id 1, 2 and 3).
$config['available_towns'] = array(1, 2, 4, 5);
$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' => 8,
'novocation' => array( // vocation id 0 (No vocation) special settings
'level' => 1, // Level
'forceTown' => true,
'townId' => 30
),
'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
)
)
);
// Minimum allowed character name letters. Etc 4 letters: "Kåre".
$config['minL'] = 3;
// Maximum allowed character name letters. Etc 20 letters: "Bobkåreolesofiesberg"
$config['maxL'] = 20;
// Maximum allowed character name words. Etc 2 words = "Bob Kåre", 3 words: "Bob Arne Kåre" as max char name words.
$config['maxW'] = 3;
// Available character vocation users can create.
$config['available_vocations'] = array(1, 2, 3, 4);