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

Tutorial for making vocation?

DedicatedOT

New Member
Joined
Jun 13, 2009
Messages
977
Reaction score
4
Location
USA
Hello,


Anyone know of a good tutorial for making new vocations? I have deep trouble with the XML file -.-

REP++ if you help me.


Thank u!
 
Add this under Elite Knight:

Code:
	<vocation id="12" name="NEW VOCATION" description="a NEW VOCATION" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="5"> 
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>

fromvoc="5"> That means you can promote your master sorcerer
I added vocation id 12 so it dosnt show in the account manager.

Then your Vocations.xml will be looking something like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<vocations>
	<vocation id="0" name="None" description="none" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="0">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/> 
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="1" name="Sorcerer" description="a sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/> 
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="2" name="Druid" description="a druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="3" name="Paladin" description="a paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.4" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="5" name="Master Sorcerer" description="a master sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="1">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="6" name="Elder Druid" description="an elder druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="2">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="7" name="Royal Paladin" description="a royal paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.4" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="3">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="8" name="Elite Knight" description="an elite knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="4">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="12" name="Wizard" description="a wizard" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="5"> 
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
</vocations>
(My new vocation is named wizard)

Understand?
Also remember that the new vocation need spells:
Go to spells.xml, open it (of course)
Then if you want your new vocation to do Energy Wave Edit it like this:
Code:
	<instant name="Energy Wave" words="exevo vis hur" lvl="38" mana="170" direction="1" exhaustion="2000" needlearn="0" script="attack/energy wave.lua">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer"/>
		<vocation name="New Vocation"/>
	</instant>

Then The New vocation need Some weapons to use like Wands, Rods or Sword:
Go to Weapons.xml
If you want your new vocation to use snakebite rod add this this:
Code:
		<vocation name="New Vocation"/>
Then you will have this:
Code:
	<wand id="2182" level="7" mana="2" min="8" max="18" type="earth" function="default"> <!-- Snakebit Rod -->
		<vocation name="Druid"/>
		<vocation name="New Vocation"/>
	</wand>

You can make a new weapon (or spell) to your new vocation:
Find an item in items.xml
Im going to use Crystal Wand
Code:
	<item id="2184" article="a" name="crystal wand">
		<attribute key="weight" value="2800"/>
Now im done with it.
Code:
	<wand id="2184" level="20" mana="5" min="16" max="43" type="ice" function="default"> <!-- Crystal Wand -->
		<vocation name="Druid"/>
	</wand>
