• 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 [OTX 2.9 - 7.6] Paladin skills up way faster than knights - vocations.xml

XST53

New Member
Joined
May 14, 2019
Messages
34
Reaction score
4
Hello!

I've been testing some stuff on my OT server and I noticed that paladins level up their skills faster than knights, even though they have the same rate in vocations.xml, knights have 1.1 on axe/club/sword and paladins have 1.1 on distance, but knights are slower. Any ideas why?

Paladin
XML:
<skill fist="1.1" club="1.8" sword="1.8" axe="1.8" distance="1.1" shielding="1.2" fishing="1.1" experience="1.0"/>

Knight
XML:
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.8" shielding="1.1" fishing="1.1" experience="1.0"/>
 
Oh, I wasn’t aware of that. If that’s how it is supposed to be, then it’s alright. Thanks, and sorry guys!
 
To increase in the same way, you must change something of this function
Code:
bool WeaponDistance::getSkillType(const Player* player, const Item*,
    skills_t& skill, uint32_t& skillpoint) const
{
    skill = SKILL_DIST;
    skillpoint = 0;

    if(player->getAddAttackSkill())
    {
        switch(player->getLastAttackBlockType())
        {
            case BLOCK_NONE:
                skillpoint = 2;
                break;

            case BLOCK_ARMOR:
                skillpoint = 1;
                break;

            case BLOCK_DEFENSE:
            default:
                skillpoint = 0;
                break;
        }
    }
    return true;
}
37010
 

Similar threads

Back
Top