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

Spell Spells 8.7 Not Inluded Kor Spells (Utori Kor - Exana Kor)

lokolokio

Well-Known Member
Joined
Jan 7, 2009
Messages
201
Solutions
13
Reaction score
78
Location
Mexico
Spells 8.7 in 8.6 - Not Inluded Kor Spells (Utori Kor - Exana Kor)

Here i will post my new thread, i try to make all the new spells for all voacations based on tibia wikia, i dont know if the formula its right but the attempt is made, well here is:

Put on spells.xml this code:

PHP:
<!-- Spells 87 -->

	<instant name="Annihilation" words="exori gran ico" lvl="110" mana="300" prem="1" needweapon="1" exhaustion="500" needlearn="0" needtarget="1" script="spells87/annihilation.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
	</instant>
	<instant name="Brutal Strike" words="exori ico" lvl="16" mana="30" prem="1" range="1" needtarget="1" blockwalls="1" needweapon="1" exhaustion="500" needlearn="0" script="spells87/brutal strike.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
	</instant>
	<instant name="Cure Burning" words="exana flam" lvl="30" mana="30" aggressive="0" selftarget="1" exhaustion="500" needlearn="0" script="spells87/cureburning.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Cure Electrification" words="exana vis" lvl="22" mana="30" aggressive="0" selftarget="1" exhaustion="500" needlearn="0" script="spells87/cureelectrification.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Cure Curse" words="exana mort" lvl="80" mana="40" aggressive="0" selftarget="1" exhaustion="500" needlearn="0" script="spells87/curecurse.lua">
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Cursed" words="utori mort" lvl="75" mana="30" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/curse.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Electrify" words="utori vis" lvl="34" mana="30" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/electrify.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Envenom" words="utori pox" lvl="40" mana="30" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/envenom.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Front Sweep" words="exori min" lvl="70" mana="200" prem="1" needweapon="1" exhaustion="500" needlearn="0" script="spells87/frontsweep.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
	</instant>
	<instant name="Holy Flash" words="utori san" lvl="70" mana="50" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/holyflash.lua">
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Ignite" words="utori flam" lvl="26" mana="30" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/ignite.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Intense Recovery" words="utura gran" lvl="100" mana="165" prem="1" selftarget="1" aggressive="0" exhaustion="500" needlearn="0" script="spells87/intenserecovery.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Intense Wound Cleansing" words="exura gran ico" lvl="80" mana="200" prem="1" selftarget="1" aggressive="0" exhaustion="500" needlearn="0" script="spells87/intensewoundcleansing.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
	</instant>
	<instant name="Lightning" words="exori amp vis" lvl="55" mana="160" prem="1" range="4" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/lightning.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Physical Strike" words="exori moe ico" lvl="16" mana="20" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/physicalstrike.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Recovery" words="utura" lvl="50" mana="75" prem="1" selftarget="1" aggressive="0" exhaustion="500" needlearn="0" script="spells87/intenserecovery.lua">
		<vocation name="Knight"/>
		<vocation name="Elite Knight"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Salvation" words="exura gran san" lvl="60" mana="210" prem="1" selftarget="1" aggressive="0" exhaustion="500" needlearn="0" script="spells87/salvation.lua">
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Strong Energy Strike" words="exori gran vis" lvl="80" mana="60" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/strongenergystrike.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Strong Ethereal Spear" words="exori gran con" lvl="90" mana="55" prem="1" range="5" needtarget="1" exhaustion="500" blockwalls="1" needlearn="0" script="spells87/strongetherealspear.lua">
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin"/>
	</instant>
	<instant name="Strong Flame Strike" words="exori gran flam" lvl="70" mana="60" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/strongflamestrike.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Strong Ice Strike" words="exori gran frigo" lvl="80" mana="60" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/strongicestrike.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Strong Ice Wave" words="exevo gran frigo hur" lvl="40" mana="170" direction="1" exhaustion="500" needlearn="0" script="spells87/strongicewave.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Strong Terra Strike" words="exori gran tera" lvl="70" mana="60" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/strongterrastrike.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Ultimate Flame Strike" words="exori max flam" lvl="90" mana="100" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/ultimateflamestrike.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Ultimate Energy Strike" words="exori max vis" lvl="100" mana="100" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/ultimateenergystrike.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
	</instant>
	<instant name="Ultimate Terra Strike" words="exori max tera" lvl="90" mana="100" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/Ultimateterrastrike.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>
	<instant name="Ultimate Ice Strike" words="exori max frigo" lvl="100" mana="100" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="500" needlearn="0" script="spells87/Ultimateicestrike.lua">
		<vocation name="Druid"/>
		<vocation name="Elder Druid"/>
	</instant>

