Created
November 19, 2013 19:20
-
-
Save benphelps/7550948 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local mavminsLib = { } | |
| mavminsLib.inT15checked = nil | |
| mavminsLib.inT15 = function(count) | |
| if mavminsLib.inT15checked then | |
| return mavminsLib.inT15checked >= count | |
| end | |
| local EnhanceT15 = { | |
| 96691, -- Head Heroic | |
| 96693, -- Shoulders Heroic | |
| 96689, -- Chest Heroic | |
| 96690, -- Gloves Heroic | |
| 96692, -- Legs Heroic | |
| } | |
| for i=1, 19 do | |
| if GetInventoryItemID("player", i) ~= nil then | |
| for j=1, 5 do | |
| if GetItemInfo(GetInventoryItemID("player", i)) == GetItemInfo(EnhanceT15[j]) then | |
| T_15 = T_15 + 1 | |
| end | |
| end | |
| end | |
| end | |
| mavminsLib.inT15checked = T_15 | |
| end | |
| ProbablyEngine.library.register('mavminsLib', mavminsLib) | |
| "@mavminsLib.inT15(5)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment