• 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 Exori Super Gran, Druid Fury, Sorcerer Fury, Divine Condition, Custom Spells

Rugged Mage

Lua Scripter
Joined
Mar 8, 2010
Messages
1,182
Solutions
2
Reaction score
74
These Spells Arent The Best of the Best or anything but they were some of the first ive ever made so i feel like ive finally accomplished something hehe.
Four New Spells I Made Recently:
Add In Data>Spells>Spells.xml

-Attack Spells-


</instant>
<instant name="Druid Fury" words="druid fury" lvl="200" mana="1500" exhaustion="2100" needlearn="0" script="attack/razgos exo.lua">
<vocation id="2" />
<vocation id="6" />
</instant>
<instant name="Divine Condition" words="exevo san condition" lvl="200" mana="500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/thecondition.lua">
<vocation id="3"/>
<vocation id="7" />
</instant>
<instant name="Exori Super Gran" words="exori super gran" lvl="200" mana="500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/superexori.lua">
<vocation id="4"/>
<vocation id="8" />
</instant>
<instant name="Sorcerer Fury" words="blind anger" lvl="200" mana="1500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/anger.lua">
<vocation id="1"/>
<vocation id="5"/>[/PHP]

Goto Data>Spells>Scripts>Attack
Now Make a Lua named razgos exo
and put this in it
PHP:
local repeatAmount = 3
 
 
local deathFlamesArea = {
	createCombatArea({
		{0, 1, 0},
		{1, 2, 1},
		{0, 1, 0}
	}),
	createCombatArea({
		{0, 1, 1, 1, 0},
		{1, 1, 0, 1, 1},
		{1, 0, 2, 0, 1},
		{1, 1, 0, 1, 1},
		{0, 1, 1, 1, 0}
	}),
	createCombatArea({
		{0, 0, 1, 1, 1, 0, 0},
		{0, 1, 0, 0, 0, 1, 0},
		{1, 0, 0, 0, 0, 0, 1},
		{1, 0, 0, 2, 0, 0, 1},
		{1, 0, 0, 0, 0, 0, 1},
		{0, 1, 0, 0, 0, 1, 0},
		{0, 0, 1, 1, 1, 0, 0}
	})
 
}
 
local bigFlamesArea = createCombatArea({
	{0, 0, 1, 1, 1, 1, 1, 0, 0},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 0, 0, 0, 2, 0, 0, 0, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{0, 0, 1, 1, 1, 1, 1, 0, 0}
})
 