Just add it on weapons.xml like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<weapons>
	<wand id="2184" level="20" mana="5" min="16" max="43" type="ice" function="default"> <!-- Crystal Wand -->
		<vocation name="Druid"/>
	</wand>

	<!-- Rods -->
	<wand id="2182" level="7" mana="2" min="8" max="18" type="earth" function="default"> <!-- Snakebit Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2186" level="13" mana="3" min="13" max="25" type="ice" function="default"> <!-- Moonlight Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2185" level="19" mana="5" min="27" max="33" type="death" function="default"> <!-- Necrotic Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="8911" level="22" mana="5" min="27" max="33" type="ice" function="default"> <!-- Northwind Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2181" level="26" mana="8" min="42" max="48" type="earth" function="default"> <!-- Terra Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2183" level="33" mana="13" min="55" max="75" type="ice" function="default"> <!-- Hailstorm Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="8912" level="37" mana="13" min="55" max="75" type="earth" function="default"> <!-- Springsprout Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="8910" level="42" mana="13" min="55" max="75" type="death" function="default"> <!-- Underworld Rod -->
		<vocation name="Druid"/>
	</wand>

	<!-- Wands -->
	<wand id="2190" level="7" mana="2" min="8" max="18" type="energy" function="default"> <!-- Wand of Vortex -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2191" level="13" mana="3" min="13" max="25" type="fire" function="default"> <!-- Wand of Dragonbreath -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2188" level="19" mana="5" min="27" max="33" type="death" function="default"> <!-- Wand of Decay -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="8921" level="22" mana="5" min="27" max="33" type="fire" function="default"> <!-- Wand of Draconia -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2189" level="26" mana="8" min="42" max="48" type="energy" function="default"> <!-- Wand of Cosmic Energy -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2187" level="33" mana="13" min="55" max="75" type="fire" function="default"> <!-- Wand of Inferno -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="8920" level="37" mana="13" min="55" max="75" type="energy" function="default"> <!-- Wand of Starmstorm -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="8922" level="42" mana="13" min="55" max="75" type="death" function="default"> <!-- Wand of Voodoo -->
		<vocation name="Sorcerer"/>
	</wand>

	<!-- Swords -->
	<melee id="2396" function="default"/>
	<melee id="2413" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7385" level="20" unproperly="1" function="default"/>
	<melee id="2377" level="20" unproperly="1" function="default"/>
	<melee id="7408" level="25" unproperly="1" function="default"/>
	<melee id="7449" level="25" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2392" level="30" unproperly="1" function="default"/>
	<melee id="2407" level="30" unproperly="1" function="default"/>
	<melee id="2438" level="30" unproperly="1" function="default"/>
	<melee id="7407" level="30" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7406" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2451" level="35" unproperly="1" function="default"/>
	<melee id="7404" level="40" unproperly="1" function="default"/>
	<melee id="7386" level="40" unproperly="1" function="default"/>
	<melee id="2446" level="45" unproperly="1" function="default"/>
	<melee id="7402" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7383" level="50" unproperly="1" function="default"/>
	<melee id="7391" level="50" unproperly="1" function="default"/>
	<melee id="7416" level="55" unproperly="1" function="default"/>
	<melee id="2393" level="55" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7384" level="60" unproperly="1" function="default"/>
	<melee id="7382" level="60" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7417" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7403" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7418" level="70" unproperly="1" function="default"/>
	<melee id="7405" level="70" unproperly="1" function="default"/>
	<melee id="7390" level="75" unproperly="1" function="default"/>
	<melee id="6528" level="75" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2400" level="80" unproperly="1" function="default"/>
	<melee id="8930" level="100" unproperly="1" function="default"/>
	<melee id="8932" level="100" unproperly="1" function="default"/>
	<melee id="2408" level="110" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2390" level="140" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Fire -->
	<melee id="7744" function="default"/>
	<melee id="7745" level="50" unproperly="1" function="default"/>
	<melee id="7746" level="60" unproperly="1" function="default"/>
	<melee id="7747" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7748" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Ice -->
	<melee id="7763" function="default"/>
	<melee id="7764" level="50" unproperly="1" function="default"/>
	<melee id="7765" level="60" unproperly="1" function="default"/>
	<melee id="7766" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7767" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Earth -->
	<melee id="7854" function="default"/>
	<melee id="7855" level="50" unproperly="1" function="default"/>
	<melee id="7856" level="60" unproperly="1" function="default"/>
	<melee id="7857" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7858" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Energy -->
	<melee id="7869" function="default"/>
	<melee id="7870" level="50" unproperly="1" function="default"/>
	<melee id="7871" level="60" unproperly="1" function="default"/>
	<melee id="7872" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7873" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>

	<!-- Axes -->
	<melee id="2429" level="20" unproperly="1" function="default"/>
	<melee id="2435" level="20" unproperly="1" function="default"/>
	<melee id="2425" level="20" unproperly="1" function="default"/>
	<melee id="2430" level="25" unproperly="1" function="default"/>
	<melee id="2387" level="25" unproperly="1" function="default"/>
	<melee id="2381" level="25" unproperly="1" function="default"/>
	<melee id="2440" level="25" unproperly="1" function="default"/>
	<melee id="2426" level="25" unproperly="1" function="default"/>
	<melee id="3962" level="30" unproperly="1" function="default"/>
	<melee id="7454" level="30" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2432" level="35" unproperly="1" function="default"/>
	<melee id="7380" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7456" level="35" unproperly="1" function="default"/>
	<melee id="7419" level="40" unproperly="1" function="default"/>
	<melee id="7413" level="40" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7412" level="45" unproperly="1" function="default"/>
	<melee id="7436" level="45" unproperly="1" function="default"/>
	<melee id="7411" level="50" unproperly="1" function="default"/>
	<melee id="2447" level="50" unproperly="1" function="default"/>
	<melee id="7388" level="55" unproperly="1" function="default"/>
	<melee id="2427" level="55" unproperly="1" function="default"/>
	<melee id="7389" level="60" unproperly="1" function="default"/>
	<melee id="2414" level="60" unproperly="1" function="default"/>
	<melee id="2454" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2443" level="70" unproperly="1" function="default"/>
	<melee id="7420" level="70" unproperly="1" function="default"/>
	<melee id="7434" level="75" unproperly="1" function="default"/>
	<melee id="6553" level="75" unproperly="1" function="default"/>
	<melee id="7453" level="85" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2431" level="90" unproperly="1" function="default"/>
	<melee id="2415" level="95" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="8924" level="110" unproperly="1" function="default"/>
	<melee id="8925" level="130" unproperly="1" function="default"/>
		<!-- Fire -->
	<melee id="7749" level="20" function="default"/>
	<melee id="7750" level="25" unproperly="1" function="default"/>
	<melee id="7751" level="60" unproperly="1" function="default"/>
	<melee id="7752" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7753" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Ice -->
	<melee id="7768" level="20" function="default"/>
	<melee id="7769" level="25" unproperly="1" function="default"/>
	<melee id="7770" level="60" unproperly="1" function="default"/>
	<melee id="7771" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7772" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Earth -->
	<melee id="7859" level="20" function="default"/>
	<melee id="7860" level="25" unproperly="1" function="default"/>
	<melee id="7861" level="60" unproperly="1" function="default"/>
	<melee id="7862" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7863" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Energy -->
	<melee id="7874" level="20" function="default"/>
	<melee id="7875" level="25" unproperly="1" function="default"/>
	<melee id="7876" level="60" unproperly="1" function="default"/>
	<melee id="7877" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7878" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>

	<!--Clubs -->
	<melee id="2423" level="20" unproperly="1" function="default"/>
	<melee id="7381" level="20" unproperly="1" function="default"/>
	<melee id="7425" level="20" unproperly="1" function="default"/>
	<melee id="7432" level="20" unproperly="1" function="default"/>
	<melee id="2434" level="25" unproperly="1" function="default"/>
	<melee id="7387" level="25" unproperly="1" function="default"/>
	<melee id="7379" level="25" unproperly="1" function="default"/>
	<melee id="7430" level="30" unproperly="1" function="default"/>
	<melee id="2436" level="30" unproperly="1" function="default"/>
	<melee id="7437" level="30" unproperly="1" function="default"/>
	<melee id="3961" level="35" unproperly="1" function="default"/>
	<melee id="2424" level="35" unproperly="1" function="default"/>
	<melee id="7452" level="30" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2445" level="35" unproperly="1" function="default"/>
	<melee id="7451" level="35" unproperly="1" function="default"/>
	<melee id="7455" level="80" unproperly="1" function="default"/>
	<melee id="7392" level="35" unproperly="1" function="default"/>
	<melee id="7426" level="40" unproperly="1" function="default"/>
	<melee id="7427" level="45" unproperly="1" function="default"/>
	<melee id="2391" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7410" level="55" unproperly="1" function="default"/>
	<melee id="7428" level="55" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7415" level="60" unproperly="1" function="default"/>
	<melee id="7414" level="60" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="2444" level="65" unproperly="1" function="default"/>
	<melee id="2452" level="70" unproperly="1" function="default"/>
	<melee id="7422" level="75" unproperly="1" function="default"/>
	<melee id="7429" level="75" unproperly="1" function="default"/>
	<melee id="2453" level="75" unproperly="1" function="default"/>
	<melee id="2437" level="80" unproperly="1" function="default"/>
	<melee id="7431" level="80" unproperly="1" function="default"/>
	<melee id="2421" level="85" unproperly="1" function="default"/>
	<melee id="8928" level="100" unproperly="1" function="default"/>
	<melee id="8929" level="100" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="8927" level="120" unproperly="1" function="default"/>
		<!-- Fire -->
	<melee id="7754" level="20" unproperly="1" function="default"/>
	<melee id="7755" level="35" unproperly="1" function="default"/>
	<melee id="7756" level="60" unproperly="1" function="default"/>
	<melee id="7757" level="35" unproperly="1" function="default"/>
	<melee id="7758" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Ice -->
	<melee id="7773" level="20" unproperly="1" function="default"/>
	<melee id="7774" level="35" unproperly="1" function="default"/>
	<melee id="7775" level="60" unproperly="1" function="default"/>
	<melee id="7776" level="35" unproperly="1" function="default"/>
	<melee id="7777" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Earth -->
	<melee id="7864" level="20" unproperly="1" function="default"/>
	<melee id="7865" level="35" unproperly="1" function="default"/>
	<melee id="7866" level="60" unproperly="1" function="default"/>
	<melee id="7867" level="35" unproperly="1" function="default"/>
	<melee id="7868" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Energy -->
	<melee id="7879" level="20" unproperly="1" function="default"/>
	<melee id="7880" level="35" unproperly="1" function="default"/>
	<melee id="7881" level="60" unproperly="1" function="default"/>
	<melee id="7882" level="35" unproperly="1" function="default"/>
	<melee id="7883" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>

	<!-- Bows and Crossbows -->
	<distance id="8849" level="45" unproperly="1" function="default"> <!-- Modified Crossbow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8850" level="60" unproperly="1" function="default"> <!-- Chain Bolter -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8853" level="80" unproperly="1" function="default"> <!-- Ironworker -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8852" level="100" unproperly="1" function="default"> <!-- Devileye -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8851" level="130" unproperly="1" function="default"> <!-- Royal Crossbow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8857" level="40" unproperly="1" function="default"> <!-- Silkweaver Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8855" level="50" unproperly="1" function="default"> <!-- Composite Hornbow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8856" level="60" unproperly="1" function="default"> <!-- Yol's Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8858" level="70" unproperly="1" function="default"> <!-- Elethriel's Elemental Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8854" level="80" unproperly="1" function="default"> <!-- Warsinger Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>

 	<!-- Ammunition -->
	<distance id="2545" script="poison_arrow.lua"/>
	<distance id="2546" script="explosive_arrow.lua"/>
	<distance id="7366" script="viper_star.lua"/>
	<distance id="3965" level="20" function="default"/>	<!-- Hunting Spear -->
	<distance id="7378" level="25" function="default"/>	<!-- Royal Spear -->
	<distance id="7367" level="42" function="default"/>	<!-- Enchanted Spear -->
	<distance id="7368" level="80" function="default"/>	<!-- Assassin Star -->
	<distance id="7364" level="20" function="default"/>	<!-- Sniper Arrow -->
	<distance id="7365" level="40" function="default"/>	<!-- Onyx Arrow -->
	<distance id="7363" level="30" function="default"/>	<!-- Piercing Bolt -->
	<distance id="2547" level="55" function="default"/>	<!-- Power Bolt -->
	<distance id="6529" level="70" function="default"/>	<!-- Infernal Bolt -->
