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

ManaRune+HP Rune

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,812
Solutions
6
Reaction score
822
I want to make infinty rune that heal mana
and infinity rune that heal hp
how?
R3p++
 
a rune that heals both mana and hp?

action:

hp rune:
Code:
local health = 150

function onUse (cid, item, fromPosition, itemEx, toPosition)
  if isPlayer(itemEx.uid) then
    doCreatureAddHealth (cid, health)
  end
  return true
end

mana rune:

Code:
local mana = 150

function onUse (cid, item, fromPosition, itemEx, toPosition)
  if isPlayer(itemEx.uid) then
    doCreatureAddMana (cid, mana)
  end
  return true
end
 
Last edited:
a rune that heals both mana and hp?

action:

hp rune:
Code:
local health = 150

function onUse (cid, item, fromPosition, itemEx, toPosition)
  if isPlayer(itemEx.uid) then
    doCreatureAddHealth (cid, health)
  end
  return true
end

mana rune:

Code:
local mana = 150

function onUse (cid, item, fromPosition, itemEx, toPosition)
  if isPlayer(itemEx.uid) then
    doCreatureAddMana (cid, mana)
  end
  return true
end

ty but what is the id of the rune?
 
Back
Top