Hello !
Here's a cool manarune script !
Step one!
Go to Spells.xml And add
<rune name="donationmana" id="2282" allowfaruse="1" charges="1" lvl="8" maglv="33" exhaustion="750" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/donationmana.lua"/>
Step two! go to spells and after scripts And do a file called healing or you maybe have it yeye ;P
And do a lua! Name it donationmana.lua And write
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddMana(cid, 1300)
doCreatureSay(cid,"Donation Manarune",19)
return doCombat(cid, combat, var)
end
There on DoplayeraddMana there are your mana how much it will heal And Docreatursay there is the name it says If you understand me.
Here's a cool manarune script !
Step one!
Go to Spells.xml And add
<rune name="donationmana" id="2282" allowfaruse="1" charges="1" lvl="8" maglv="33" exhaustion="750" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/donationmana.lua"/>
Step two! go to spells and after scripts And do a file called healing or you maybe have it yeye ;P
And do a lua! Name it donationmana.lua And write
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddMana(cid, 1300)
doCreatureSay(cid,"Donation Manarune",19)
return doCombat(cid, combat, var)
end
There on DoplayeraddMana there are your mana how much it will heal And Docreatursay there is the name it says If you understand me.