</weapons>
<?xml version="1.0" encoding="UTF-8"?>
<weapons>
	<wand id="2184" level="20" mana="5" min="16" max="43" type="ice" function="default"> <!-- Crystal Wand -->
		<vocation name="Druid"/>
	</wand>

	<!-- Rods -->
	<wand id="2182" level="7" mana="2" min="8" max="18" type="earth" function="default"> <!-- Snakebit Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2186" level="13" mana="3" min="13" max="25" type="ice" function="default"> <!-- Moonlight Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2185" level="19" mana="5" min="27" max="33" type="death" function="default"> <!-- Necrotic Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="8911" level="22" mana="5" min="27" max="33" type="ice" function="default"> <!-- Northwind Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2181" level="26" mana="8" min="42" max="48" type="earth" function="default"> <!-- Terra Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="2183" level="33" mana="13" min="55" max="75" type="ice" function="default"> <!-- Hailstorm Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="8912" level="37" mana="13" min="55" max="75" type="earth" function="default"> <!-- Springsprout Rod -->
		<vocation name="Druid"/>
	</wand>
	<wand id="8910" level="42" mana="13" min="55" max="75" type="death" function="default"> <!-- Underworld Rod -->
		<vocation name="Druid"/>
	</wand>

	<!-- Wands -->
	<wand id="2190" level="7" mana="2" min="8" max="18" type="energy" function="default"> <!-- Wand of Vortex -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2191" level="13" mana="3" min="13" max="25" type="fire" function="default"> <!-- Wand of Dragonbreath -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2188" level="19" mana="5" min="27" max="33" type="death" function="default"> <!-- Wand of Decay -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="8921" level="22" mana="5" min="27" max="33" type="fire" function="default"> <!-- Wand of Draconia -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2189" level="26" mana="8" min="42" max="48" type="energy" function="default"> <!-- Wand of Cosmic Energy -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="2187" level="33" mana="13" min="55" max="75" type="fire" function="default"> <!-- Wand of Inferno -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="8920" level="37" mana="13" min="55" max="75" type="energy" function="default"> <!-- Wand of Starmstorm -->
		<vocation name="Sorcerer"/>
	</wand>
	<wand id="8922" level="42" mana="13" min="55" max="75" type="death" function="default"> <!-- Wand of Voodoo -->
		<vocation name="Sorcerer"/>
	</wand>

	<!-- Swords -->
	<melee id="2396" function="default"/>
	<melee id="2413" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7385" level="20" unproperly="1" function="default"/>
	<melee id="2377" level="20" unproperly="1" function="default"/>
	<melee id="7408" level="25" unproperly="1" function="default"/>
	<melee id="7449" level="25" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2392" level="30" unproperly="1" function="default"/>
	<melee id="2407" level="30" unproperly="1" function="default"/>
	<melee id="2438" level="30" unproperly="1" function="default"/>
	<melee id="7407" level="30" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7406" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2451" level="35" unproperly="1" function="default"/>
	<melee id="7404" level="40" unproperly="1" function="default"/>
	<melee id="7386" level="40" unproperly="1" function="default"/>
	<melee id="2446" level="45" unproperly="1" function="default"/>
	<melee id="7402" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7383" level="50" unproperly="1" function="default"/>
	<melee id="7391" level="50" unproperly="1" function="default"/>
	<melee id="7416" level="55" unproperly="1" function="default"/>
	<melee id="2393" level="55" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7384" level="60" unproperly="1" function="default"/>
	<melee id="7382" level="60" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7417" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7403" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7418" level="70" unproperly="1" function="default"/>
	<melee id="7405" level="70" unproperly="1" function="default"/>
	<melee id="7390" level="75" unproperly="1" function="default"/>
	<melee id="6528" level="75" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2400" level="80" unproperly="1" function="default"/>
	<melee id="8930" level="100" unproperly="1" function="default"/>
	<melee id="8932" level="100" unproperly="1" function="default"/>
	<melee id="2408" level="110" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2390" level="140" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Fire -->
	<melee id="7744" function="default"/>
	<melee id="7745" level="50" unproperly="1" function="default"/>
	<melee id="7746" level="60" unproperly="1" function="default"/>
	<melee id="7747" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7748" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Ice -->
	<melee id="7763" function="default"/>
	<melee id="7764" level="50" unproperly="1" function="default"/>
	<melee id="7765" level="60" unproperly="1" function="default"/>
	<melee id="7766" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7767" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Earth -->
	<melee id="7854" function="default"/>
	<melee id="7855" level="50" unproperly="1" function="default"/>
	<melee id="7856" level="60" unproperly="1" function="default"/>
	<melee id="7857" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7858" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Energy -->
	<melee id="7869" function="default"/>
	<melee id="7870" level="50" unproperly="1" function="default"/>
	<melee id="7871" level="60" unproperly="1" function="default"/>
	<melee id="7872" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7873" level="45" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>

	<!-- Axes -->
	<melee id="2429" level="20" unproperly="1" function="default"/>
	<melee id="2435" level="20" unproperly="1" function="default"/>
	<melee id="2425" level="20" unproperly="1" function="default"/>
	<melee id="2430" level="25" unproperly="1" function="default"/>
	<melee id="2387" level="25" unproperly="1" function="default"/>
	<melee id="2381" level="25" unproperly="1" function="default"/>
	<melee id="2440" level="25" unproperly="1" function="default"/>
	<melee id="2426" level="25" unproperly="1" function="default"/>
	<melee id="3962" level="30" unproperly="1" function="default"/>
	<melee id="7454" level="30" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2432" level="35" unproperly="1" function="default"/>
	<melee id="7380" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7456" level="35" unproperly="1" function="default"/>
	<melee id="7419" level="40" unproperly="1" function="default"/>
	<melee id="7413" level="40" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7412" level="45" unproperly="1" function="default"/>
	<melee id="7436" level="45" unproperly="1" function="default"/>
	<melee id="7411" level="50" unproperly="1" function="default"/>
	<melee id="2447" level="50" unproperly="1" function="default"/>
	<melee id="7388" level="55" unproperly="1" function="default"/>
	<melee id="2427" level="55" unproperly="1" function="default"/>
	<melee id="7389" level="60" unproperly="1" function="default"/>
	<melee id="2414" level="60" unproperly="1" function="default"/>
	<melee id="2454" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2443" level="70" unproperly="1" function="default"/>
	<melee id="7420" level="70" unproperly="1" function="default"/>
	<melee id="7434" level="75" unproperly="1" function="default"/>
	<melee id="6553" level="75" unproperly="1" function="default"/>
	<melee id="7453" level="85" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2431" level="90" unproperly="1" function="default"/>
	<melee id="2415" level="95" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="8924" level="110" unproperly="1" function="default"/>
	<melee id="8925" level="130" unproperly="1" function="default"/>
		<!-- Fire -->
	<melee id="7749" level="20" function="default"/>
	<melee id="7750" level="25" unproperly="1" function="default"/>
	<melee id="7751" level="60" unproperly="1" function="default"/>
	<melee id="7752" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7753" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Ice -->
	<melee id="7768" level="20" function="default"/>
	<melee id="7769" level="25" unproperly="1" function="default"/>
	<melee id="7770" level="60" unproperly="1" function="default"/>
	<melee id="7771" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7772" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Earth -->
	<melee id="7859" level="20" function="default"/>
	<melee id="7860" level="25" unproperly="1" function="default"/>
	<melee id="7861" level="60" unproperly="1" function="default"/>
	<melee id="7862" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7863" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
		<!-- Energy -->
	<melee id="7874" level="20" function="default"/>
	<melee id="7875" level="25" unproperly="1" function="default"/>
	<melee id="7876" level="60" unproperly="1" function="default"/>
	<melee id="7877" level="35" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="7878" level="65" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>

	<!--Clubs -->
	<melee id="2423" level="20" unproperly="1" function="default"/>
	<melee id="7381" level="20" unproperly="1" function="default"/>
	<melee id="7425" level="20" unproperly="1" function="default"/>
	<melee id="7432" level="20" unproperly="1" function="default"/>
	<melee id="2434" level="25" unproperly="1" function="default"/>
	<melee id="7387" level="25" unproperly="1" function="default"/>
	<melee id="7379" level="25" unproperly="1" function="default"/>
	<melee id="7430" level="30" unproperly="1" function="default"/>
	<melee id="2436" level="30" unproperly="1" function="default"/>
	<melee id="7437" level="30" unproperly="1" function="default"/>
	<melee id="3961" level="35" unproperly="1" function="default"/>
	<melee id="2424" level="35" unproperly="1" function="default"/>
	<melee id="7452" level="30" unproperly="1" function="default">
		<vocation name="Knight"/>
	</melee>
	<melee id="2445" level="35" unproperly="1" function="default"/>
	<melee id="7451" level="35" unproperly="1" function="default"/>
	<melee id="7455" level="80" unproperly="1" function="default"/>
	<melee id="7392" level="35" unproperly="1" function="default"/>
	<melee id="7426" level="40" unproperly="1" function="default"/>
	<melee id="7427" level="45" unproperly="1" function="default"/>
	<melee id="2391" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7410" level="55" unproperly="1" function="default"/>
	<melee id="7428" level="55" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="7415" level="60" unproperly="1" function="default"/>
	<melee id="7414" level="60" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="2444" level="65" unproperly="1" function="default"/>
	<melee id="2452" level="70" unproperly="1" function="default"/>
	<melee id="7422" level="75" unproperly="1" function="default"/>
	<melee id="7429" level="75" unproperly="1" function="default"/>
	<melee id="2453" level="75" unproperly="1" function="default"/>
	<melee id="2437" level="80" unproperly="1" function="default"/>
	<melee id="7431" level="80" unproperly="1" function="default"/>
	<melee id="2421" level="85" unproperly="1" function="default"/>
	<melee id="8928" level="100" unproperly="1" function="default"/>
	<melee id="8929" level="100" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
	<melee id="8927" level="120" unproperly="1" function="default"/>
		<!-- Fire -->
	<melee id="7754" level="20" unproperly="1" function="default"/>
	<melee id="7755" level="35" unproperly="1" function="default"/>
	<melee id="7756" level="60" unproperly="1" function="default"/>
	<melee id="7757" level="35" unproperly="1" function="default"/>
	<melee id="7758" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Ice -->
	<melee id="7773" level="20" unproperly="1" function="default"/>
	<melee id="7774" level="35" unproperly="1" function="default"/>
	<melee id="7775" level="60" unproperly="1" function="default"/>
	<melee id="7776" level="35" unproperly="1" function="default"/>
	<melee id="7777" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Earth -->
	<melee id="7864" level="20" unproperly="1" function="default"/>
	<melee id="7865" level="35" unproperly="1" function="default"/>
	<melee id="7866" level="60" unproperly="1" function="default"/>
	<melee id="7867" level="35" unproperly="1" function="default"/>
	<melee id="7868" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>
		<!-- Energy -->
	<melee id="7879" level="20" unproperly="1" function="default"/>
	<melee id="7880" level="35" unproperly="1" function="default"/>
	<melee id="7881" level="60" unproperly="1" function="default"/>
	<melee id="7882" level="35" unproperly="1" function="default"/>
	<melee id="7883" level="50" unproperly="1" function="default">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
	</melee>

	<!-- Bows and Crossbows -->
	<distance id="8849" level="45" unproperly="1" function="default"> <!-- Modified Crossbow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8850" level="60" unproperly="1" function="default"> <!-- Chain Bolter -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8853" level="80" unproperly="1" function="default"> <!-- Ironworker -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8852" level="100" unproperly="1" function="default"> <!-- Devileye -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8851" level="130" unproperly="1" function="default"> <!-- Royal Crossbow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8857" level="40" unproperly="1" function="default"> <!-- Silkweaver Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8855" level="50" unproperly="1" function="default"> <!-- Composite Hornbow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8856" level="60" unproperly="1" function="default"> <!-- Yol's Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8858" level="70" unproperly="1" function="default"> <!-- Elethriel's Elemental Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>
	<distance id="8854" level="80" unproperly="1" function="default"> <!-- Warsinger Bow -->
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</distance>

 	<!-- Ammunition -->
	<distance id="2545" script="poison_arrow.lua"/>
	<distance id="2546" script="explosive_arrow.lua"/>
	<distance id="7366" script="viper_star.lua"/>
	<distance id="3965" level="20" function="default"/>	<!-- Hunting Spear -->
	<distance id="7378" level="25" function="default"/>	<!-- Royal Spear -->
	<distance id="7367" level="42" function="default"/>	<!-- Enchanted Spear -->
	<distance id="7368" level="80" function="default"/>	<!-- Assassin Star -->
	<distance id="7364" level="20" function="default"/>	<!-- Sniper Arrow -->
	<distance id="7365" level="40" function="default"/>	<!-- Onyx Arrow -->
	<distance id="7363" level="30" function="default"/>	<!-- Piercing Bolt -->
	<distance id="2547" level="55" function="default"/>	<!-- Power Bolt -->
	<distance id="6529" level="70" function="default"/>	<!-- Infernal Bolt -->
