update to 1.0.1

Cette révision appartient à :
Albirew 2020-11-26 02:32:29 +01:00
Parent 9da175d295
révision 58a8ef7de9
4 fichiers modifiés avec 25 ajouts et 7 suppressions

Voir le fichier

@ -1149,9 +1149,25 @@ function Button:SetAttributes(Type, Value)
--Now if a valid type is passed in set it
if (Type == "spell") then
-- Patch to fix some spell that doesnt like to be cast with ID (Thrash, Stampeding Roar, ...)
prof1, prof2 = GetProfessions();
if ( prof1 ) then
prof1_name, _, _, _, _, _, prof1_skillLine = GetProfessionInfo(prof1);
end
if ( prof2 ) then
prof2_name, _, _, _, _, _, prof2_skillLine = GetProfessionInfo(prof2);
end
local SpellName = GetSpellInfo(Value);
if ( SpellName ) then
-- Patch to fix tradeskills
if ( prof1 and SpellName == prof1_name ) then
self.Widget:SetAttribute("type", "macro");
self.Widget:SetAttribute("macrotext", "/run RunScript('if (select(6, C_TradeSkillUI.GetTradeSkillLine()) == prof1_skillLine) then C_TradeSkillUI.CloseTradeSkill() else C_TradeSkillUI.OpenTradeSkill("..prof1_skillLine..") end')");
elseif ( prof2 and SpellName == prof2_name ) then
self.Widget:SetAttribute("type", "macro");
self.Widget:SetAttribute("macrotext", "/run RunScript('if (select(6, C_TradeSkillUI.GetTradeSkillLine()) == prof2_skillLine) then C_TradeSkillUI.CloseTradeSkill() else C_TradeSkillUI.OpenTradeSkill("..prof2_skillLine..") end')");
-- Patch to fix some spell that doesnt like to be cast with ID (Thrash, Stampeding Roar, ...)
elseif ( SpellName ) then
self.Widget:SetAttribute("type", Type);
self.Widget:SetAttribute(Type, SpellName);
else

Voir le fichier

@ -1,7 +1,7 @@
## Interface: 90002
## Title: Button Forge
## Notes: Add as many or few extra Action Bars and Buttons to your user interface to complement the standard (or other) Action Bars
## Version: 0.9.60
## Version: 1.0.1
## Author: Massiner of Nathrezim
## SavedVariables: ButtonForgeGlobalSettings, ButtonForgeGlobalProfiles, ButtonForgeGlobalBackup
## SavedVariablesPerCharacter: ButtonForgeSave, BFSave

Voir le fichier

@ -11,8 +11,8 @@ Const.SUMMON_RANDOM_FAVORITE_MOUNT_SPELL = 150544;
Const.SUMMON_RANDOM_FAVORITE_MOUNT_ID = 268435455;
Const.SUMMON_RANDOM_FAVORITE_BATTLE_PET_ID = "BattlePet-0-FFFFFFFFFFFFFF";
Const.SUMMON_RANDOM_FAVORITE_BATTLE_PET_TEXTURE = "Interface/Icons/INV_Pet_Achievement_CaptureAPetFromEachFamily_Battle";
Const.Version = 0.9;
Const.VersionMinor = 50;
Const.Version = 1.0;
Const.VersionMinor = 0.1;
Const.MAX_ACCOUNT_MACROS = 120;
Const.ButtonNaming = "ButtonForge"
Const.ButtonSeq = 1; --This value will increment (so not technically a const...)

Voir le fichier

@ -5,7 +5,7 @@ Author: Massiner of Nathrezim
Contributor: xfsbill
Past Contributors: DT85, DandierSphinx
Version: 1.0.0
Version: 1.0.1
Description: Graphically create as many Action Bars and Buttons in the game as you choose
@ -23,7 +23,9 @@ Restrictions:
History:
19-Nov-2020 v1 - Updated for Wow v9.0 - This update is provided by xfsbill , jee_dae (possibly others ?) - thanks for keeping a version of the addon working all this time!
23-Nov-2020 v1.0.1 - Fixed an issue opening/closing some tradeskills window
19-Nov-2020 v1 - Updated for Wow v9.0 - This update is provided by xfsbill , jee_dae (possibly others ?) - thanks for keeping a version of the addon working all this time!
26-July-2018 v0.9.50 - Updated for Wow v8.0 - this update is provided by DT85 (Zaranias - Aman'thul) & DandierSphinx... A big thanks for this!!!
- The below issues all prevented Button Forge functioning correctly or in some cases at all