LoLaye
Active Member
Okay, i just finished my manarune
Well lets start, first off save this as manarune.lua
manaheal.lua in spells/scripts/custom
Well done. now lets move on to spells.xml write this:
Alright, thats my first manarune..
Lolaye
PS. im newbie in scripting .. so i will do more runes , more spells soon i hope you all like them
my server is high exp it got exp stage starts at 10k and ends at 5k so the players are high lvls and it needed a good manarune.... btw i have create it by myself and i dont think another server got this rune in the server as manarune..
(I JUST EDITED THIS POST 10/9/19 I KNOW THIS MANARUNE IS OLD)
Well lets start, first off save this as manarune.lua
manaheal.lua in spells/scripts/custom
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) ---- What color you want to be displayed when using
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddMana(cid, XXXX) --- How much mana it heals
return doCombat(cid, combat, var)
end
Well done. now lets move on to spells.xml write this:
Lua:
<rune name="Manarune" id="2280" charges="1" mana="1" maglv="0" exhaustion="1500" blocktype="solid" allowfaruse="1" script="custom/manaheal.lua"/>
Alright, thats my first manarune..
Lolaye
PS. im newbie in scripting .. so i will do more runes , more spells soon i hope you all like them
my server is high exp it got exp stage starts at 10k and ends at 5k so the players are high lvls and it needed a good manarune.... btw i have create it by myself and i dont think another server got this rune in the server as manarune..
(I JUST EDITED THIS POST 10/9/19 I KNOW THIS MANARUNE IS OLD)
Last edited: