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

Making Spells Have Exhaust(Quick Tutorial)

I see everyone posting about spells having no exhaust so I decided I would tell you how it works. Take in mind I don't use spell icons but my exhaust on all spells on my server work (though there are bugs with support and special exhaust groups).
Support Spells seem to be exhausted for about a minute after killing creatures.
Special Spells exhaust icon will come up but you can still cast the spell.


Here is how to add exhaust to your spells:

First of all
Group 1 = attack
Group 2 = healing
Group 3 = support
Group 4 = special

I think I heard somewhere you can use up to 2 groups for each spell using groups="1";groups="2" but I haven't tested.

Change each spell from this:
Code:

Code:
<instant name="Death Strike" words="exori mort" mana="20" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="1000" needlearn="0" script="attack/death strike.lua">
    		<vocation name="Sorcerer"/>
    		<vocation name="Master Sorcerer"/>
    		<vocation name="Druid"/>
    		<vocation name="Elder Druid"/>
    	</instant>

replace:

Code:
exhaustion="1000"

with

Code:
exhaustion="1000" groups="1" groupexhaustions="1000"

to this:
Code:
    	<instant name="Death Strike" words="exori mort" mana="20" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1"  exhaustion="1000" groups="1" groupexhaustions="1000" needlearn="0" script="attack/death strike.lua">
    		<vocation name="Sorcerer"/>
    		<vocation name="Master Sorcerer"/>
    		<vocation name="Druid"/>
    		<vocation name="Elder Druid"/>
    	</instant>

I think to add in icons for spells you just put icon="##" but I don't use them.

Hope this helps, Any questions just post or if you see I did something wrong and should fix it please tell.



CREDIT SPORTACUS(100% all credits) - OTLAND.NET
To Premium Board
 
Hmm.. i bug.

[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


Wtf..? - from tfs 0.4 dev
 
This hard to create the other spells, can someone help me or send the magic 8.7?
 
who have (Utori Kor - Exana Kor)?


I don't think 8.6 or earlier had bleed damage. Even if this is true, I'm sure you could imitate bleed damage by creating a multi-part spell of physical or life drain damage to a person over a period of time.
 
Back
Top