Mercurial > wow > whistle-master
comparison WhistleMaster.lua @ 28:4bbd39b7df53
Updated WhistleMaster to work in the Broken Shore.
| author | Vynn <mischivin@gmail.com> |
|---|---|
| date | Thu, 30 Mar 2017 22:48:44 -0400 |
| parents | 63bf46cfbd3c |
| children |
comparison
equal
deleted
inserted
replaced
| 27:985f844dd67b | 28:4bbd39b7df53 |
|---|---|
| 3 print("debug text") | 3 print("debug text") |
| 4 end | 4 end |
| 5 | 5 |
| 6 --indexes corrispond to map IDs that contain valid flight points for the Flight Masters Whistle | 6 --indexes corrispond to map IDs that contain valid flight points for the Flight Masters Whistle |
| 7 --Doesn't work in 1021 (Broken Shore) | 7 --Doesn't work in 1021 (Broken Shore) |
| 8 WM_validIDs = { [1014] = true, [1015] = true, [1017] = true, [1018] = true, [1021] = false, [1024] = true, [1033] = true, [1096] = true } | 8 WM_validIDs = { [1014] = true, [1015] = true, [1017] = true, [1018] = true, [1021] = true, [1024] = true, [1033] = true, [1096] = true } |
| 9 | 9 |
| 10 local WhistleLoc = CreateFrame("FRAME", "WhistleLOC", WorldMapPOIFrame) | 10 local WhistleLoc = CreateFrame("FRAME", "WhistleLOC", WorldMapPOIFrame) |
| 11 WhistleLoc:SetSize(64, 64) | 11 WhistleLoc:SetSize(64, 64) |
| 12 WhistleLoc:SetPoint("CENTER", 0, 0) | 12 WhistleLoc:SetPoint("CENTER", 0, 0) |
| 13 WhistleLoc:Show() | 13 WhistleLoc:Show() |
