Mercurial > wow > worldplan
comparison ClassPlanMissions.lua @ 95:b29b35cb8539
- Fixed quest completion checking and handling
- Changed animation method to hopefully stop weird flickering.
- Pins are now visible before full reward data is loaded
- Filter bar redesigned:
- aligned horizontally along the top of the map display
- filter buttons display a '+' when there are matches in both current and other zones, and '*' when there only matches in other zones
- button tooltips separate local and global quests
- button categories are highlighted and labeled when the cursor is over them
- Fixed invalid POI targets appearing when the spell targeting cursor is active
- ClassOrderPlan can be closed with the game menu button
| author | Nenue |
|---|---|
| date | Mon, 08 May 2017 22:38:52 -0400 |
| parents | 589c444d4837 |
| children |
comparison
equal
deleted
inserted
replaced
| 94:dfd53f7c0fe5 | 95:b29b35cb8539 |
|---|---|
| 38 end | 38 end |
| 39 wipe(profile.missions) | 39 wipe(profile.missions) |
| 40 wipe(profile.available) | 40 wipe(profile.available) |
| 41 | 41 |
| 42 | 42 |
| 43 for i = 1, #items do | 43 for _, data in ipairs(items) do |
| 44 if (not items[i].isBuilding and items[i].isZoneSupport) then | 44 |
| 45 else | 45 --print(' -',data.name, '|cFF00FF00'.. data.offerEndTime .. '|r', date("%A %I:%m %p", data.offerEndTime)) |
| 46 | 46 if data.offerEndTime then |
| 47 tinsert(profile.available, items[i]) | 47 data.offerEndTime = time() + (data.offerEndTime - GetTime()) |
| 48 end | 48 end |
| 49 tinsert(profile.available, data) | |
| 50 | |
| 49 end | 51 end |
| 50 | 52 |
| 51 local items = C_Garrison.GetLandingPageItems(ORDERHALL_TYPE) | 53 local items = C_Garrison.GetLandingPageItems(ORDERHALL_TYPE) |
| 52 for index, data in ipairs(items) do | 54 for index, data in ipairs(items) do |
| 53 print(' -',data.name, '|cFF00FF00'.. data.timeLeft .. '|r', date("%A %I:%m %p", data.missionEndTime)) | 55 print(' -',data.name, '|cFF00FF00'.. data.timeLeft .. '|r', date("%A %I:%m %p", data.missionEndTime)) |
