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

2 "Promoted Vocation per voc" Works?

Thork

New Member
Joined
Aug 4, 2007
Messages
287
Reaction score
0
Location
Sweden
Hello guys! does it work for an example someone how to add if your playing Knight then when you reach lvl 100, 150 or 200(just any) Then at the promoter you will be able to choose between 2 Promotions.

Example: Guardian Knight / Critical Knight?

So people can choose to fight with Critical Hits only as a Knight or normally with some good custom spells (better at spells) etc

Would kick ass to be honest if this was quite easy to make for a good programmer/scripter.

And Mages could possible use Armor that resists alot of Physical dmg just to be stronger to a "Critical" Knight
 
Ofcourse it works, you just have create a new vocation then just add in your promotor-NPC some lines that makes it possible to choose between those two promotion
 
Ofcourse it works, you just have create a new vocation then just add in your promotor-NPC some lines that makes it possible to choose between those two promotion

How hard is it to add another vocation?
 
PHP:
	<vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="550" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no">
		<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="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
	</vocation>

That one was example.
Edit these parts:

PHP:
id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="550"
name = Vocation name.
description = Vocation description.
needpremium = If 1, then need premium to get promoted/or get that voc.
gaincap = x cap per lvl up.
gainghp = x hp per lvl up.
gainmana = x mana per lvl up.
gainhpticks = x much hp you get per x second. (In that case, gain 1 hp per 6 seconds.)
gainhpamount = x much hp per second.
gainmanaticks = x much mana you get per x second. (n that case, gain 5 mana per 6 seconds.)
gainmanaamount = x mana per x seconds.

If you want it more balanced with other vocs, edit the skills and formula damages.

That's the first part, then you gonna edit the promotion npc, and add that voc to the npc, and I dunno how :confused::(.

Anyways, hope I helped you a bit.

Regards,
Winnerandy
 
Back
Top