Zell
Intermediate OT User
- Joined
- Oct 23, 2010
- Messages
- 214
- Reaction score
- 117
hiho my dears
Im trying to give a condition to player who have X vocation, but i think conditions is just for spells..
Can anyone help me to do this? something like..
I just want give the attributes for infinite time, any idea?
By the way I try to use "CastSpell(cid, x)
But in my serv dont have this function..
Thanks!
Im trying to give a condition to player who have X vocation, but i think conditions is just for spells..
Can anyone help me to do this? something like..
Code:
function onThink(cid)
local condition2 = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition2, CONDITION_PARAM_STAT_MAXHITPOINTSPERCENT, 125)
------------
if Voc == X then
doAreaCombatCondition(cid, getThingPos(cid), condition2)
I just want give the attributes for infinite time, any idea?
By the way I try to use "CastSpell(cid, x)
But in my serv dont have this function..
Thanks!