• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Problem with custom uh rune

gremlee

Qumora.com
Joined
Jul 15, 2008
Messages
511
Reaction score
16
Hello i have problem with my custom uh rune

<rune name="First uh" id="2276" allowfaruse="1" charges="5" lvl="1" maglv="1" exhaustion="1500" needtarget="1" blocktype="solid" event="script" value="healing/First uh.lua">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</rune>

But ingame its have mlvl 20 :S

And my first manarune doesn't change name when i have 100x its say First manarune, when i have 1x its say spell rune, i also change this in items.xml but doesn't work :(
 
If you're using TFS 0.3/0.4 then check your mods folder (customspells.xml)
 
And you already have chequed the script Firstuh.lua?... check it maybe there is the problem.

I cant see any problem :S

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function onGetFormulaValues(cid, level, maglevel)
min = (level * 2.62 + maglevel * 17.72) * 1.0
max = (level * 3.1 + maglevel * 43.85) * 1.0
return min, max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

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