<item id="xxxx" article="an" name="super ultimate healing rune">
<attribute key="runeSpellName" value="adora vita"/>
<attribute key="weight" value="120"/>
<attribute key="charges" value="10"/>
</item>
<conjure name="Ultimate Healing Rune" words="adura vita" lvl="24" mana="400" soul="3" reagentId="2260" conjureId="2273" conjureCount="1" exhaustion="1000" needlearn="0" event="function" value="conjureRune">
<vocation id="2"/>
<vocation id="6"/>
</conjure>
<conjure name="Super Ultimate Healing Rune" words="adora vita" lvl="24" mana="400" soul="3" reagentId="2260" conjureId="xxxx" conjureCount="1" exhaustion="1000" needlearn="0" event="function" value="conjureRune">
<vocation id="2"/>
<vocation id="6"/>
</conjure>
<rune name="Ultimate Healing Rune" id="2273" allowfaruse="1" charges="1" lvl="24" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/ultimate healing rune.lua"/>
<rune name="Super Ultimate Healing Rune" id="xxxx" allowfaruse="1" charges="10" lvl="24" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/super ultimate healing rune.lua"/>
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)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 20, 25)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Well, first find some rune, in items.xml, then change description of that rune whit this one
You can change charges if you want to. and "xxxx" would be ID of your rune.Code:<item id="xxxx" article="an" name="super ultimate healing rune"> <attribute key="runeSpellName" value="adora vita"/> <attribute key="weight" value="120"/> <attribute key="charges" value="10"/> </item>
Then open spells.xml and under
Code:<conjure name="Ultimate Healing Rune" words="adura vita" lvl="24" mana="400" soul="3" reagentId="2260" conjureId="2273" conjureCount="1" exhaustion="1000" needlearn="0" event="function" value="conjureRune"> <vocation id="2"/> <vocation id="6"/> </conjure>
Put
Code:<conjure name="Super Ultimate Healing Rune" words="adora vita" lvl="24" mana="400" soul="3" reagentId="2260" conjureId="xxxx" conjureCount="1" exhaustion="1000" needlearn="0" event="function" value="conjureRune"> <vocation id="2"/> <vocation id="6"/> </conjure>
And under
Code:<rune name="Ultimate Healing Rune" id="2273" allowfaruse="1" charges="1" lvl="24" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/ultimate healing rune.lua"/>
Put
Then go to spells/healing and create super ultimate healing rune.luaCode:<rune name="Super Ultimate Healing Rune" id="xxxx" allowfaruse="1" charges="10" lvl="24" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/super ultimate healing rune.lua"/>
Open it and put this
Code: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) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 20, 25) function onCastSpell(cid, var) return doCombat(cid, combat, var) end