getMaxHorntailBattles Lua export - VanaDev/Vana GitHub Wiki

getMaxHorntailBattles

Script Type(s): All Lua Scripts

Category: Boss Exports

Return(s):

  • maximumAttempts: number
Argument(s):
  • N/A
Notes: Returns the maximum number of attempts that a player may have at entering the boss lair in a given 24-hour period. The return value will be -1 if the player may attempt infinite times per day. The return value will be 0 if players may not attempt the boss at all.

Each attempt is clocked independently, so if there are 5 hours between 2 attempts and the player completes another attempt 24 hours after the first, at least 5 more hours must pass before the second attempt can be initiated.

⚠️ **GitHub.com Fallback** ⚠️