• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell Burst Strike for 8.1 (might work for 8.11)

Starmio

Starmio
Joined
Feb 9, 2008
Messages
167
Reaction score
2
Location
...
This is my Spell :p
made in 2 min.



data/weapons
weapons.xml
Code:
<instant name="Burst Strike" words="Exori Burst" direction="1" lvl="12" maglv="3" mana="60" soul="0" exhaustion="1" prem="1" enabled="1" script="Burststrike.lua"><vocation id="2"/><vocation id="1"/><vocation id="6"/><vocation id="5"/></instant>

data/weapons/scripts
Burststrike.lua
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 32)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

local arr = {
{0, 0, 0, 0, 0},
{0, 1, 1, 1, 0},
{0, 1, 2, 1, 0},
{0, 1, 1, 1, 0},
{0, 0, 0, 0, 0}
}


local combatDist = createCombatObject()
setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 32)
setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

local arr = {
{0, 0, 0, 0, 0},
{0, 1, 1, 1, 0},
{0, 1, 2, 1, 0},
{0, 1, 1, 1, 0},
{0, 0, 0, 0, 0}
}

function onCastSpell(cid, var)
local target = getCreatureTarget(cid)
if(target ~= 0) then
return doCombat(cid, combatDist, numberToVariant(target))
end
return doCombat(cid, combat, var)
end
--Starmio

Download Spell (text file)

:) <to short>
ScreenShot
exoriburst.jpg
 
Last edited by a moderator:
I have maked this is spell to OTNet and you not post the credits?
50% credits for me and 50% to you.

Credits to this:
PHP:
<instant name="Burst Strike" words="Exori Burst" direction="1" lvl="12" maglv="3" mana="60" soul="0" exhaustion="1" prem="1" enabled="1" script="Burststrike.lua"><vocation id="2"/><vocation id="1"/><vocation id="6"/><vocation id="5"/></instant>
 
Last edited:
This seem to be based for any xml servers, or evolution based servers.

I edited the main post, changed quote tags to code tags, also coordinating where the scripts belongs to.

edit:

For TFS users:
Code:
<instant name="Burst Strike" words="Exori Burst" direction="1" lvl="12" maglv="3" mana="60" soul="0" exhaustion="1" prem="1" enabled="1" script="Burststrike.lua">
  		<vocation name="Sorcerer" />
  		<vocation name="Druid" />
  		<vocation name="Master Sorcerer" />
  		<vocation name="Elder Druid" />
</instant>
 
Last edited:
Back
Top