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

vocations.xml problem

nsanee

Member
Senator
Joined
Apr 13, 2008
Messages
669
Reaction score
20
Hello, recently I tried to add second promotions for each of the already promoted vocations. The example looks like this:

Code:
	<vocation id="9" name="new sorc" description="a new sorc" gaincap="20" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="5">
		<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="10" name="new druid" description="a new druid" gaincap="20" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="6">
		<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="11" name="new pally" description="a new pally" gaincap="30" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.4" attackspeed="1400" soulmax="200" gainsoulticks="15" fromvoc="7">
		<formula meleeDamage="1.0" distDamage="1.2" defense="1.3" armor="1.3"/>
		<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="12" name="new knight" description="a new knight " gaincap="40" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="8">
		<formula meleeDamage="1.1" distDamage="1.0" defense="1.6" armor="1.6"/>
		<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>

I added these lines after the last promoted vocation - elite knight. Now, what happens is as soon someone who had one of the basic promotions logs in he is further promoted (no msg whatsoever). So for example if an elite knight logs in after I've made these changes to vocations.xml he instantly becomes "new knight".
Now the funny part is that this doesn't happen when I set "fromvoc=" fields for new vocations to anything else than 5-8, but then my NPC tells me I am already promoted.

Can some one tell me if it's a bug or am I doing something wrong?
 
Thats how works the promotion system.
To make promotion from a promotion, you would need to change sources and add there function, which would be responsible for higher promotions.
 
just make a new vocation in stead of a promotion stage and use that instead it will be annoying and ugly but it will get the job done
 
Back
Top