<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rhas</id>
	<title>EQ2Emulator - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rhas"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Special:Contributions/Rhas"/>
	<updated>2026-07-11T14:34:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Developer:Spells&amp;diff=900</id>
		<title>Developer:Spells</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Developer:Spells&amp;diff=900"/>
		<updated>2010-06-01T17:15:46Z</updated>

		<summary type="html">&lt;p&gt;Rhas: /* Target_Type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&amp;quot;Spells&amp;quot; are anything the player can cast, or effect, on themselves or any object in the game. They are generally broken down into Ability, Spells, Combat Arts, Tradeskills, and etc, for the sake of development; we call them all &amp;quot;Spells&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For the official database release of Spells, we have come up with what we feel is a logical grouping of spell IDs for our database. This ensures consistency and ease of data retrieval when we need to look something up quickly. In this, Spell IDs have &amp;quot;ranges&amp;quot; that logically fit within our determined bounds. See [[Developer:Spell_IDs | this chart]] for a detailed explanation of our Spell ID structures.&lt;br /&gt;
&lt;br /&gt;
== Spells List ==&lt;br /&gt;
&lt;br /&gt;
Using the VPK Extractor tool by Blaz (google) you can extract the spellcast.dat file and view it with notepad.&lt;br /&gt;
&lt;br /&gt;
Or go here&lt;br /&gt;
*[[SpellEffectList | Spell List]]&lt;br /&gt;
&lt;br /&gt;
== Spell Videos ==&lt;br /&gt;
&lt;br /&gt;
I am going to post a video on youtube of all the spells being cast 1 - 2000 so you can see the visual/sound effects and what icon they have.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=GsmQ_Yqf8ZE]2 - 100]&lt;br /&gt;
[http://www.youtube.com/watch?v=wKgm26VKXpE]101 - 200]&lt;br /&gt;
[http://www.youtube.com/watch?v=44sjPA7Ey6E]201 - 300]&lt;br /&gt;
[http://www.youtube.com/watch?v=KnfQTYu4ngw]301 - 400]&lt;br /&gt;
[http://www.youtube.com/watch?v=yYxpY_265Zk]1000 - 1100]&lt;br /&gt;
[http://www.youtube.com/watch?v=AdB8KNW1hrQ]1101 - 1200]&lt;br /&gt;
[http://www.youtube.com/watch?v=y2L_ZbB_cZw]1201 - 1300]&lt;br /&gt;
[http://www.youtube.com/watch?v=BdWhScdSmVU]1301 - 1400]&lt;br /&gt;
[http://www.youtube.com/watch?v=y-uL6Utrw_A]1401 - 1455]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lua Scripts ==&lt;br /&gt;
&lt;br /&gt;
Here are some example spell scripts to get you started&lt;br /&gt;
&lt;br /&gt;
Heal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--main process function&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	-- syntax for SpellDamage is Target, DamageType, and Damage&lt;br /&gt;
	--SpellDamage(Target, DamageType, Damage)&lt;br /&gt;
	ModifyHP(Caster, 20) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Poison/Dot&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
	SpellDamage(Target, 6, 30)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Levitate&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	SetServerControlFlag(Caster, 1, 32, 1)&lt;br /&gt;
	-- runs for 200 ticks&lt;br /&gt;
	SendPopUpMessage(Caster, &amp;quot;You feel lighter&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
	SetServerControlFlag(Caster, 1, 32, 0)&lt;br /&gt;
	SendPopUpMessage(Caster, &amp;quot;You feel heavier&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
HP Buff&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	SetMaxHP(Target, (GetMaxHP(Target) + 50))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
	SetMaxHP(Target, (GetMaxHP(Target) - 50))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using spells in items ==&lt;br /&gt;
&lt;br /&gt;
You can take use of the CastSpell(Target, SpellID, SpellTier, Caster) function in your item scripts to have a spell executed. This is useful for when you want your item to start an effect but also remove it after a duration. (See spell_tiers duration1/duration2 and the spell lua function remove()) &lt;br /&gt;
&lt;br /&gt;
== Spell Tables ==&lt;br /&gt;
&lt;br /&gt;
=== Spells ===&lt;br /&gt;
&lt;br /&gt;
==== ID ====&lt;br /&gt;
This is the unique ID for your spell. Just choose a number you have not used yet.&lt;br /&gt;
&lt;br /&gt;
==== Version ====&lt;br /&gt;
Unknown/ I have changed this value and it appears to do nothing.&lt;br /&gt;
&lt;br /&gt;
==== Sub_Version ====&lt;br /&gt;
Unknown/ I have changed this value and it appears to do nothing.&lt;br /&gt;
&lt;br /&gt;
==== Type ====&lt;br /&gt;
Unknown&lt;br /&gt;
&lt;br /&gt;
could be what kind of damage it deals ex slashing or crushing.&lt;br /&gt;
&lt;br /&gt;
==== Cast_Type ====&lt;br /&gt;
0 = Normal&amp;lt;br /&amp;gt;&lt;br /&gt;
1 = Toggle, casting it the first time turns the spell on, casting it a second time turns the spell off.&lt;br /&gt;
&lt;br /&gt;
==== Name ====&lt;br /&gt;
The Name you give your spell. &lt;br /&gt;
Example : Sprint&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
Gives the player a short description of the spell when the put their mouse over it appears in the upper right corner under spell name.&lt;br /&gt;
&lt;br /&gt;
==== Icon ====&lt;br /&gt;
This is the top icon and is the icon that will be shown in your spell book. I will update the id's as I try them.&lt;br /&gt;
1: Blue lightning bolt&lt;br /&gt;
I will post pictures of the rest.&lt;br /&gt;
example sprint2 would have the id of 2 sprint 3 would have an id of 3 ext....&lt;br /&gt;
[http://xs226.xs.to/xs226/08151/spells_page1260.jpg Image]&lt;br /&gt;
&lt;br /&gt;
Icons 792 - 2001 are just plain white.&lt;br /&gt;
&lt;br /&gt;
==== Icon2 ====&lt;br /&gt;
This is the bottom icon of your spell this will show the icon that is used to make combo's. I will update the id's as I try them.&lt;br /&gt;
1: Warrior type / blue / shield / 1&lt;br /&gt;
2: Warrior type / blue / horn / 1&lt;br /&gt;
3: Warrior type / blue / fist / 1&lt;br /&gt;
4: Warrior type / blue / boot / 1&lt;br /&gt;
5: Warrior type / blue / muscle-flex / 1&lt;br /&gt;
6: Warrior type / blue / sword / 1&lt;br /&gt;
7: Warrior type / blue / shield / 2&lt;br /&gt;
8: Warrior type / blue / horn / 2&lt;br /&gt;
9: Warrior type / blue / fist / 2&lt;br /&gt;
10: Warrior type / blue / boot / 2&lt;br /&gt;
11: Warrior type / blue / muscle-flex / 2&lt;br /&gt;
12: Healer Type / gold / chalice / 1&lt;br /&gt;
13: Healer Type / gold / symbol / 1&lt;br /&gt;
14: Healer Type / gold / hammer / 1&lt;br /&gt;
15: Healer Type / gold / eye / 1&lt;br /&gt;
16: Healer Type / gold / moon / 1&lt;br /&gt;
17: Healer Type / gold / stone henge / 1&lt;br /&gt;
18: Healer Type / gold / chalice / 2&lt;br /&gt;
19: Healer Type / gold / symbol / 2&lt;br /&gt;
20: Healer Type / gold / hammer / 2&lt;br /&gt;
21:&lt;br /&gt;
22:&lt;br /&gt;
23:&lt;br /&gt;
24:&lt;br /&gt;
25:&lt;br /&gt;
26:&lt;br /&gt;
27:&lt;br /&gt;
28:&lt;br /&gt;
29:&lt;br /&gt;
30:&lt;br /&gt;
31:&lt;br /&gt;
32:&lt;br /&gt;
33:&lt;br /&gt;
34:&lt;br /&gt;
35:&lt;br /&gt;
36:&lt;br /&gt;
37:&lt;br /&gt;
38:&lt;br /&gt;
39:&lt;br /&gt;
40:&lt;br /&gt;
41:&lt;br /&gt;
42:&lt;br /&gt;
43:&lt;br /&gt;
44:&lt;br /&gt;
45:&lt;br /&gt;
46:&lt;br /&gt;
47:&lt;br /&gt;
48: Generic icon.&lt;br /&gt;
&lt;br /&gt;
The max number here is 48 before the picture is just blank.&lt;br /&gt;
==== Icon Type ====&lt;br /&gt;
I am unsure of what this affects.&lt;br /&gt;
&lt;br /&gt;
==== Class_Skill ====&lt;br /&gt;
I am unsure of what this affects. I leave it at 0&lt;br /&gt;
&lt;br /&gt;
==== Mastery_Skill ====&lt;br /&gt;
I am unsure of what this affects. I leave it at 0&lt;br /&gt;
&lt;br /&gt;
==== Tier ====&lt;br /&gt;
This is what determines what level your spell is.&lt;br /&gt;
Here are the values.&lt;br /&gt;
1: Apprentice 1&lt;br /&gt;
2: Apprentice 2&lt;br /&gt;
3: Apprentice 3&lt;br /&gt;
4: Apprentice 4&lt;br /&gt;
5: Adept 1&lt;br /&gt;
6: Adept 2&lt;br /&gt;
7: Adept 3&lt;br /&gt;
8: Adept 4&lt;br /&gt;
9: Master 1&lt;br /&gt;
10: Master 2&lt;br /&gt;
11: Master 3&lt;br /&gt;
12: Master 4&lt;br /&gt;
&lt;br /&gt;
==== HP_Req ====&lt;br /&gt;
Required HP in order to attempt to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_Req ====&lt;br /&gt;
Required Power in order to attempt to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_Upkeep ====&lt;br /&gt;
How much it costs to keep the spell going.&lt;br /&gt;
Example:  I cast sprint for 8 power and I set my cast time to 6 I would have to pay 8 power every 6 seconds to keep the buff going.&lt;br /&gt;
Cast_Time:&lt;br /&gt;
How long before you must pay the spells upkeep (time in seconds)&lt;br /&gt;
&lt;br /&gt;
==== Recast ====&lt;br /&gt;
How long before you can recast your spell after it ends.&lt;br /&gt;
&lt;br /&gt;
==== Radius ====&lt;br /&gt;
How far in meters away from the current target the spell will affect.&lt;br /&gt;
&lt;br /&gt;
==== Max_AOE_targets ====&lt;br /&gt;
when the radius is greater than 0 the max number of targets the spell will affect.&lt;br /&gt;
&lt;br /&gt;
==== Req_Concentration ====&lt;br /&gt;
How much concentration you need in order to cast the spell. (I set to 0 for now)&lt;br /&gt;
&lt;br /&gt;
==== Range ====&lt;br /&gt;
How far away the target can be from the caster in meters.&lt;br /&gt;
&lt;br /&gt;
==== Duration1 ====&lt;br /&gt;
Minimum length of the spell duration.&lt;br /&gt;
&lt;br /&gt;
==== Duration2 ====&lt;br /&gt;
Maximum length of the spell duration.&lt;br /&gt;
&lt;br /&gt;
==== Duration_Until_Cancel ====&lt;br /&gt;
If the first 2 are not specified then it will last forever until canceled.&lt;br /&gt;
&lt;br /&gt;
==== Call_Frequency ====&lt;br /&gt;
Unknown ( I set to 0)&lt;br /&gt;
&lt;br /&gt;
==== Resistibility ====&lt;br /&gt;
Chance of target resisting the spell.&lt;br /&gt;
&lt;br /&gt;
==== Target_Type ====&lt;br /&gt;
What object you are allowed to cast the spell on.&amp;lt;br /&amp;gt;&lt;br /&gt;
0: Self&amp;lt;br /&amp;gt;&lt;br /&gt;
1: Enemy&amp;lt;br /&amp;gt;&lt;br /&gt;
2: Group (AE)&amp;lt;br /&amp;gt;&lt;br /&gt;
3: Caster's Pet&amp;lt;br /&amp;gt;&lt;br /&gt;
4: Enemy's Pet&amp;lt;br /&amp;gt;&lt;br /&gt;
5: Enemy's Corpse&amp;lt;br /&amp;gt;&lt;br /&gt;
6: Group Member's Corpse&amp;lt;br /&amp;gt;&lt;br /&gt;
7: Target None&amp;lt;br /&amp;gt;&lt;br /&gt;
8: Raid (AE)&amp;lt;br /&amp;gt;&lt;br /&gt;
9: Other Group (AE)&lt;br /&gt;
&lt;br /&gt;
==== Recovery ====&lt;br /&gt;
Shows recovery in the spell I am unsure of what this does. (time in hundredths of a second.) 1,0000 = 10 seconds.&lt;br /&gt;
&lt;br /&gt;
==== Level ====&lt;br /&gt;
Minimum Level needed to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_req_Percent ====&lt;br /&gt;
The % of power you need remaining in order to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== HP_Req_Percent ====&lt;br /&gt;
The % of HP you need remaining in order to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Success_Message ====&lt;br /&gt;
The message you receive on screen when you successfully cast or receive a spell effect.&lt;br /&gt;
Example:&lt;br /&gt;
You begin to sneak.&lt;br /&gt;
&lt;br /&gt;
==== Fade_Message ====&lt;br /&gt;
The message you receive when the spell is canceled / wears off.&lt;br /&gt;
Example:&lt;br /&gt;
You stop sneaking. &lt;br /&gt;
&lt;br /&gt;
==== Lua_Script ====&lt;br /&gt;
The name of the lua script in your spells directory.&lt;br /&gt;
Example:&lt;br /&gt;
Sprint&lt;br /&gt;
Damage&lt;br /&gt;
These are case sensitive and do not need the .lua at the end.&lt;br /&gt;
&lt;br /&gt;
==== Spell_Visual ====&lt;br /&gt;
The visual effect id of the effect you want to see when the spell is cast.&lt;br /&gt;
&lt;br /&gt;
65 is a green glowing wolf like sow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*120- smack that makes u look all green, bubbley and puke&lt;br /&gt;
*121-firey whip&lt;br /&gt;
*122-cover you in ice&lt;br /&gt;
*123-surround you in fish lol&lt;br /&gt;
*124- fish with skin effect&lt;br /&gt;
*125- fish with skin effect&lt;br /&gt;
*126- 3 rotating shields around you&lt;br /&gt;
*127-chain you to the ground&lt;br /&gt;
*128- lightning with ice effect&lt;br /&gt;
*129-spikey ice ring buff&lt;br /&gt;
*130-ice nuke with snow flakes&lt;br /&gt;
*131-icicles fall on you&lt;br /&gt;
*132-green and blue void circle&lt;br /&gt;
*133-rust buff effect&lt;br /&gt;
*134-knock down&lt;br /&gt;
*135-knock to knees&lt;br /&gt;
*136-blue pulsing circle with red glowy buff&lt;br /&gt;
*137-orange sparkles with green body fog&lt;br /&gt;
*138-glowy stone hand above head, gold body glow&lt;br /&gt;
*139- rotating shields with glow&lt;br /&gt;
*140-yellowish shockwave&lt;br /&gt;
*141- purple electric, with fog cloud&lt;br /&gt;
*142- red exploding orb&lt;br /&gt;
*143 - golden exploding orb&lt;br /&gt;
*150 - rotating fire shields&lt;br /&gt;
*151 - rotating fire swords &lt;br /&gt;
*152 - exploding red sphere&lt;br /&gt;
*153 - red glow&lt;br /&gt;
*154 - green leaves and green circle&lt;br /&gt;
*156 - purple fog and blurr&lt;br /&gt;
*157 - rainbow sparkles and swirling swords&lt;br /&gt;
*158 - rocks falling over head&lt;br /&gt;
*159 - swirling leaves and green swords&lt;br /&gt;
&lt;br /&gt;
==== Effect_Message ====&lt;br /&gt;
This is at the bottom of the spell it say something like. increase speed bye 15%&lt;br /&gt;
&amp;quot;for every effect listed you must add 1 number to the number of bullets in spell_display_effects&lt;br /&gt;
&lt;br /&gt;
==== Spell_Book_Type ====&lt;br /&gt;
What spell category the spell will be scribed in.&lt;br /&gt;
0: Spells&lt;br /&gt;
1: Combat arts&lt;br /&gt;
2: Trade skills&lt;br /&gt;
&lt;br /&gt;
==== Interruptible ====&lt;br /&gt;
Is the spell able to be interrupted.&lt;br /&gt;
&lt;br /&gt;
=== Spell_data ===&lt;br /&gt;
&lt;br /&gt;
=== Spell_display_effects ===&lt;br /&gt;
&lt;br /&gt;
== Guide Written By: Chrrox ==&lt;br /&gt;
&lt;br /&gt;
== List of Spell Effects ==&lt;br /&gt;
&lt;br /&gt;
The best way is to use the vpktool by blaz to extract your spellcast.dat file so you have the latest version. However you can see this [[SpellEffectList]] here if you wish.&lt;/div&gt;</summary>
		<author><name>Rhas</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Developer:Spells&amp;diff=899</id>
		<title>Developer:Spells</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Developer:Spells&amp;diff=899"/>
		<updated>2010-06-01T17:12:08Z</updated>

		<summary type="html">&lt;p&gt;Rhas: /* Cast_Type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&amp;quot;Spells&amp;quot; are anything the player can cast, or effect, on themselves or any object in the game. They are generally broken down into Ability, Spells, Combat Arts, Tradeskills, and etc, for the sake of development; we call them all &amp;quot;Spells&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For the official database release of Spells, we have come up with what we feel is a logical grouping of spell IDs for our database. This ensures consistency and ease of data retrieval when we need to look something up quickly. In this, Spell IDs have &amp;quot;ranges&amp;quot; that logically fit within our determined bounds. See [[Developer:Spell_IDs | this chart]] for a detailed explanation of our Spell ID structures.&lt;br /&gt;
&lt;br /&gt;
== Spells List ==&lt;br /&gt;
&lt;br /&gt;
Using the VPK Extractor tool by Blaz (google) you can extract the spellcast.dat file and view it with notepad.&lt;br /&gt;
&lt;br /&gt;
Or go here&lt;br /&gt;
*[[SpellEffectList | Spell List]]&lt;br /&gt;
&lt;br /&gt;
== Spell Videos ==&lt;br /&gt;
&lt;br /&gt;
I am going to post a video on youtube of all the spells being cast 1 - 2000 so you can see the visual/sound effects and what icon they have.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=GsmQ_Yqf8ZE]2 - 100]&lt;br /&gt;
[http://www.youtube.com/watch?v=wKgm26VKXpE]101 - 200]&lt;br /&gt;
[http://www.youtube.com/watch?v=44sjPA7Ey6E]201 - 300]&lt;br /&gt;
[http://www.youtube.com/watch?v=KnfQTYu4ngw]301 - 400]&lt;br /&gt;
[http://www.youtube.com/watch?v=yYxpY_265Zk]1000 - 1100]&lt;br /&gt;
[http://www.youtube.com/watch?v=AdB8KNW1hrQ]1101 - 1200]&lt;br /&gt;
[http://www.youtube.com/watch?v=y2L_ZbB_cZw]1201 - 1300]&lt;br /&gt;
[http://www.youtube.com/watch?v=BdWhScdSmVU]1301 - 1400]&lt;br /&gt;
[http://www.youtube.com/watch?v=y-uL6Utrw_A]1401 - 1455]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lua Scripts ==&lt;br /&gt;
&lt;br /&gt;
Here are some example spell scripts to get you started&lt;br /&gt;
&lt;br /&gt;
Heal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--main process function&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	-- syntax for SpellDamage is Target, DamageType, and Damage&lt;br /&gt;
	--SpellDamage(Target, DamageType, Damage)&lt;br /&gt;
	ModifyHP(Caster, 20) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Poison/Dot&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
	SpellDamage(Target, 6, 30)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Levitate&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	SetServerControlFlag(Caster, 1, 32, 1)&lt;br /&gt;
	-- runs for 200 ticks&lt;br /&gt;
	SendPopUpMessage(Caster, &amp;quot;You feel lighter&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
	SetServerControlFlag(Caster, 1, 32, 0)&lt;br /&gt;
	SendPopUpMessage(Caster, &amp;quot;You feel heavier&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
HP Buff&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	SetMaxHP(Target, (GetMaxHP(Target) + 50))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
	SetMaxHP(Target, (GetMaxHP(Target) - 50))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using spells in items ==&lt;br /&gt;
&lt;br /&gt;
You can take use of the CastSpell(Target, SpellID, SpellTier, Caster) function in your item scripts to have a spell executed. This is useful for when you want your item to start an effect but also remove it after a duration. (See spell_tiers duration1/duration2 and the spell lua function remove()) &lt;br /&gt;
&lt;br /&gt;
== Spell Tables ==&lt;br /&gt;
&lt;br /&gt;
=== Spells ===&lt;br /&gt;
&lt;br /&gt;
==== ID ====&lt;br /&gt;
This is the unique ID for your spell. Just choose a number you have not used yet.&lt;br /&gt;
&lt;br /&gt;
==== Version ====&lt;br /&gt;
Unknown/ I have changed this value and it appears to do nothing.&lt;br /&gt;
&lt;br /&gt;
==== Sub_Version ====&lt;br /&gt;
Unknown/ I have changed this value and it appears to do nothing.&lt;br /&gt;
&lt;br /&gt;
==== Type ====&lt;br /&gt;
Unknown&lt;br /&gt;
&lt;br /&gt;
could be what kind of damage it deals ex slashing or crushing.&lt;br /&gt;
&lt;br /&gt;
==== Cast_Type ====&lt;br /&gt;
0 = Normal&amp;lt;br /&amp;gt;&lt;br /&gt;
1 = Toggle, casting it the first time turns the spell on, casting it a second time turns the spell off.&lt;br /&gt;
&lt;br /&gt;
==== Name ====&lt;br /&gt;
The Name you give your spell. &lt;br /&gt;
Example : Sprint&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
Gives the player a short description of the spell when the put their mouse over it appears in the upper right corner under spell name.&lt;br /&gt;
&lt;br /&gt;
==== Icon ====&lt;br /&gt;
This is the top icon and is the icon that will be shown in your spell book. I will update the id's as I try them.&lt;br /&gt;
1: Blue lightning bolt&lt;br /&gt;
I will post pictures of the rest.&lt;br /&gt;
example sprint2 would have the id of 2 sprint 3 would have an id of 3 ext....&lt;br /&gt;
[http://xs226.xs.to/xs226/08151/spells_page1260.jpg Image]&lt;br /&gt;
&lt;br /&gt;
Icons 792 - 2001 are just plain white.&lt;br /&gt;
&lt;br /&gt;
==== Icon2 ====&lt;br /&gt;
This is the bottom icon of your spell this will show the icon that is used to make combo's. I will update the id's as I try them.&lt;br /&gt;
1: Warrior type / blue / shield / 1&lt;br /&gt;
2: Warrior type / blue / horn / 1&lt;br /&gt;
3: Warrior type / blue / fist / 1&lt;br /&gt;
4: Warrior type / blue / boot / 1&lt;br /&gt;
5: Warrior type / blue / muscle-flex / 1&lt;br /&gt;
6: Warrior type / blue / sword / 1&lt;br /&gt;
7: Warrior type / blue / shield / 2&lt;br /&gt;
8: Warrior type / blue / horn / 2&lt;br /&gt;
9: Warrior type / blue / fist / 2&lt;br /&gt;
10: Warrior type / blue / boot / 2&lt;br /&gt;
11: Warrior type / blue / muscle-flex / 2&lt;br /&gt;
12: Healer Type / gold / chalice / 1&lt;br /&gt;
13: Healer Type / gold / symbol / 1&lt;br /&gt;
14: Healer Type / gold / hammer / 1&lt;br /&gt;
15: Healer Type / gold / eye / 1&lt;br /&gt;
16: Healer Type / gold / moon / 1&lt;br /&gt;
17: Healer Type / gold / stone henge / 1&lt;br /&gt;
18: Healer Type / gold / chalice / 2&lt;br /&gt;
19: Healer Type / gold / symbol / 2&lt;br /&gt;
20: Healer Type / gold / hammer / 2&lt;br /&gt;
21:&lt;br /&gt;
22:&lt;br /&gt;
23:&lt;br /&gt;
24:&lt;br /&gt;
25:&lt;br /&gt;
26:&lt;br /&gt;
27:&lt;br /&gt;
28:&lt;br /&gt;
29:&lt;br /&gt;
30:&lt;br /&gt;
31:&lt;br /&gt;
32:&lt;br /&gt;
33:&lt;br /&gt;
34:&lt;br /&gt;
35:&lt;br /&gt;
36:&lt;br /&gt;
37:&lt;br /&gt;
38:&lt;br /&gt;
39:&lt;br /&gt;
40:&lt;br /&gt;
41:&lt;br /&gt;
42:&lt;br /&gt;
43:&lt;br /&gt;
44:&lt;br /&gt;
45:&lt;br /&gt;
46:&lt;br /&gt;
47:&lt;br /&gt;
48: Generic icon.&lt;br /&gt;
&lt;br /&gt;
The max number here is 48 before the picture is just blank.&lt;br /&gt;
==== Icon Type ====&lt;br /&gt;
I am unsure of what this affects.&lt;br /&gt;
&lt;br /&gt;
==== Class_Skill ====&lt;br /&gt;
I am unsure of what this affects. I leave it at 0&lt;br /&gt;
&lt;br /&gt;
==== Mastery_Skill ====&lt;br /&gt;
I am unsure of what this affects. I leave it at 0&lt;br /&gt;
&lt;br /&gt;
==== Tier ====&lt;br /&gt;
This is what determines what level your spell is.&lt;br /&gt;
Here are the values.&lt;br /&gt;
1: Apprentice 1&lt;br /&gt;
2: Apprentice 2&lt;br /&gt;
3: Apprentice 3&lt;br /&gt;
4: Apprentice 4&lt;br /&gt;
5: Adept 1&lt;br /&gt;
6: Adept 2&lt;br /&gt;
7: Adept 3&lt;br /&gt;
8: Adept 4&lt;br /&gt;
9: Master 1&lt;br /&gt;
10: Master 2&lt;br /&gt;
11: Master 3&lt;br /&gt;
12: Master 4&lt;br /&gt;
&lt;br /&gt;
==== HP_Req ====&lt;br /&gt;
Required HP in order to attempt to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_Req ====&lt;br /&gt;
Required Power in order to attempt to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_Upkeep ====&lt;br /&gt;
How much it costs to keep the spell going.&lt;br /&gt;
Example:  I cast sprint for 8 power and I set my cast time to 6 I would have to pay 8 power every 6 seconds to keep the buff going.&lt;br /&gt;
Cast_Time:&lt;br /&gt;
How long before you must pay the spells upkeep (time in seconds)&lt;br /&gt;
&lt;br /&gt;
==== Recast ====&lt;br /&gt;
How long before you can recast your spell after it ends.&lt;br /&gt;
&lt;br /&gt;
==== Radius ====&lt;br /&gt;
How far in meters away from the current target the spell will affect.&lt;br /&gt;
&lt;br /&gt;
==== Max_AOE_targets ====&lt;br /&gt;
when the radius is greater than 0 the max number of targets the spell will affect.&lt;br /&gt;
&lt;br /&gt;
==== Req_Concentration ====&lt;br /&gt;
How much concentration you need in order to cast the spell. (I set to 0 for now)&lt;br /&gt;
&lt;br /&gt;
==== Range ====&lt;br /&gt;
How far away the target can be from the caster in meters.&lt;br /&gt;
&lt;br /&gt;
==== Duration1 ====&lt;br /&gt;
Minimum length of the spell duration.&lt;br /&gt;
&lt;br /&gt;
==== Duration2 ====&lt;br /&gt;
Maximum length of the spell duration.&lt;br /&gt;
&lt;br /&gt;
==== Duration_Until_Cancel ====&lt;br /&gt;
If the first 2 are not specified then it will last forever until canceled.&lt;br /&gt;
&lt;br /&gt;
==== Call_Frequency ====&lt;br /&gt;
Unknown ( I set to 0)&lt;br /&gt;
&lt;br /&gt;
==== Resistibility ====&lt;br /&gt;
Chance of target resisting the spell.&lt;br /&gt;
&lt;br /&gt;
==== Target_Type ====&lt;br /&gt;
What object you are allowed to cast the spell on.&lt;br /&gt;
0: Self&lt;br /&gt;
1: Enemy&lt;br /&gt;
2: group (AE)&lt;br /&gt;
3: Passive spell / ability&lt;br /&gt;
4: Enemy's Pet&lt;br /&gt;
5: Enemy's Corpse&lt;br /&gt;
6: Group Members Corpse&lt;br /&gt;
7: Unknown&lt;br /&gt;
8: Raid (AE)&lt;br /&gt;
9: Unknown&lt;br /&gt;
10: Unknown&lt;br /&gt;
11: Unknown&lt;br /&gt;
12: Unknown&lt;br /&gt;
13: Unknown&lt;br /&gt;
14: Unknown&lt;br /&gt;
15: Unknown&lt;br /&gt;
16: Unknown&lt;br /&gt;
17: Unknown&lt;br /&gt;
18: Unknown&lt;br /&gt;
19: Unknown&lt;br /&gt;
20: Unknown&lt;br /&gt;
I stopped at 20&lt;br /&gt;
&lt;br /&gt;
==== Recovery ====&lt;br /&gt;
Shows recovery in the spell I am unsure of what this does. (time in hundredths of a second.) 1,0000 = 10 seconds.&lt;br /&gt;
&lt;br /&gt;
==== Level ====&lt;br /&gt;
Minimum Level needed to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_req_Percent ====&lt;br /&gt;
The % of power you need remaining in order to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== HP_Req_Percent ====&lt;br /&gt;
The % of HP you need remaining in order to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Success_Message ====&lt;br /&gt;
The message you receive on screen when you successfully cast or receive a spell effect.&lt;br /&gt;
Example:&lt;br /&gt;
You begin to sneak.&lt;br /&gt;
&lt;br /&gt;
==== Fade_Message ====&lt;br /&gt;
The message you receive when the spell is canceled / wears off.&lt;br /&gt;
Example:&lt;br /&gt;
You stop sneaking. &lt;br /&gt;
&lt;br /&gt;
==== Lua_Script ====&lt;br /&gt;
The name of the lua script in your spells directory.&lt;br /&gt;
Example:&lt;br /&gt;
Sprint&lt;br /&gt;
Damage&lt;br /&gt;
These are case sensitive and do not need the .lua at the end.&lt;br /&gt;
&lt;br /&gt;
==== Spell_Visual ====&lt;br /&gt;
The visual effect id of the effect you want to see when the spell is cast.&lt;br /&gt;
&lt;br /&gt;
65 is a green glowing wolf like sow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*120- smack that makes u look all green, bubbley and puke&lt;br /&gt;
*121-firey whip&lt;br /&gt;
*122-cover you in ice&lt;br /&gt;
*123-surround you in fish lol&lt;br /&gt;
*124- fish with skin effect&lt;br /&gt;
*125- fish with skin effect&lt;br /&gt;
*126- 3 rotating shields around you&lt;br /&gt;
*127-chain you to the ground&lt;br /&gt;
*128- lightning with ice effect&lt;br /&gt;
*129-spikey ice ring buff&lt;br /&gt;
*130-ice nuke with snow flakes&lt;br /&gt;
*131-icicles fall on you&lt;br /&gt;
*132-green and blue void circle&lt;br /&gt;
*133-rust buff effect&lt;br /&gt;
*134-knock down&lt;br /&gt;
*135-knock to knees&lt;br /&gt;
*136-blue pulsing circle with red glowy buff&lt;br /&gt;
*137-orange sparkles with green body fog&lt;br /&gt;
*138-glowy stone hand above head, gold body glow&lt;br /&gt;
*139- rotating shields with glow&lt;br /&gt;
*140-yellowish shockwave&lt;br /&gt;
*141- purple electric, with fog cloud&lt;br /&gt;
*142- red exploding orb&lt;br /&gt;
*143 - golden exploding orb&lt;br /&gt;
*150 - rotating fire shields&lt;br /&gt;
*151 - rotating fire swords &lt;br /&gt;
*152 - exploding red sphere&lt;br /&gt;
*153 - red glow&lt;br /&gt;
*154 - green leaves and green circle&lt;br /&gt;
*156 - purple fog and blurr&lt;br /&gt;
*157 - rainbow sparkles and swirling swords&lt;br /&gt;
*158 - rocks falling over head&lt;br /&gt;
*159 - swirling leaves and green swords&lt;br /&gt;
&lt;br /&gt;
==== Effect_Message ====&lt;br /&gt;
This is at the bottom of the spell it say something like. increase speed bye 15%&lt;br /&gt;
&amp;quot;for every effect listed you must add 1 number to the number of bullets in spell_display_effects&lt;br /&gt;
&lt;br /&gt;
==== Spell_Book_Type ====&lt;br /&gt;
What spell category the spell will be scribed in.&lt;br /&gt;
0: Spells&lt;br /&gt;
1: Combat arts&lt;br /&gt;
2: Trade skills&lt;br /&gt;
&lt;br /&gt;
==== Interruptible ====&lt;br /&gt;
Is the spell able to be interrupted.&lt;br /&gt;
&lt;br /&gt;
=== Spell_data ===&lt;br /&gt;
&lt;br /&gt;
=== Spell_display_effects ===&lt;br /&gt;
&lt;br /&gt;
== Guide Written By: Chrrox ==&lt;br /&gt;
&lt;br /&gt;
== List of Spell Effects ==&lt;br /&gt;
&lt;br /&gt;
The best way is to use the vpktool by blaz to extract your spellcast.dat file so you have the latest version. However you can see this [[SpellEffectList]] here if you wish.&lt;/div&gt;</summary>
		<author><name>Rhas</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Developer:Spells&amp;diff=898</id>
		<title>Developer:Spells</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Developer:Spells&amp;diff=898"/>
		<updated>2010-06-01T17:10:46Z</updated>

		<summary type="html">&lt;p&gt;Rhas: /* Cast_Type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
&amp;quot;Spells&amp;quot; are anything the player can cast, or effect, on themselves or any object in the game. They are generally broken down into Ability, Spells, Combat Arts, Tradeskills, and etc, for the sake of development; we call them all &amp;quot;Spells&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For the official database release of Spells, we have come up with what we feel is a logical grouping of spell IDs for our database. This ensures consistency and ease of data retrieval when we need to look something up quickly. In this, Spell IDs have &amp;quot;ranges&amp;quot; that logically fit within our determined bounds. See [[Developer:Spell_IDs | this chart]] for a detailed explanation of our Spell ID structures.&lt;br /&gt;
&lt;br /&gt;
== Spells List ==&lt;br /&gt;
&lt;br /&gt;
Using the VPK Extractor tool by Blaz (google) you can extract the spellcast.dat file and view it with notepad.&lt;br /&gt;
&lt;br /&gt;
Or go here&lt;br /&gt;
*[[SpellEffectList | Spell List]]&lt;br /&gt;
&lt;br /&gt;
== Spell Videos ==&lt;br /&gt;
&lt;br /&gt;
I am going to post a video on youtube of all the spells being cast 1 - 2000 so you can see the visual/sound effects and what icon they have.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=GsmQ_Yqf8ZE]2 - 100]&lt;br /&gt;
[http://www.youtube.com/watch?v=wKgm26VKXpE]101 - 200]&lt;br /&gt;
[http://www.youtube.com/watch?v=44sjPA7Ey6E]201 - 300]&lt;br /&gt;
[http://www.youtube.com/watch?v=KnfQTYu4ngw]301 - 400]&lt;br /&gt;
[http://www.youtube.com/watch?v=yYxpY_265Zk]1000 - 1100]&lt;br /&gt;
[http://www.youtube.com/watch?v=AdB8KNW1hrQ]1101 - 1200]&lt;br /&gt;
[http://www.youtube.com/watch?v=y2L_ZbB_cZw]1201 - 1300]&lt;br /&gt;
[http://www.youtube.com/watch?v=BdWhScdSmVU]1301 - 1400]&lt;br /&gt;
[http://www.youtube.com/watch?v=y-uL6Utrw_A]1401 - 1455]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lua Scripts ==&lt;br /&gt;
&lt;br /&gt;
Here are some example spell scripts to get you started&lt;br /&gt;
&lt;br /&gt;
Heal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--main process function&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	-- syntax for SpellDamage is Target, DamageType, and Damage&lt;br /&gt;
	--SpellDamage(Target, DamageType, Damage)&lt;br /&gt;
	ModifyHP(Caster, 20) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Poison/Dot&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
	SpellDamage(Target, 6, 30)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Levitate&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	SetServerControlFlag(Caster, 1, 32, 1)&lt;br /&gt;
	-- runs for 200 ticks&lt;br /&gt;
	SendPopUpMessage(Caster, &amp;quot;You feel lighter&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
	SetServerControlFlag(Caster, 1, 32, 0)&lt;br /&gt;
	SendPopUpMessage(Caster, &amp;quot;You feel heavier&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
HP Buff&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, DamageType, Damage)&lt;br /&gt;
	SetMaxHP(Target, (GetMaxHP(Target) + 50))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tick(Caster, Target, DDType, MinDDVal, MaxDDVal, EffectType, MinEffectVal, MaxEffectVal)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
	SetMaxHP(Target, (GetMaxHP(Target) - 50))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using spells in items ==&lt;br /&gt;
&lt;br /&gt;
You can take use of the CastSpell(Target, SpellID, SpellTier, Caster) function in your item scripts to have a spell executed. This is useful for when you want your item to start an effect but also remove it after a duration. (See spell_tiers duration1/duration2 and the spell lua function remove()) &lt;br /&gt;
&lt;br /&gt;
== Spell Tables ==&lt;br /&gt;
&lt;br /&gt;
=== Spells ===&lt;br /&gt;
&lt;br /&gt;
==== ID ====&lt;br /&gt;
This is the unique ID for your spell. Just choose a number you have not used yet.&lt;br /&gt;
&lt;br /&gt;
==== Version ====&lt;br /&gt;
Unknown/ I have changed this value and it appears to do nothing.&lt;br /&gt;
&lt;br /&gt;
==== Sub_Version ====&lt;br /&gt;
Unknown/ I have changed this value and it appears to do nothing.&lt;br /&gt;
&lt;br /&gt;
==== Type ====&lt;br /&gt;
Unknown&lt;br /&gt;
&lt;br /&gt;
could be what kind of damage it deals ex slashing or crushing.&lt;br /&gt;
&lt;br /&gt;
==== Cast_Type ====&lt;br /&gt;
0 = Normal&lt;br /&gt;
1 = Toggle, casting it the first time turns the spell on, casting it a second time turns the spell off.&lt;br /&gt;
&lt;br /&gt;
==== Name ====&lt;br /&gt;
The Name you give your spell. &lt;br /&gt;
Example : Sprint&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
Gives the player a short description of the spell when the put their mouse over it appears in the upper right corner under spell name.&lt;br /&gt;
&lt;br /&gt;
==== Icon ====&lt;br /&gt;
This is the top icon and is the icon that will be shown in your spell book. I will update the id's as I try them.&lt;br /&gt;
1: Blue lightning bolt&lt;br /&gt;
I will post pictures of the rest.&lt;br /&gt;
example sprint2 would have the id of 2 sprint 3 would have an id of 3 ext....&lt;br /&gt;
[http://xs226.xs.to/xs226/08151/spells_page1260.jpg Image]&lt;br /&gt;
&lt;br /&gt;
Icons 792 - 2001 are just plain white.&lt;br /&gt;
&lt;br /&gt;
==== Icon2 ====&lt;br /&gt;
This is the bottom icon of your spell this will show the icon that is used to make combo's. I will update the id's as I try them.&lt;br /&gt;
1: Warrior type / blue / shield / 1&lt;br /&gt;
2: Warrior type / blue / horn / 1&lt;br /&gt;
3: Warrior type / blue / fist / 1&lt;br /&gt;
4: Warrior type / blue / boot / 1&lt;br /&gt;
5: Warrior type / blue / muscle-flex / 1&lt;br /&gt;
6: Warrior type / blue / sword / 1&lt;br /&gt;
7: Warrior type / blue / shield / 2&lt;br /&gt;
8: Warrior type / blue / horn / 2&lt;br /&gt;
9: Warrior type / blue / fist / 2&lt;br /&gt;
10: Warrior type / blue / boot / 2&lt;br /&gt;
11: Warrior type / blue / muscle-flex / 2&lt;br /&gt;
12: Healer Type / gold / chalice / 1&lt;br /&gt;
13: Healer Type / gold / symbol / 1&lt;br /&gt;
14: Healer Type / gold / hammer / 1&lt;br /&gt;
15: Healer Type / gold / eye / 1&lt;br /&gt;
16: Healer Type / gold / moon / 1&lt;br /&gt;
17: Healer Type / gold / stone henge / 1&lt;br /&gt;
18: Healer Type / gold / chalice / 2&lt;br /&gt;
19: Healer Type / gold / symbol / 2&lt;br /&gt;
20: Healer Type / gold / hammer / 2&lt;br /&gt;
21:&lt;br /&gt;
22:&lt;br /&gt;
23:&lt;br /&gt;
24:&lt;br /&gt;
25:&lt;br /&gt;
26:&lt;br /&gt;
27:&lt;br /&gt;
28:&lt;br /&gt;
29:&lt;br /&gt;
30:&lt;br /&gt;
31:&lt;br /&gt;
32:&lt;br /&gt;
33:&lt;br /&gt;
34:&lt;br /&gt;
35:&lt;br /&gt;
36:&lt;br /&gt;
37:&lt;br /&gt;
38:&lt;br /&gt;
39:&lt;br /&gt;
40:&lt;br /&gt;
41:&lt;br /&gt;
42:&lt;br /&gt;
43:&lt;br /&gt;
44:&lt;br /&gt;
45:&lt;br /&gt;
46:&lt;br /&gt;
47:&lt;br /&gt;
48: Generic icon.&lt;br /&gt;
&lt;br /&gt;
The max number here is 48 before the picture is just blank.&lt;br /&gt;
==== Icon Type ====&lt;br /&gt;
I am unsure of what this affects.&lt;br /&gt;
&lt;br /&gt;
==== Class_Skill ====&lt;br /&gt;
I am unsure of what this affects. I leave it at 0&lt;br /&gt;
&lt;br /&gt;
==== Mastery_Skill ====&lt;br /&gt;
I am unsure of what this affects. I leave it at 0&lt;br /&gt;
&lt;br /&gt;
==== Tier ====&lt;br /&gt;
This is what determines what level your spell is.&lt;br /&gt;
Here are the values.&lt;br /&gt;
1: Apprentice 1&lt;br /&gt;
2: Apprentice 2&lt;br /&gt;
3: Apprentice 3&lt;br /&gt;
4: Apprentice 4&lt;br /&gt;
5: Adept 1&lt;br /&gt;
6: Adept 2&lt;br /&gt;
7: Adept 3&lt;br /&gt;
8: Adept 4&lt;br /&gt;
9: Master 1&lt;br /&gt;
10: Master 2&lt;br /&gt;
11: Master 3&lt;br /&gt;
12: Master 4&lt;br /&gt;
&lt;br /&gt;
==== HP_Req ====&lt;br /&gt;
Required HP in order to attempt to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_Req ====&lt;br /&gt;
Required Power in order to attempt to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_Upkeep ====&lt;br /&gt;
How much it costs to keep the spell going.&lt;br /&gt;
Example:  I cast sprint for 8 power and I set my cast time to 6 I would have to pay 8 power every 6 seconds to keep the buff going.&lt;br /&gt;
Cast_Time:&lt;br /&gt;
How long before you must pay the spells upkeep (time in seconds)&lt;br /&gt;
&lt;br /&gt;
==== Recast ====&lt;br /&gt;
How long before you can recast your spell after it ends.&lt;br /&gt;
&lt;br /&gt;
==== Radius ====&lt;br /&gt;
How far in meters away from the current target the spell will affect.&lt;br /&gt;
&lt;br /&gt;
==== Max_AOE_targets ====&lt;br /&gt;
when the radius is greater than 0 the max number of targets the spell will affect.&lt;br /&gt;
&lt;br /&gt;
==== Req_Concentration ====&lt;br /&gt;
How much concentration you need in order to cast the spell. (I set to 0 for now)&lt;br /&gt;
&lt;br /&gt;
==== Range ====&lt;br /&gt;
How far away the target can be from the caster in meters.&lt;br /&gt;
&lt;br /&gt;
==== Duration1 ====&lt;br /&gt;
Minimum length of the spell duration.&lt;br /&gt;
&lt;br /&gt;
==== Duration2 ====&lt;br /&gt;
Maximum length of the spell duration.&lt;br /&gt;
&lt;br /&gt;
==== Duration_Until_Cancel ====&lt;br /&gt;
If the first 2 are not specified then it will last forever until canceled.&lt;br /&gt;
&lt;br /&gt;
==== Call_Frequency ====&lt;br /&gt;
Unknown ( I set to 0)&lt;br /&gt;
&lt;br /&gt;
==== Resistibility ====&lt;br /&gt;
Chance of target resisting the spell.&lt;br /&gt;
&lt;br /&gt;
==== Target_Type ====&lt;br /&gt;
What object you are allowed to cast the spell on.&lt;br /&gt;
0: Self&lt;br /&gt;
1: Enemy&lt;br /&gt;
2: group (AE)&lt;br /&gt;
3: Passive spell / ability&lt;br /&gt;
4: Enemy's Pet&lt;br /&gt;
5: Enemy's Corpse&lt;br /&gt;
6: Group Members Corpse&lt;br /&gt;
7: Unknown&lt;br /&gt;
8: Raid (AE)&lt;br /&gt;
9: Unknown&lt;br /&gt;
10: Unknown&lt;br /&gt;
11: Unknown&lt;br /&gt;
12: Unknown&lt;br /&gt;
13: Unknown&lt;br /&gt;
14: Unknown&lt;br /&gt;
15: Unknown&lt;br /&gt;
16: Unknown&lt;br /&gt;
17: Unknown&lt;br /&gt;
18: Unknown&lt;br /&gt;
19: Unknown&lt;br /&gt;
20: Unknown&lt;br /&gt;
I stopped at 20&lt;br /&gt;
&lt;br /&gt;
==== Recovery ====&lt;br /&gt;
Shows recovery in the spell I am unsure of what this does. (time in hundredths of a second.) 1,0000 = 10 seconds.&lt;br /&gt;
&lt;br /&gt;
==== Level ====&lt;br /&gt;
Minimum Level needed to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Power_req_Percent ====&lt;br /&gt;
The % of power you need remaining in order to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== HP_Req_Percent ====&lt;br /&gt;
The % of HP you need remaining in order to cast the spell.&lt;br /&gt;
&lt;br /&gt;
==== Success_Message ====&lt;br /&gt;
The message you receive on screen when you successfully cast or receive a spell effect.&lt;br /&gt;
Example:&lt;br /&gt;
You begin to sneak.&lt;br /&gt;
&lt;br /&gt;
==== Fade_Message ====&lt;br /&gt;
The message you receive when the spell is canceled / wears off.&lt;br /&gt;
Example:&lt;br /&gt;
You stop sneaking. &lt;br /&gt;
&lt;br /&gt;
==== Lua_Script ====&lt;br /&gt;
The name of the lua script in your spells directory.&lt;br /&gt;
Example:&lt;br /&gt;
Sprint&lt;br /&gt;
Damage&lt;br /&gt;
These are case sensitive and do not need the .lua at the end.&lt;br /&gt;
&lt;br /&gt;
==== Spell_Visual ====&lt;br /&gt;
The visual effect id of the effect you want to see when the spell is cast.&lt;br /&gt;
&lt;br /&gt;
65 is a green glowing wolf like sow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*120- smack that makes u look all green, bubbley and puke&lt;br /&gt;
*121-firey whip&lt;br /&gt;
*122-cover you in ice&lt;br /&gt;
*123-surround you in fish lol&lt;br /&gt;
*124- fish with skin effect&lt;br /&gt;
*125- fish with skin effect&lt;br /&gt;
*126- 3 rotating shields around you&lt;br /&gt;
*127-chain you to the ground&lt;br /&gt;
*128- lightning with ice effect&lt;br /&gt;
*129-spikey ice ring buff&lt;br /&gt;
*130-ice nuke with snow flakes&lt;br /&gt;
*131-icicles fall on you&lt;br /&gt;
*132-green and blue void circle&lt;br /&gt;
*133-rust buff effect&lt;br /&gt;
*134-knock down&lt;br /&gt;
*135-knock to knees&lt;br /&gt;
*136-blue pulsing circle with red glowy buff&lt;br /&gt;
*137-orange sparkles with green body fog&lt;br /&gt;
*138-glowy stone hand above head, gold body glow&lt;br /&gt;
*139- rotating shields with glow&lt;br /&gt;
*140-yellowish shockwave&lt;br /&gt;
*141- purple electric, with fog cloud&lt;br /&gt;
*142- red exploding orb&lt;br /&gt;
*143 - golden exploding orb&lt;br /&gt;
*150 - rotating fire shields&lt;br /&gt;
*151 - rotating fire swords &lt;br /&gt;
*152 - exploding red sphere&lt;br /&gt;
*153 - red glow&lt;br /&gt;
*154 - green leaves and green circle&lt;br /&gt;
*156 - purple fog and blurr&lt;br /&gt;
*157 - rainbow sparkles and swirling swords&lt;br /&gt;
*158 - rocks falling over head&lt;br /&gt;
*159 - swirling leaves and green swords&lt;br /&gt;
&lt;br /&gt;
==== Effect_Message ====&lt;br /&gt;
This is at the bottom of the spell it say something like. increase speed bye 15%&lt;br /&gt;
&amp;quot;for every effect listed you must add 1 number to the number of bullets in spell_display_effects&lt;br /&gt;
&lt;br /&gt;
==== Spell_Book_Type ====&lt;br /&gt;
What spell category the spell will be scribed in.&lt;br /&gt;
0: Spells&lt;br /&gt;
1: Combat arts&lt;br /&gt;
2: Trade skills&lt;br /&gt;
&lt;br /&gt;
==== Interruptible ====&lt;br /&gt;
Is the spell able to be interrupted.&lt;br /&gt;
&lt;br /&gt;
=== Spell_data ===&lt;br /&gt;
&lt;br /&gt;
=== Spell_display_effects ===&lt;br /&gt;
&lt;br /&gt;
== Guide Written By: Chrrox ==&lt;br /&gt;
&lt;br /&gt;
== List of Spell Effects ==&lt;br /&gt;
&lt;br /&gt;
The best way is to use the vpktool by blaz to extract your spellcast.dat file so you have the latest version. However you can see this [[SpellEffectList]] here if you wish.&lt;/div&gt;</summary>
		<author><name>Rhas</name></author>
		
	</entry>
</feed>