• 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!

Vocation quest chest.

Wasted15

New Member
Joined
Aug 15, 2009
Messages
32
Reaction score
0
Hi I was wondering if it was possible to make a chest at the end of the quest that give u an items depending on your vocation. Like if your a knight u get a sword, or if you are a sorcerer you get a wand etc.. If it is can you make it for me or link me to one because I could not find one. Thank you
 
#scripter5#
You forget about vocations with promotion (5 - 8).

#EDIT#
So change yours table to this:
Code:
local add_item = {
[1] = {8867},
[2] = {7884},
[3] = {8872},
[4] = {2476},
[5] = {8867},
[6] = {7884},
[7] = {8872},
[8] = {2476}
}

If you want the same items for promoted use this:
Code:
local voc = (getPlayerVocation(cid) > 4 and (getPlayerVocation(cid)-4) or getPlayerVocation(cid))


If not just add it like hellboy..
 
Back
Top