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

need 3 manarunes without effects

kingi96

New Member
Joined
May 24, 2010
Messages
419
Reaction score
3
Hi guys! plz can anyone give me 3 manarunes without effects

first manarune =1500

Second manarune =3500

Third Manarune =5000

Rep++
 
Put these into spells/scripts/healing

First:
Code:
firstmanarune.lua
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

function onCastSpell(cid, var)
doPlayerAddMana(cid, 1500) 
doCreatureSay(cid,"Aaah.. Refreshing",19)
return doCombat(cid, combat, var)
end

Second:
Code:
secondmanarune.lua
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

function onCastSpell(cid, var)
doPlayerAddMana(cid, 3500) 
doCreatureSay(cid,"Aaah.. more mana",19)
return doCombat(cid, combat, var)
end

Third:
Code:
thirdmanarune.lua
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

function onCastSpell(cid, var)
doPlayerAddMana(cid, 5000) 
doCreatureSay(cid,"Aaah.. Refreshing",19)
return doCombat(cid, combat, var)
end

In spells/spells.xml add
Code:
        <rune name="firstmanarune" [COLOR="DarkRed"]id="xxxx"[/COLOR] allowfaruse="1" charges="5" lvl="0" maglv="0" exhaustion="1600" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/firstmanarune.lua"/>
	<rune name="secondmanarune" [COLOR="DarkRed"]id="xxxx"[/COLOR] allowfaruse="1" charges="5" lvl="0" maglv="0" exhaustion="1600" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/secondmanarune.lua"/>
	<rune name="thirdmanarune" [COLOR="DarkRed"]id="xxxx"[/COLOR] allowfaruse="1" charges="5" lvl="0" maglv="0" exhaustion="1600" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/thirdmanarune.lua"/>

Code:
[COLOR="DarkRed"]id="xxxx"[/COLOR] = ID of the rune to use
 
Last edited:
When you say effects do you mean that it says "Aaah refreshing" or when something blinks in green? Cuz I removed the effect that blinks in green :p
 
Back
Top