local deathFlames = {}
for k, area in ipairs(deathFlamesArea) do
	deathFlames[k] = createCombatObject()
	setCombatParam(deathFlames[k], COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
	setCombatParam(deathFlames[k], COMBAT_PARAM_EFFECT, CONST_ME_ICETORNADO)
	setCombatFormula(deathFlames[k], COMBAT_FORMULA_LEVELMAGIC, -5.593, -50, -7.929, -100)
 
	setCombatArea(deathFlames[k], area)
end
 
local bigFlames = createCombatObject()
setCombatParam(bigFlames, COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE)
setCombatParam(bigFlames, COMBAT_PARAM_EFFECT, CONST_ME_PLANTATTACK)
setCombatFormula(bigFlames, COMBAT_FORMULA_LEVELMAGIC, -5.766, -50, -6.241, -100)
 
setCombatArea(bigFlames, bigFlamesArea)
 
function onTargetTile(cid, pos)
	doSendDistanceShoot(getCreaturePosition(cid), pos, CONST_ANI_DEATH)
end
setCombatCallback(bigFlames, CALLBACK_PARAM_TARGETTILE, "onTargetTile")
 
local function castSpellDelay(p)
	if(isCreature(p[1]) == TRUE) then
		doCombat(unpack(p))
	end
end
 
function onCastSpell(cid, var)
	for i = 0, repeatAmount - 1 do
		for k, combat in ipairs(deathFlames) do
			addEvent(castSpellDelay, (150 * k) + #deathFlames * 150 * i + 700 * i, {cid, combat, var})
		end
		addEvent(castSpellDelay, (150 * #deathFlames) + #deathFlames * 150 * i + 700 * i, {cid, bigFlames, var})
	end
 
	return LUA_NO_ERROR
end

Picture:

druidfury.png



Goto Data>Spells>Scripts>Attack
Now Make a Lua named thecondition
and put this in it

PHP:
local repeatAmount = 3
 
 
local deathFlamesArea = {
	createCombatArea({
		{0, 1, 0},
		{1, 2, 1},
		{0, 1, 0}
	}),
	createCombatArea({
		{0, 1, 1, 1, 0},
		{1, 1, 0, 1, 1},
		{1, 0, 2, 0, 1},
		{1, 1, 0, 1, 1},
		{0, 1, 1, 1, 0}
	}),
	createCombatArea({
		{0, 0, 1, 1, 1, 0, 0},
		{0, 1, 0, 0, 0, 1, 0},
		{1, 0, 0, 0, 0, 0, 1},
		{1, 0, 0, 2, 0, 0, 1},
		{1, 0, 0, 0, 0, 0, 1},
		{0, 1, 0, 0, 0, 1, 0},
		{0, 0, 1, 1, 1, 0, 0}
	})
 
}
 
local bigFlamesArea = createCombatArea({
	{0, 0, 1, 1, 1, 1, 1, 0, 0},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 0, 0, 0, 2, 0, 0, 0, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{0, 0, 1, 1, 1, 1, 1, 0, 0}
})
 
local deathFlames = {}
for k, area in ipairs(deathFlamesArea) do
	deathFlames[k] = createCombatObject()
	setCombatParam(deathFlames[k], COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
	setCombatParam(deathFlames[k], COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
	setCombatFormula(deathFlames[k], COMBAT_FORMULA_LEVELMAGIC, -6.593, -50, -8.929, -100)
 
	setCombatArea(deathFlames[k], area)
end
 
local bigFlames = createCombatObject()
setCombatParam(bigFlames, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(bigFlames, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)
setCombatFormula(bigFlames, COMBAT_FORMULA_LEVELMAGIC, -6.766, -50, -8.241, -100)
 
setCombatArea(bigFlames, bigFlamesArea)
 
function onTargetTile(cid, pos)
	doSendDistanceShoot(getCreaturePosition(cid), pos, CONST_ANI_ETHEREALSPEAR)
end
setCombatCallback(bigFlames, CALLBACK_PARAM_TARGETTILE, "onTargetTile")
 
local function castSpellDelay(p)
	if(isCreature(p[1]) == TRUE) then
		doCombat(unpack(p))
	end
end
 
function onCastSpell(cid, var)
	for i = 0, repeatAmount - 1 do
		for k, combat in ipairs(deathFlames) do
			addEvent(castSpellDelay, (150 * k) + #deathFlames * 150 * i + 700 * i, {cid, combat, var})
		end
		addEvent(castSpellDelay, (150 * #deathFlames) + #deathFlames * 150 * i + 700 * i, {cid, bigFlames, var})
	end
 
	return LUA_NO_ERROR
end

exevosancondition.png


Goto Data>Spells>Scripts>Attack
Now Make a Lua named SuperExori
and put this in it
PHP:
local repeatAmount = 3
 
 
local deathFlamesArea = {
	createCombatArea({
		{0, 1, 0},
		{1, 2, 1},
		{0, 1, 0}
	}),
	createCombatArea({
		{0, 1, 1, 1, 0},
		{1, 1, 0, 1, 1},
		{1, 0, 2, 0, 1},
		{1, 1, 0, 1, 1},
		{0, 1, 1, 1, 0}
	}),
	createCombatArea({
		{0, 0, 1, 1, 1, 0, 0},
		{0, 1, 0, 0, 0, 1, 0},
		{1, 0, 0, 0, 0, 0, 1},
		{1, 0, 0, 2, 0, 0, 1},
		{1, 0, 0, 0, 0, 0, 1},
		{0, 1, 0, 0, 0, 1, 0},
		{0, 0, 1, 1, 1, 0, 0}
	})
 
}
 
local bigFlamesArea = createCombatArea({
	{0, 0, 1, 1, 1, 1, 1, 0, 0},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 0, 0, 0, 2, 0, 0, 0, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{0, 0, 1, 1, 1, 1, 1, 0, 0}
})
 
local deathFlames = {}
for k, area in ipairs(deathFlamesArea) do
	deathFlames[k] = createCombatObject()
	setCombatParam(deathFlames[k], COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
	setCombatParam(deathFlames[k], COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKE)
	setCombatFormula(deathFlames[k], COMBAT_FORMULA_LEVELMAGIC, -12.593, -50, -13.929, -100)
 
	setCombatArea(deathFlames[k], area)
end
 
local bigFlames = createCombatObject()
setCombatParam(bigFlames, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(bigFlames, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(bigFlames, COMBAT_FORMULA_LEVELMAGIC, -13.766, -50, -12.241, -100)
 
setCombatArea(bigFlames, bigFlamesArea)
 
function onTargetTile(cid, pos)
	doSendDistanceShoot(getCreaturePosition(cid), pos, CONST_ANI_WHIRLWINDAXE)
end
setCombatCallback(bigFlames, CALLBACK_PARAM_TARGETTILE, "onTargetTile")
 
local function castSpellDelay(p)
	if(isCreature(p[1]) == TRUE) then
		doCombat(unpack(p))
	end
end
 
function onCastSpell(cid, var)
	for i = 0, repeatAmount - 1 do
		for k, combat in ipairs(deathFlames) do
			addEvent(castSpellDelay, (150 * k) + #deathFlames * 150 * i + 700 * i, {cid, combat, var})
		end
		addEvent(castSpellDelay, (150 * #deathFlames) + #deathFlames * 150 * i + 700 * i, {cid, bigFlames, var})
	end
 
	return LUA_NO_ERROR
end

exorisupergran.png


Goto Data>Spells>Scripts>Attack
Now Make a Lua named anger
and put this in it

PHP:
local repeatAmount = 3
 
 
local deathFlamesArea = {
	createCombatArea({
		{0, 1, 0},
		{1, 2, 1},
		{0, 1, 0}
	}),
	createCombatArea({
		{0, 1, 1, 1, 0},
		{1, 1, 0, 1, 1},
		{1, 0, 2, 0, 1},
		{1, 1, 0, 1, 1},
		{0, 1, 1, 1, 0}
	}),
	createCombatArea({
		{0, 0, 1, 1, 1, 0, 0},
		{0, 1, 0, 0, 0, 1, 0},
		{1, 0, 0, 0, 0, 0, 1},
		{1, 0, 0, 2, 0, 0, 1},
		{1, 0, 0, 0, 0, 0, 1},
		{0, 1, 0, 0, 0, 1, 0},
		{0, 0, 1, 1, 1, 0, 0}
	})
 
}
 
local bigFlamesArea = createCombatArea({
	{0, 0, 1, 1, 1, 1, 1, 0, 0},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 0, 0, 0, 2, 0, 0, 0, 1},
	{1, 0, 0, 0, 0, 0, 0, 0, 1},
	{1, 1, 0, 0, 0, 0, 0, 1, 1},
	{0, 1, 1, 0, 0, 0, 1, 1, 0},
	{0, 0, 1, 1, 1, 1, 1, 0, 0}
})
 
local deathFlames = {}
for k, area in ipairs(deathFlamesArea) do
	deathFlames[k] = createCombatObject()
	setCombatParam(deathFlames[k], COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
	setCombatParam(deathFlames[k], COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)
	setCombatFormula(deathFlames[k], COMBAT_FORMULA_LEVELMAGIC, -0.593, -50, -0.929, -100)
 
	setCombatArea(deathFlames[k], area)
end
 
local bigFlames = createCombatObject()
setCombatParam(bigFlames, COMBAT_PARAM_TYPE, COMBAT_ENERGYLDAMAGE)
setCombatParam(bigFlames, COMBAT_PARAM_EFFECT, CONST_ME_BIGCLOUDS)
setCombatFormula(bigFlames, COMBAT_FORMULA_LEVELMAGIC, -0.766, -50, -1.241, -100)
 
setCombatArea(bigFlames, bigFlamesArea)
 
function onTargetTile(cid, pos)
	doSendDistanceShoot(getCreaturePosition(cid), pos, CONST_ANI_DEATH)
end
setCombatCallback(bigFlames, CALLBACK_PARAM_TARGETTILE, "onTargetTile")
 
local function castSpellDelay(p)
	if(isCreature(p[1]) == TRUE) then
		doCombat(unpack(p))
	end
end
 
function onCastSpell(cid, var)
	for i = 0, repeatAmount - 1 do
		for k, combat in ipairs(deathFlames) do
			addEvent(castSpellDelay, (150 * k) + #deathFlames * 150 * i + 700 * i, {cid, combat, var})
		end
		addEvent(castSpellDelay, (150 * #deathFlames) + #deathFlames * 150 * i + 700 * i, {cid, bigFlames, var})
	end
 
	return LUA_NO_ERROR
end

anger.png
 
This is sick, but i cant get in to work, it wont load the Spells.XML after i put all this in "</instant>
<instant name="Druid Fury" words="druid fury" lvl="200" mana="1500" exhaustion="2100" needlearn="0" script="attack/razgos exo.lua">
<vocation id="2" />
<vocation id="6" />
</instant>
<instant name="Divine Condition" words="exevo san condition" lvl="200" mana="500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/thecondition.lua">
<vocation id="3"/>
<vocation id="7" />
</instant>
<instant name="Exori Super Gran" words="exori super gran" lvl="200" mana="500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/superexori.lua">
<vocation id="4"/>
<vocation id="8" />
</instant>
<instant name="Sorcerer Fury" words="blind anger" lvl="200" mana="1500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/anger.lua">
<vocation id="1"/>
<vocation id="5"/>[/PHP]"

And i put in in attack spells and everything...what am i doing wrong?
 
Code:
<instant name="Druid Fury" words="druid fury" lvl="200" mana="1500" exhaustion="2100" needlearn="0" script="attack/razgos exo.lua">
<vocation id="2" />
<vocation id="6" />
</instant>
<instant name="Divine Condition" words="exevo san condition" lvl="200" mana="500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/thecondition.lua">
<vocation id="3"/>
<vocation id="7" />
</instant>
<instant name="Exori Super Gran" words="exori super gran" lvl="200" mana="500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/superexori.lua">
<vocation id="4"/>
<vocation id="8" />
</instant>
<instant name="Sorcerer Fury" words="blind anger" lvl="200" mana="1500" prem="1" selftarget="1" exhaustion="2100" needlearn="0" script="attack/anger.lua">
<vocation id="1"/>
<vocation id="5"/>
</instant>
 
Are those spells made for a high exp rated server or for a low exp rated server?
 
actually i did use it on a rpg map, I made it where the top level was only about 600 but it was still somewhat challenging to get levels
 
ate some of you can take a stronger spell............ and can you help men with rebirth onlook
 
I tried adding these spells in and now I can't get the server to run at all I keep getting this message

"[26/01/2013 00:59:06] Warning: [BaseEvents::loadFromXml] Can not open spells.xml
[26/01/2013 00:59:06] > ERROR: Unable to load Spells!"


Any suggestions on how to fix the problem? :)
 
so bad :( this spells is not balanced ;( Kina spell : 3000~ hit , mage spell: 180-300hit's~ ;( Maybe someone know how balance this spells? cause looks very nice and i want use it :D
 
Look for COMBAT_FORMULA_LEVELMAGIC in the spells and change the first and third number.
 
Look for COMBAT_FORMULA_LEVELMAGIC in the spells and change the first and third number.

What would you recommend? This is for an High EXP RL Map? (I know ridiculous to have them on RL map and all but a lot of my friends requested it)
 
Back
Top