</weapons>

If need more, just ask me :)
Yours, RunarM.
 
Last edited:
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<vocations>
	<vocation id="0" name="None" description="none" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="15" gainmanaticks="3" gainmanaamount="40" manamultiplier="4.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="0">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/> 
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="1" name="Sorcerer" description="a sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="8" gainmanaticks="3" gainmanaamount="40" manamultiplier="1.1" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="1">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/> 
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="2" name="Druid" description="a druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="8" gainmanaticks="3" gainmanaamount="40" manamultiplier="1.1" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="2">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="3" name="Paladin" description="a paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="8" gainmanaticks="4" gainmanaamount="40" manamultiplier="1.4" attackspeed="300" soulmax="100" gainsoulticks="120" fromvoc="3">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="8" gainmanaticks="6" gainmanaamount="40" manamultiplier="3.0" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="4">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="5" name="Master Sorcerer" description="a master sorcerer" gaincap="10" gainhp="10" gainmana="50" gainhpticks="4" gainhpamount="12" gainmanaticks="2" gainmanaamount="60" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="1">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="6" name="Elder Druid" description="an elder druid" gaincap="10" gainhp="10" gainmana="50" gainhpticks="4" gainhpamount="12" gainmanaticks="2" gainmanaamount="60" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="2">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="7" name="Royal Paladin" description="a royal paladin" gaincap="20" gainhp="15" gainmana="40" gainhpticks="3" gainhpamount="12" gainmanaticks="3" gainmanaamount="60" manamultiplier="1.4" attackspeed="300" soulmax="200" gainsoulticks="15" fromvoc="3">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="8" name="Elite Knight" description="an elite knight" gaincap="25" gainhp="50" gainmana="25" gainhpticks="2" gainhpamount="10" gainmanaticks="4" gainmanaamount="60" manamultiplier="3.0" attackspeed="100" soulmax="200" gainsoulticks="15" fromvoc="4">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="12" name="Super Knight" description="a super knight" gaincap="100" gainhp="100" gainmana="50" gainhpticks="2" gainhpamount="100" gainmanaticks="10" gainmanaamount="240" manamultiplier="3.0" attackspeed="100" soulmax="200" gainsoulticks="15" fromvoc="0">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="11" name="Super Paladin" description="a super paladin" gaincap="30" gainhp="40" gainmana="80" gainhpticks="7" gainhpamount="150" gainmanaticks="15" gainmanaamount="300" manamultiplier="1.4" attackspeed="500" soulmax="200" gainsoulticks="15" fromvoc="0">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="10" name="Super Druid" description="a super druid" gaincap="20" gainhp="20" gainmana="60" gainhpticks="8" gainhpamount="100" gainmanaticks="8" gainmanaamount="500" manamultiplier="1.1" attackspeed="900" soulmax="200" gainsoulticks="15" fromvoc="0">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="9" name="Super Sorcerer" description="a super sorcerer" gaincap="20" gainhp="20" gainmana="60" gainhpticks="7" gainhpamount="100" gainmanaticks="8" gainmanaamount="500" manamultiplier="1.1" attackspeed="900" soulmax="200" gainsoulticks="15" fromvoc="0">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
</vocations>

Change the Vocation ID and the Vocation Name.
You can make as much as you want, keeping the vocation id rule. And in spells.xml add the new vocations too like:

Lua:
	<instant name="Holy Rage" words="exori mas san vis" lvl="1400" mana="1960" prem="0" casterTargetOrDirection="1" exhaustion="1000" needlearn="0" lockwalls="1" script="attack/exori mas san.lua">
		<vocation name="Paladin"/>  
		<vocation name="Royal Paladin"/>
		<vocation name="Super Paladin" /> -- Add new vocation here

Hope it helps
 
Add this under Elite Knight:

Code:
	<vocation id="12" name="NEW VOCATION" description="a NEW VOCATION" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="5"> 
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>

fromvoc="5"> That means you can promote your master sorcerer
I added vocation id 12 so it dosnt show in the account manager.

Then your Vocation.xml will be looking something like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<vocations>
	<vocation id="0" name="None" description="none" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="0">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/> 
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="1" name="Sorcerer" description="a sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/> 
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="2" name="Druid" description="a druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="3" name="Paladin" description="a paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.4" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="5" name="Master Sorcerer" description="a master sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="1">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="2.0"/>
		<skill id="2" multiplier="2.0"/>
		<skill id="3" multiplier="2.0"/>
		<skill id="4" multiplier="2.0"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="6" name="Elder Druid" description="an elder druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="2">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.5"/>
		<skill id="1" multiplier="1.8"/>
		<skill id="2" multiplier="1.8"/>
		<skill id="3" multiplier="1.8"/>
		<skill id="4" multiplier="1.8"/>
		<skill id="5" multiplier="1.5"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="7" name="Royal Paladin" description="a royal paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.4" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="3">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.2"/>
		<skill id="1" multiplier="1.2"/>
		<skill id="2" multiplier="1.2"/>
		<skill id="3" multiplier="1.2"/>
		<skill id="4" multiplier="1.1"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="8" name="Elite Knight" description="an elite knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="4">
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
	<vocation id="12" name="Wizard" description="a wizard" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="5"> 
		<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
		<skill id="0" multiplier="1.1"/>
		<skill id="1" multiplier="1.1"/>
		<skill id="2" multiplier="1.1"/>
		<skill id="3" multiplier="1.1"/>
		<skill id="4" multiplier="1.4"/>
		<skill id="5" multiplier="1.1"/>
		<skill id="6" multiplier="1.1"/>
	</vocation>
</vocations>

Understand?

You're fast today :p
 
Like which? You can easely do this:

For instant normal area spells

Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_SMALLPLANTS)
setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 1.2, 0, 1.6, 0)
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 1.2, 0, 1,6, 0)

arr1 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 2, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}
 
arr2 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 2, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}

local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)

local function onCastSpell1(parameters)
doCombat(parameters.cid, combat1, parameters.var)
end
 
local function onCastSpell2(parameters)
doCombat(parameters.cid, combat2, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 }
addEvent(onCastSpell1, 0, parameters)
addEvent(onCastSpell2, 0, parameters)

end

Do the arr you want, and remember to add each area local combat etc like:

Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_SMALLPLANTS)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1.2, 0, 1.6, 0)

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

local area = createCombatArea(arr)
setCombatArea(combat, area)

local function onCastSpell(parameters)
doCombat(parameters.cid, combat, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat = combat }

addEvent(onCastSpell, 0, parameters)
end

If you add more areas, just add another one of the things up there ^ ^
with:

Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_SMALLPLANTS)
setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 1.2, 0, 1.6, 0)
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 1.2, 0, 1,6, 0)

Combat1, combat2. And same with the other things:

Lua:
arr1 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 2, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}
 
arr2 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 2, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}

And more more more...

Lua:
local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)

local function onCastSpell1(parameters)
doCombat(parameters.cid, combat1, parameters.var)
end
 
local function onCastSpell2(parameters)
doCombat(parameters.cid, combat2, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 }
addEvent(onCastSpell1, 0, parameters)
addEvent(onCastSpell2, 0, parameters)

end

When you finish it, save it as "spellname.lua" and place it on "server\data\spells\scripts\attack ( or w/e spell is )

If you doing more areas, just put another line for the number 3 parameters. Hope you understand XD
 
Then add the line in spells.xml like this:

Lua:
	<instant name="Ethereal Holy Exori" words="san exori con" lvl="2100" mana="2000" prem="0" selftarget="1" exhaustion="1150" lockwalls="1" needlearn="0" script="attack/san exori con.lua">
		<vocation name="Paladin"/>  
		<vocation name="Royal Paladin"/>
		<vocation name="Super Paladin" />
	</instant>
 
I see how it can be done but how I do make it where you can pick to be a new class from account manager. Or how would I make it so a normal class Sorc,duid..etc can pick to be a new class at a certain level. Asking because I see "fromvoc="5"> That means you can promote your master sorcerer
I added vocation id 12 so it dosnt show in the account manager." and I was wondering.
 
Sadly I have to bump this again. I just need a simple answer..ill repost here what the question was/is.
I see how it can be done but how I do make it where you can pick to be a new class from account manager. Or how would I make it so a normal class Sorc,duid..etc can pick to be a new class at a certain level. Asking because I see "fromvoc="5"> That means you can promote your master sorcerer
I added vocation id 12 so it dosnt show in the account manager." and I was wondering.
 
I see how it can be done but how I do make it where you can pick to be a new class from account manager. Or how would I make it so a normal class Sorc,duid..etc can pick to be a new class at a certain level. Asking because I see "fromvoc="5"> That means you can promote your master sorcerer
I added vocation id 12 so it dosnt show in the account manager." and I was wondering.

Vocation id 12+ dosn't show in the account manager, only 0 - 11 :wub:
If you want a new vocation class like:
'Star' vocation id: 9 (showed in account manager)
'Shining Star' vocation id: 12 (dosn't show in acc manager)

Then you just add at both "fromvoc="9">
Understand?
 
Back
Top