r236

Details

  • Filename
    LibTourist-3.0-r236-alpha.zip
  • Uploaded by
  • Uploaded
    May 7, 2020
  • Size
    81.67 KB
  • Downloads
    116
  • MD5
    e82ba231c2822ae46ed921638175c368

Supported WoW Retail Versions

  • 8.3.0

Changelog

------------------------------------------------------------------------
r236 | Odica_Jaedenar | 2020-05-07 19:46:13 +0000 (Thu, 07 May 2020) | 1 line
Changed paths:
   M /trunk/LibTourist-3.0.lua

Fixed a bug in GetContinentFishingSkillCategory
------------------------------------------------------------------------
r235 | Odica_Jaedenar | 2020-05-06 22:21:29 +0000 (Wed, 06 May 2020) | 20 lines
Changed paths:
   M /trunk/LibTourist-3.0.lua

- added missing flight node: Shatterstone Harbour, Vol'dun
- removed duplicate function Tourist:GetFactionColor
- removed all old fishing skill code and data
- added new mechanism to provide fishing skill info

API Change: added function Tourist:GetFishingInfo(zone)
Returns fishing skill info for the specified zone (localized zone name or mapID)
- skillName: Name of the required fishing skill
- maxLevel: Maximum skill level that can be reached for that skill
- currentSkill: Current player skill level for that fishing skill
- skillEnabled: true if the player has learned the required skill
Note 1: no data is available if a skill has not been learned, so if skillEnabled is false, other values will be empty.
Note 2: data is only available if the Fishing Skill dialog has been opened or Tourist:LoadFishingSkills() has been called.

API Change: added function Tourist:LoadFishingSkills()
Triggers the procedure to forcibly load the fishing skill data, required for Tourist:GetFishingInfo().
Because the data required for GetFishingInfo is not available until the Fishing Skills dialog has been opened,
this function briefly opens the dialog so C_TradeSkillUI gets populated with fishing skill data.

Note: Function Tourist:GetFishingLevel(zone) is now OBSOLETE and will be removed in a future version.
------------------------------------------------------------------------