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

help with code

Beef Jerky

New Member
Joined
Sep 19, 2008
Messages
68
Reaction score
0
whats the thing for

getplayervoc
setplayeroufit

re gain +50 mana a sec
regain +50 health a sec
 
Last edited:
Lua:
getPlayerVocation(cid)

--[[ ************************************************* ]] --

local outfit = {lookType = 128, lookHead = 10, lookBody = 20, lookLegs = 30, lookFeet = 40, lookTypeEx = 0, lookAddons = 3}
local duration -1 -- infinite
doSetCreatureOutfit(cid, outfit, duration)

--[[ ************************************************* ]] --

local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, CONDITION_PARAM_TICKS, 1 * 60 * 1000)
setConditionParam(condition, CONDITION_PARAM_MANAGAIN, 50)
setConditionParam(condition, CONDITION_PARAM_MANATICKS, 1000)
doAddCondition(cid, condition)

--[[ ************************************************* ]] --

local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, CONDITION_PARAM_TICKS, 1 * 60 * 1000)
setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 50)
setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 1000)
doAddCondition(cid, condition)
 
Back
Top