These are the words to cast them, now from here you can download the files:

http://www.mediafire.com/?zu858st3u8njh35

its based on the cooldown from this post:
http://otland.net/f82/cooldown-effect-specific-exhaust-63545/

For the moment thats all i hope you like it, enjoy it, msge me if found any bugs or you can upgrade it :D or correct the formulas y want it too in the correct way but i hope to make them in group see ya

And venn (hes scripts got own exhausted in lua files its for distros with lower protocol i think then 8.7) , yes its its for servers below protocolo 8.7...
I got NaxedOt 8.0.0.4782 xD 8.60 see ya
 
Last edited:
hes scripts got own exhausted in lua files its for distros with lower protocol i think then 8.7
 
Code:
[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/intensewoundcleansing.lua
[24/12/2010 15:19:30] data/spells/scripts/spells87/intensewoundcleansing.lua:5: attempt to call global 'setHealingFormula' (a nil value)
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setHealingFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/intensewoundcleansing.lua:5: in main chunk
[24/12/2010 15:19:30] Warning: [Event::checkScript] Can not load script. /scripts/spells87/intensewoundcleansing.lua


[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/lightning.lua
[24/12/2010 15:19:30] luaSetCombatFormula(). Combat not found
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setCombatFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/lightning.lua:5: in main chunk

[24/12/2010 15:19:30] Lua Script Error: [Spell Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/lightning.lua
[24/12/2010 15:19:30] luaSetCombatFormula(). Combat not found
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setCombatFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/lightning.lua:5: in main chunk

[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/physicalstrike.lua
[24/12/2010 15:19:30] luaSetCombatFormula(). Combat not found
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setCombatFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/physicalstrike.lua:5: in main chunk

[24/12/2010 15:19:30] Lua Script Error: [Spell Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/physicalstrike.lua
[24/12/2010 15:19:30] luaSetCombatFormula(). Combat not found
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setCombatFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/physicalstrike.lua:5: in main chunk

[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/salvation.lua
[24/12/2010 15:19:30] data/spells/scripts/spells87/salvation.lua:5: attempt to call global 'setHealingFormula' (a nil value)
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setHealingFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/salvation.lua:5: in main chunk
[24/12/2010 15:19:30] Warning: [Event::checkScript] Can not load script. /scripts/spells87/salvation.lua


[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongenergystrike.lua
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongenergystrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/strongenergystrike.lua:5: in main chunk
[24/12/2010 15:19:30] Warning: [Event::checkScript] Can not load script. /scripts/spells87/strongenergystrike.lua


[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongflamestrike.lua
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongflamestrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/strongflamestrike.lua:5: in main chunk
[24/12/2010 15:19:30] Warning: [Event::checkScript] Can not load script. /scripts/spells87/strongflamestrike.lua


[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongicestrike.lua
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongicestrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/strongicestrike.lua:5: in main chunk
[24/12/2010 15:19:30] Warning: [Event::checkScript] Can not load script. /scripts/spells87/strongicestrike.lua


[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongicewave.lua
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongicewave.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:30] stack traceback:
[24/12/2010 15:19:30] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:30] 	data/spells/scripts/spells87/strongicewave.lua:5: in main chunk
[24/12/2010 15:19:30] Warning: [Event::checkScript] Can not load script. /scripts/spells87/strongicewave.lua


[24/12/2010 15:19:30] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:30] data/spells/scripts/spells87/strongterrastrike.lua
[24/12/2010 15:19:31] data/spells/scripts/spells87/strongterrastrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:31] stack traceback:
[24/12/2010 15:19:31] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:31] 	data/spells/scripts/spells87/strongterrastrike.lua:5: in main chunk
[24/12/2010 15:19:31] Warning: [Event::checkScript] Can not load script. /scripts/spells87/strongterrastrike.lua


[24/12/2010 15:19:31] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:31] data/spells/scripts/spells87/ultimateflamestrike.lua
[24/12/2010 15:19:31] data/spells/scripts/spells87/ultimateflamestrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:31] stack traceback:
[24/12/2010 15:19:31] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:31] 	data/spells/scripts/spells87/ultimateflamestrike.lua:5: in main chunk
[24/12/2010 15:19:31] Warning: [Event::checkScript] Can not load script. /scripts/spells87/ultimateflamestrike.lua


[24/12/2010 15:19:31] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:31] data/spells/scripts/spells87/ultimateenergystrike.lua
[24/12/2010 15:19:31] data/spells/scripts/spells87/ultimateenergystrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:31] stack traceback:
[24/12/2010 15:19:31] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:31] 	data/spells/scripts/spells87/ultimateenergystrike.lua:5: in main chunk
[24/12/2010 15:19:31] Warning: [Event::checkScript] Can not load script. /scripts/spells87/ultimateenergystrike.lua


