r237
Details
-
FilenameLibTourist-3.0-r237-alpha.zip
-
Uploaded by
-
UploadedMay 9, 2020
-
Size83.02 KB
-
Downloads251
-
MD5151b4aee1d1e629f4d9a809373852f92
Supported WoW Retail Versions
- 8.3.0
Changelog
------------------------------------------------------------------------
r237 | Odica_Jaedenar | 2020-05-09 19:26:16 +0000 (Sat, 09 May 2020) | 16 lines
Changed paths:
M /trunk/LibTourist-3.0.lua
- Added a new mechanism to retrieve skill info for Herbalism, Mining and Skinning.
API Change: function GetFishingInfo(zone) has been renamed to GetFishingSkillInfo(zone)
returns: skill name, current level, max level
API Change: added function GetHerbalismSkillInfo(zone)
zone: localized zone name or mapID
returns: skill name, current level, max level, skill modifier, parent skill ID
API Change: added function GetMiningSkillInfo(zone)
zone: localized zone name or mapID
returns: skill name, current level, max level, skill modifier, parent skill ID
API Change: added function GetSkinningSkillInfo(zone)
zone: localized zone name or mapID
returns: skill name, current level, max level, skill modifier, parent skill ID
------------------------------------------------------------------------
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.
------------------------------------------------------------------------