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

Rune..

Sprite

Poznańska Pyra
Joined
Jun 15, 2009
Messages
207
Reaction score
13
Hello
I need rune which, will be used only on yourself (You can not use this rune for someone)

Code:
<rune name="UH" id="2298" allowfaruse="1" charges="1" lvl="24" maglv="4" exhaustion="700" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/uh.lua">
		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>
		</rune>
Code:
--Calculed by ta4e--
--For tibia 8.22--
--Made in 12/09/08--
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function getCombatFormulas(cid, lv, maglv)
local formula_min = ((lv*0.25 + maglv*3) * 4.6)
local formula_max = ((lv*0.25 + maglv*3) * 5.0)

if(formula_max < formula_min) then
local tmp = formula_max
formula_max = formula_min
formula_min = tmp
end
return formula_min, formula_max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas")


function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

Can someone help me?
 
Try this:
Code:
<rune name="UH" id="2298" allowfaruse="1" charges="1" lvl="24" maglv="4" exhaustion="700" aggressive="0" selftarget="1" blocktype="solid" event="script" value="healing/uh.lua">
		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>
		</rune>
 
Back
Top