• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Item rewards for diffrent vocations

vingo

Active Member
Joined
Oct 27, 2012
Messages
464
Reaction score
43
As the title says im asking for something that would give knights like:


Fire sword, Knight axe, Skull staff at level 35

Hailstorm rod at lvl 33 for druids

wand of inferno at lvl 33 for sorcerers


is this possible? thanks
 
Hopefully this works, pretty sure it will. If not tell me, not totally sure if it's right, I have a concussion and it's pretty hard to script with a major headache

LUA:
-- Created using QtLuaPad on Thu Dec 6 2012
-- Written by: RuggedMage.

function onAdvance(cid, skill, oldlevel, newlevel)
	local level = 35
		if getPlayerLevel(cid) == level and if getPlayerVocation(cid) == Knight then
		doPlayerGiveItem(cid, itemid, 1) -- add fire axe id on here.
	end
		return true
	end

I'll add the druid and sorcerer scripts as soon as I know if this works.
 
Last edited:
Back
Top