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

Starting Health and Mana and Vocation Problem

BlackList

PassingWrath.us
Joined
Aug 30, 2007
Messages
133
Reaction score
26
Hello,

Starting Health and Mana:
Can any one help me with changing the starting health and mana. I don't know if I need to edit the source or a script(I looked through almost everything and it's not their). Also if I need to edit the source what should I edit and where?
Vocation Problem:
I have edit the no vocation(vocation id: 0).
<vocation id="0" name="Wanderer" description="a wanderer" gaincap="5" gainhp="4" 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>

But in-game it still say "You have no vocation." Can anyone help me?

Thanks for all the help,
BlackList/File
 
Player.cpp
Code:
std::string Player::getDescription(int32_t lookDistance) const
{
	std::stringstream s;
	std::string str;
	if(lookDistance == -1)
	{
		s << "yourself.";
		if(accessLevel != 0)
			s << " You are " << groupName << ".";
		else if(vocation_id != 0)
			s << " You are " << vocation->getVocDescription() << ".";
		else
			s << " You have no vocation.";
	}
	else
	{
		s << name;
		if(accessLevel == 0)
			s << " (Level " << level << ")";
		s << ".";

		if(sex == PLAYERSEX_FEMALE)
			s << " She";
		else
			s << " He";

		if(accessLevel != 0)
			s << " is " << groupName << ".";
		else if(vocation_id != 0)
			s << " is " << vocation->getVocDescription() << ".";
		else
			s << " has no vocation.";
	}

Just set no vocations to wanderer.
 
assim n da

pow kra..aumenta isso aew...noix morre e nem da pa buscar o loot..essa merda d fila
mais d 15 min eu ja fikei nessa merda affs ai e foda neah...d um jeito nisso aew
 
Back
Top