Mercurial > wow > buffalo2
comparison ObjectiveTracker/Default.lua @ 45:dd1ae565f559
Hooks and Handlers:
- correct argument mix-ups for AcceptQuest/QUEST_ACCEPTED handlers; fixes auto-watch
- respond to AcknowledgeAutoAcceptQuest; fixes lingering popups
- include Popup and Quest trackers in the response code for CompleteQuest; fixes content artifacts following the rollover of repeating popups seen in Ashran
- clean up wacky OnEvent header
Layout
- add alpha blend options
QuestData
- reset objectives data when a quest is in a completed state; keeps old data from ever reaching the Default.x code
| author | Nenue |
|---|---|
| date | Tue, 26 Apr 2016 14:57:18 -0400 |
| parents | 756e8aeb040b |
| children | f253baf6022d |
comparison
equal
deleted
inserted
replaced
| 44:756e8aeb040b | 45:dd1ae565f559 |
|---|---|
| 52 reason = initReason | 52 reason = initReason |
| 53 initReason = nil | 53 initReason = nil |
| 54 elseif not reason then | 54 elseif not reason then |
| 55 reason = OBJECTIVE_TRACKER_UPDATE_ALL | 55 reason = OBJECTIVE_TRACKER_UPDATE_ALL |
| 56 end | 56 end |
| 57 print(format('|cFFBB0066Update:|r |cFFFF%04X%d|r ', tick, lshift(reason, 4)), reason, ...) | 57 print(format('|cFFBB0066Update:|r %d |cFFFF%04X%d|r ', tick, lshift(reason, 4)), reason, ...) |
| 58 currentPosition = 0 | 58 currentPosition = 0 |
| 59 | 59 |
| 60 for id, handler in pairs(T.orderedHandlers) do | 60 for id, handler in pairs(T.orderedHandlers) do |
| 61 local frame = handler.frame | 61 local frame = handler.frame |
| 62 | 62 |
