Mercurial > wow > buffalo2
comparison ObjectiveEvents.lua @ 2:a2396b03ce63
- identify action buttons by the associated QuestID instead of QuestLogIndex
- deferred button placement in general to a self-destructing OnUpdate
-- and defer self-destruct to a end of combat event if InCombatLockdown
- tracker wrapper has an experience/reputation bar; the two elements "feel" related and it's a very simple info display
| author | Nenue |
|---|---|
| date | Thu, 31 Mar 2016 01:38:47 -0400 |
| parents | b0447b382f36 |
| children | 589de8ea05b9 |
comparison
equal
deleted
inserted
replaced
| 1:b0447b382f36 | 2:a2396b03ce63 |
|---|---|
| 23 mod.OnQuestFinished = function(_, questLogIndex, questID) | 23 mod.OnQuestFinished = function(_, questLogIndex, questID) |
| 24 mod.TrackClosest() | 24 mod.TrackClosest() |
| 25 RemoveQuestWatch(questLogIndex) | 25 RemoveQuestWatch(questLogIndex) |
| 26 end | 26 end |
| 27 | 27 |
| 28 mod.OnQuestRemoved = function(_, questLogIndex, questID) | |
| 29 end | |
| 30 | |
| 28 mod.OnQuestFromLocation = function(event) end | 31 mod.OnQuestFromLocation = function(event) end |
| 29 | 32 |
| 30 mod.OnAddQuestWatch = function(questID) | 33 mod.OnAddQuestWatch = function(questID) |
| 31 mod.UpdateActionButtons() | 34 mod.UpdateActionButtons() |
| 32 end | 35 end |
