local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_SLEEP)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 1000)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Well just edit this
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 1000)
you put the mana like "1000" you can change it to 10000+
just copy oder thing in spells
the copy the open the thing you copy open it in note bloc or wordpad and edit it the save then onli change the name.... then go to spells and search for spells XML and open it whit wordpad and copy what ever you whant of healin runes and just change the item id.
well I think that can help you