Skip to content

player:getVocation() function does not return all vocation IDs #845

@BastardofWinterfell

Description

@BastardofWinterfell

Priority

Low

Area

  • Data
  • Source
  • Docker
  • Other

What happened?

The player:getVocation() function currently only returns a number from 1 to 4 corresponding to the four basic unpromoted vocations in Tibia.

  1. Knight
  2. Paladin
  3. Sorcerer
  4. Druid

However, it should also return different numbers (e.g. from 11 to 14) to differentiate promoted vocations, which should have different client IDs, from their unpromoted equivalents.

  1. Elite Knight
  2. Royal Paladin
  3. Master Sorcerer
  4. Elder Druid

What OS are you seeing the problem on?

Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: LowMinor impactStatus: Pending TestThis PR or Issue requires more testingType: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions