kimokimo
Kimo
i want to put a storage in this spell so player can use this spell every 30sec here is the script :
PHP:
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_STAT_MAXHEALTHPERCENT, 130)
setConditionParam(condition, CONDITION_PARAM_TICKS, 60 * 1000)
function onCastSpell(cid, var)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
return doAddCondition(cid, condition) and doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
end