Sirion_Mido
Experienced Member
it's could be not hard but could be useful for some people
this script giving double experience to the epic vocations or any vocation id you want
Here We Are
in your creaturescripts/scripts create file name ExpVoc.lua and paste the following:
now in your creaturescripts/creaturescripts.xml paste the following:
Now in your login.lua
after line
paste this code
Rep++ If It Helpful For You
this script giving double experience to the epic vocations or any vocation id you want
Here We Are
in your creaturescripts/scripts create file name ExpVoc.lua and paste the following:
Lua:
local rate = 2
local rates = getPlayerRates(cid)
local vocations = {9,10,11,12} -- the vocations id
function onLogin(cid)
if isInArray(vocations,getPlayerVocation(cid)) then
doPlayerSetExperienceRate(cid, rates[SKILL__LEVEL]+rate)
end
return true
end
now in your creaturescripts/creaturescripts.xml paste the following:
XML:
<event type="login" name="ExpVoc" event="script" value="ExpVoc.lua"/>
Now in your login.lua
after line
Lua:
registerCreatureEvent(cid, "GuildMotd")
Lua:
registerCreatureEvent(cid, "ExpVoc")
Rep++ If It Helpful For You