from retail
This commit is contained in:
parent
56abad943d
commit
4ef5381aaa
2 changed files with 535 additions and 235 deletions
|
|
@ -4280,6 +4280,17 @@ do
|
|||
end
|
||||
end
|
||||
|
||||
WeakAuras.CheckForItemEquipped = function(itemName, specificSlot)
|
||||
if not specificSlot then
|
||||
return IsEquippedItem(itemName)
|
||||
end
|
||||
local equippedItemID = GetInventoryItemID("player", specificSlot)
|
||||
return itemName and equippedItemID and (
|
||||
(type(itemName) == "number" and itemName == equippedItemID)
|
||||
or itemName == GetItemInfo(equippedItemID)
|
||||
)
|
||||
end
|
||||
|
||||
WeakAuras.GetCritChance = function()
|
||||
-- Based on what the wow paper doll does
|
||||
local spellCrit = 0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue