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

[Help][C++ Or lua] How can add new option for vocation.xml?

Matians

New Member
Joined
Dec 5, 2010
Messages
40
Reaction score
1
HIIII people, I have server and i need create new option in vocation.xml i use TFS 0.3.6pl100 and this is one example

Code:
<vocation id="1" name="Martial Artist" description="a human martial artist" needpremium="0" gaincap="30" gainhp="75" gainmana="39" gainhpticks="15" gainhpamount="100" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="120" fromvoc="1" droploot="yes">
      <formula meleeDamage="12.5" distDamage="5.0" wandDamage="1.0" magDamage="1.5" magHealingDamage="2.0" defense="10.0" magDefense="6.0" armor="15.0"/>
      <skill fist="2.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="2.5" fishing="2.1" experience="1.5"/>
   </vocation>

and I need create a new option. RAZE, examplo vocation with raze.

Code:
<vocation id="1" name="Martial Artist" description="a human martial artist" raze="Human" needpremium="0" gaincap="30" gainhp="75" gainmana="39" gainhpticks="15" gainhpamount="100" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="120" fromvoc="1" droploot="yes">
      <formula meleeDamage="12.5" distDamage="5.0" wandDamage="1.0" magDamage="1.5" magHealingDamage="2.0" defense="10.0" magDefense="6.0" armor="15.0"/>
      <skill fist="2.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="2.5" fishing="2.1" experience="1.5"/>
   </vocation>
 
later of add the vocation to vocations.xml renember you need to put values on spells.xml, and movements for can use spells and items!!
 
Nono, I need add new option to vocation.xml and no edit spell.xml or other... I need edit the sources, and I don't know how.

Closed. I found the solution. If somebody need the answer send me one p.m and I give the answer of my ask.
 
Last edited:
Back
Top