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

I need a manarune and u-h script for 8.5/8.42 server

In data/spells/spells.xml
Import this
<rune name="Manarune" id="2280" charges="1" mana="1" maglv="0" exhaustion="0" blocktype="solid" allowfaruse="1" script="manarune.lua"/>

In data/spells/scripts create manarune.lua file

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) ---- what the color of the effect. you can do like RED/BLUE
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

function onCastSpell(cid, var)
doPlayerAddMana(cid, 1000) ---- how much it heal .
return doCombat(cid, combat, var)
end


And Super Uh:
Well, first find some rune, in items.xml, then change description of that rune whit this one

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

You can change charges if you want to. and "xxxx" would be ID of your rune.


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:
<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>

under

<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
<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"/>


Then go to spells/healing and create super ultimate healing rune.lua

Open it and put this:

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
 
Back
Top