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

Requesting a Spell

Dexroxx

New Member
Joined
Nov 17, 2011
Messages
12
Reaction score
0
I'm making a new vocation ascended :ninja: poisoner, and was requesting a spell that is like exori pox with the same effect and did damage over time based on magiclevels, I thought there were spells like this I could copy but apparently I can't find any of the update spell packs and Im bad at spell creation. :C
 
Last edited by a moderator:
Add In Data>Spells>Spells.xml

</instant>
<instant name="Exori Pox" words="Exori Pox" lvl="50" mana="200" exhaustion="2000" needlearn="0" script="attack/Exori Pox.lua">
<vocation id="2" /> -- Put Vocation id here
<vocation id="6" /> -- Put Promoted id here unless you dont have then delete this line
</instant>


Goto Data>Spells>Scripts>Attack
Now Make a new lua named Exori Pox
Then Paste this into it:

------Credit To Ruggedmage @ Otland.net---------
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, 4)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 20)
setCombatParam(combat1,

COMBAT_PARAM_DISTANCEEFFECT, 14)
setCombatFormula(combat1,

COMBAT_FORMULA_LEVELMAGIC, -100, -100, -100, -100)
--

================================================

=======================




local area1 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}
--=======================================




setCombatArea(combat1, createCombatArea(area1))



function onCastSpell(cid, var)
addEvent(doCombat, 0, cid, combat1, var)
end



This Should work but it is not tested
 
Back
Top