jobHelper.lua utility file - VanaDev/Vana GitHub Wiki

Table of Contents

jobHelper.lua

Category: Utility Lua-Based Scripts

getJobLine

Return(s):

  • jobLine: number
Argument(s):
  • N/A
Notes: Returns the player's current job line. Matches the line_ environment variables.

getJobTrack

Return(s):

  • jobTrack: number
Argument(s):
  • N/A
Notes: Returns the player's current job track. So for example, if you used it on an Assassin/Hermit/Night Lord, the result would be 1. If you used it on a Bandit/Chief Bandit/Shadower, the result would be 2.

getJobProgression

Return(s):

  • jobProgression: number
Argument(s):
  • N/A
Notes: Returns the player's current job progression. Matches the progression_ environment variables.

getJobMeta

Return(s):

  • jobLine: number
  • jobTrack: number
  • jobProgression: number
Argument(s):
  • N/A
Notes: Returns the results of getJobLine, getJobTrack, and getJobProgression all in one.

isCygnus

Return(s):

  • isCygnus: boolean
Argument(s):
  • N/A
Notes: Indicates whether or not the current player has a Cygnus job.

isLegend

Return(s):

  • isLegend: boolean
Argument(s):
  • N/A
Notes: Indicates whether or not the current player has a Legend job.

isResistance

Return(s):

  • isResistance: boolean
Argument(s):
  • N/A
Notes: Indicates whether or not the current player has a Resistance job.
⚠️ **GitHub.com Fallback** ⚠️