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

healing mana w/ ticks on aries 8.1

Joined
Jun 22, 2010
Messages
268
Solutions
1
Reaction score
5
Location
Usa, Utah
is their anyways to heal mana with ticks other then regen? i got a script working kinda but it only heals health.

Lua:
 local cond = createConditionObject(CONDITION_ENERGY)
        
addDamageCondition(cond, 15, 2000, 500)



  function onUse(cid, item, frompos, item2, topos)
      local voc = getPlayerVocation(cid)
    local MAX_FOOD = 400
    local food = 150
        
          if voc == 1 or voc == 5 or voc == 9 or voc == 13 or voc == 17 then
          doPlayerSay(cid,"Necromancer",16)
        doTargetCombatCondition(0, cid, cond, CONST_ME_ENERGYHIT)
end
end
 
Back
Top