removed more retail functions
ejected SpellFlyout and PlayerHasToy
Cette révision appartient à :
Parent
bb1a1f76c7
révision
ac2c7ebad7
|
@ -1499,7 +1499,7 @@ function Button:UpdateUsableSpell()
|
||||||
end
|
end
|
||||||
function Button:UpdateUsableItem()
|
function Button:UpdateUsableItem()
|
||||||
local IsUsable, NotEnoughMana = IsUsableItem(self.ItemId);
|
local IsUsable, NotEnoughMana = IsUsableItem(self.ItemId);
|
||||||
IsUsable = IsUsable or PlayerHasToy(self.ItemId);
|
-- IsUsable = IsUsable or PlayerHasToy(self.ItemId);
|
||||||
if (IsUsable) then
|
if (IsUsable) then
|
||||||
self.WIcon:SetVertexColor(1.0, 1.0, 1.0);
|
self.WIcon:SetVertexColor(1.0, 1.0, 1.0);
|
||||||
self.WNormalTexture:SetVertexColor(1.0, 1.0, 1.0);
|
self.WNormalTexture:SetVertexColor(1.0, 1.0, 1.0);
|
||||||
|
|
2
Util.lua
2
Util.lua
|
@ -1506,7 +1506,7 @@ end
|
||||||
function Util.SetCursor(Command, Data, Subvalue, Subsubvalue)
|
function Util.SetCursor(Command, Data, Subvalue, Subsubvalue)
|
||||||
ClearCursor();
|
ClearCursor();
|
||||||
UILib.StopDraggingIcon();
|
UILib.StopDraggingIcon();
|
||||||
SpellFlyout:Hide();
|
-- SpellFlyout:Hide();
|
||||||
if (Command == "spell") then
|
if (Command == "spell") then
|
||||||
PickupSpell(Subsubvalue);
|
PickupSpell(Subsubvalue);
|
||||||
elseif (Command == "item") then
|
elseif (Command == "item") then
|
||||||
|
|
Chargement…
Référencer dans un nouveau ticket