Mercurial > wow > hansgar_and_franzok_assist
comparison Hansgar_And_Franzok_Assist.lua @ 21:7fef991992f6
- version fix.
| author | Tercio |
|---|---|
| date | Tue, 25 Aug 2015 14:09:54 -0300 |
| parents | dc1c77254f80 |
| children | dbd417f413a8 |
comparison
equal
deleted
inserted
replaced
| 20:dc1c77254f80 | 21:7fef991992f6 |
|---|---|
| 2 local DF = _G ["DetailsFramework"] | 2 local DF = _G ["DetailsFramework"] |
| 3 if (not DF) then | 3 if (not DF) then |
| 4 print ("|cFFFFAA00Please restart your client to finish update some AddOns.|c") | 4 print ("|cFFFFAA00Please restart your client to finish update some AddOns.|c") |
| 5 return | 5 return |
| 6 end | 6 end |
| 7 | 7 |
| 8 local floor = floor | 8 local floor = floor |
| 9 local min = min | 9 local min = min |
| 10 local UnitExists = UnitExists | 10 local UnitExists = UnitExists |
| 11 local GetPlayerMapPosition = GetPlayerMapPosition | 11 local GetPlayerMapPosition = GetPlayerMapPosition |
| 12 local UnitHealth = UnitHealth | 12 local UnitHealth = UnitHealth |
| 17 local _ | 17 local _ |
| 18 | 18 |
| 19 --local f = CreateFrame ("frame", "Hansgar_And_Franzok_Assist", UIParent) | 19 --local f = CreateFrame ("frame", "Hansgar_And_Franzok_Assist", UIParent) |
| 20 local f = DF:Create1PxPanel (_, 155, 166, "Hans & Franz", "Hansgar_And_Franzok_Assist", nil, "top", true) | 20 local f = DF:Create1PxPanel (_, 155, 166, "Hans & Franz", "Hansgar_And_Franzok_Assist", nil, "top", true) |
| 21 f:SetFrameStrata ("DIALOG") | 21 f:SetFrameStrata ("DIALOG") |
| 22 f.version = "v0.15d" | 22 f.version = "v0.15e" |
| 23 | 23 |
| 24 f.Close:SetScript ("OnClick", function (self) | 24 f.Close:SetScript ("OnClick", function (self) |
| 25 if (f.StampersPhase) then | 25 if (f.StampersPhase) then |
| 26 return f:StopTracking() | 26 return f:StopTracking() |
| 27 end | 27 end |
