• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved [znote] custom vocations

fire_shock666

New Member
Joined
Jun 3, 2014
Messages
24
Reaction score
0
Location
Netherlands
Dear all,

i have a question about znote aac.
i use atm 1.5 the lastest version.
for my ot i'm gonna use an extra vocation and we changed some name`s.
at the moment i have a working site but when i edit and add the new vocations my website stop working.
do someone know how to edit this?
this is the normal list :
Code:
// Vocation ids and names.
    $config['vocations'] = array(
        0 => 'No vocation',
        1 => 'Sorcerer',
        2 => 'Druid',
        3 => 'Paladin',
        4 => 'Knight',
        5 => 'Master Sorcerer',
        6 => 'Elder Druid',
        7 => 'Royal Paladin',
        8 => 'Elite Knight',
    );

/* Vocation stat gains per level
        - Ordered by vocation ID
        - Currently used for admin_skills page. */
    $config['vocations_gain'] = array(
        0 => array(
            'hp' => 5,
            'mp' => 5,
            'cap' => 10
        ),
        1 => array(
            'hp' => 5,
            'mp' => 30,
            'cap' => 10
        ),
        2 => array(
            'hp' => 5,
            'mp' => 30,
            'cap' => 10
        ),
        3 => array(
            'hp' => 10,
            'mp' => 15,
            'cap' => 20
        ),
        4 => array(
            'hp' => 15,
            'mp' => 5,
            'cap' => 25
        ),
        5 => array(
            'hp' => 5,
            'mp' => 30,
            'cap' => 10
        ),
        6 => array(
            'hp' => 5,
            'mp' => 30,
            'cap' => 10
        ),
        7 => array(
            'hp' => 10,
            'mp' => 15,
            'cap' => 20
        ),
        8 => array(
            'hp' => 15,
            'mp' => 5,
            'cap' => 25
        ),
    );
some1 a clue?
 
I'm not home yet but I have some time...

After:
PHP:
8 => 'Elite Knight',
Add your new vocations.

Examples with "logic":
PHP:
Vocation ID#1 => 'New Vocation Name#1',
Vocation ID#2 => 'New Vocation Name#2',
Vocation ID#3 => 'New Vocation Name#3',

Real examples would be:
PHP:
9 => 'Priest',
10 => 'Mage',
11 => 'Warrior',

I'm sorry but I'll do the next part later.. This is absolutely terrible on my phone.
 
Back
Top