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

TFS 0.X Soul regen vocations.xml question

newby

Active Member
Joined
Jun 11, 2016
Messages
164
Best answers
0
Reaction score
38
How many should i set gainsoulticks="120"
To when players hunt regen 1 soul point each 3 seconds?

Code:
   <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="1" gainmanaticks="1" gainmanaamount="1" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1">
     <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
     <skill fist="5.0" club="5.0" sword="5.0" axe="5.0" distance="5.0" shielding="1.5" fishing="1.1" experience="1.0"/>
   </vocation>
   <vocation id="2" name="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="1" gainmanaticks="1" gainmanaamount="1" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2">
     <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="0.8" magHealingDamage="1.2" defense="1.0" magDefense="1.0" armor="1.0"/>
     <skill fist="5.0" club="5.0" sword="5.0" axe="5.0" distance="5.0" shielding="1.5" fishing="1.1" experience="1.0"/>
   </vocation>
   <vocation id="3" name="Paladin" description="a paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="1.5" gainhpamount="1" gainmanaticks="1.5" gainmanaamount="1" manamultiplier="1.4" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="3">
     <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
     <skill fist="5.0" club="5.0" sword="5.0" axe="5.0" distance="1.1" shielding="1.4" fishing="1.1" experience="1.0"/>
   </vocation>
   <vocation id="4" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="1" gainmanaticks="2" gainmanaamount="1" manamultiplier="3.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="4">
     <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
     <skill fist="5.0" club="1.1" sword="1.1" axe="1.1" distance="5.0" shielding="1.1" fishing="1.1" experience="1.0"/>
   </vocation>
 

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,622
Best answers
12
Reaction score
215
Location
Poland
Soul works in clean/default TFS like: when player attacking monster (have fight status [PZ]) he gain one soul per soulticks
To gain 1 soul point per 3 seconds you must edit this:
XML:
gainsoulticks="120"
to
XML:
gainsoulticks="180"
180/60 = 3,
its counting in seconds.
 

Infernum

Support Team
Joined
Feb 14, 2015
Messages
5,485
Best answers
545
Reaction score
3,355
You'd change it to 3, not 180 (you're thinking 3 minutes).
 
OP
newby

newby

Active Member
Joined
Jun 11, 2016
Messages
164
Best answers
0
Reaction score
38
Thank you guys!
 
Top