[24/12/2010 15:19:31] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:31] data/spells/scripts/spells87/Ultimateterrastrike.lua
[24/12/2010 15:19:31] data/spells/scripts/spells87/Ultimateterrastrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:31] stack traceback:
[24/12/2010 15:19:31] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:31] 	data/spells/scripts/spells87/Ultimateterrastrike.lua:5: in main chunk
[24/12/2010 15:19:31] Warning: [Event::checkScript] Can not load script. /scripts/spells87/Ultimateterrastrike.lua


[24/12/2010 15:19:31] Lua Script Error: [Test Interface] 
[24/12/2010 15:19:31] data/spells/scripts/spells87/Ultimateicestrike.lua
[24/12/2010 15:19:31] data/spells/scripts/spells87/Ultimateicestrike.lua:5: attempt to call global 'setAttackFormula' (a nil value)
[24/12/2010 15:19:31] stack traceback:
[24/12/2010 15:19:31] 	[C]: in function 'setAttackFormula'
[24/12/2010 15:19:31] 	data/spells/scripts/spells87/Ultimateicestrike.lua:5: in main chunk
[24/12/2010 15:19:31] Warning: [Event::checkScript] Can not load script. /scripts/spells87/Ultimateicestrike.lua

On TFS 8.7 Mystic spirit 0.2
 
Lots of errors in Mystic Spirit.. :(( what with groups, spellid and cooldown? ;((
 
To make them work on MYSTIC SPIRIT 0.2 8.7
Change all 'setHealingFormula' and 'setAttackFormula' to 'setCombatFormula'

But then they do not do damage to target.

and to make them do damage change the first and 3rd numbers of the formula to (-)
example: -5, 5, -0.4, 4 , but default they are all positive in some attack spells.
The formula's are WRONG, much too powerful. You will have to test different formulas for correct damage.

This will fix a lot of the spells. it's because 'setAttackFormula' and 'setHealingFormula' do not exist.

you also must add in this to your global.lua file in order to recognize the exhaustion in script.
this is how you get them working in Mystic Spirit 0.2
Code:
exhaustion =
{
	check = function (cid, storage)
		if(getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then
			return false
		end
 
		return getPlayerStorageValue(cid, storage) >= os.time(t)
	end,
 
	get = function (cid, storage)
		if(getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then
			return false
		end
 
		local exhaust = getPlayerStorageValue(cid, storage)
		if(exhaust > 0) then
			local left = exhaust - os.time(t)
			if(left >= 0) then
				return left
			end
		end
 
		return false
	end,
 
	set = function (cid, storage, time)
		setPlayerStorageValue(cid, storage, os.time(t) + time)
	end,
 
	make = function (cid, storage, time)
		local exhaust = exhaustion.get(cid, storage)
		if(not exhaust) then
			exhaustion.set(cid, storage, time)
			return true
		end
 
		return false
	end
}
 
Last edited:
i am using this spells on last 0.4 rev and players gat debug in some spells, but my god not debug, can someone help ?
 
[29/12/2010 13:39:59] Lua Script Error: [Spell Interface]
[29/12/2010 13:39:59] data/spells/scripts/attack/annihilation.lua:eek:nCastSpell
[29/12/2010 13:39:59] data/spells/scripts/attack/annihilation.lua:15: attempt to index global 'exhaustion' (a nil value)
[29/12/2010 13:39:59] stack traceback:
[29/12/2010 13:39:59] [C]: in function '__index'
[29/12/2010 13:39:59] data/spells/scripts/attack/annihilation.lua:15: in function <data/spells/scripts/attack/annihilation.lua:14>


;/...
 
azzkaban I have tried many times to register to otserv.es but I cant because there is a problem when I put the passwords do you know what I have to do?
 
Back
Top