Hekibrown
Fus One!
Hello, here is my first noob and useless spells xD
Tested in 0.3 and work perfectly.
Amulet of Loss rune
Use the rune on the floor and will appear a amulet of loss.
Go to data/spells/spells.xml
Add this:
Now go to data/spells/support copy a .lua file, name this file aol rune.lua and remplace of this:
An image of this spell
Here
Soft Boots recharge spell
Go to data/spells/spells.xml
Localize Conjure spells, and add this
An image of this spell
Here
Tested in 0.3 and work perfectly.
Amulet of Loss rune
Use the rune on the floor and will appear a amulet of loss.
Go to data/spells/spells.xml
Add this:
Code:
<rune name="Aol" id="2309" allowfaruse="1" charges="1" lvl="100" maglv="60" exhaustion="2000" aggressive="1" blocktype="all" script="support/aol rune.lua"/>
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_CAKE)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 2173)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Here
Soft Boots recharge spell
Go to data/spells/spells.xml
Localize Conjure spells, and add this
Code:
<conjure name="Soft Recarch" words="exeta boots" lvl="150" mana="2500" soul="10" prem="1" conjureId="6132" reagentId="6530" reagentTransform="0" exhaustion="1000" needlearn="0" function="conjureItem">
<vocation name="Sorcerer" />
<vocation name="Druid" />
<vocation name="Master Sorcerer" />
<vocation name="Elder Druid" />
Here