Mercurial > wow > wowdb-profiler
comparison Main.lua @ 466:eb87dbc295b3
Added optional dependency to HereBeDragons; removed last references to old map code.
author | Caleb Atherton <catherton@curse.com> |
---|---|
date | Sun, 15 May 2016 00:02:13 -0400 |
parents | efdbef365ec0 |
children | 0997fb63abeb |
comparison
equal
deleted
inserted
replaced
465:efdbef365ec0 | 466:eb87dbc295b3 |
---|---|
941 end | 941 end |
942 local _, item_link = _G.GetItemInfo(identifier) | 942 local _, item_link = _G.GetItemInfo(identifier) |
943 HandleItemUse(item_link) | 943 HandleItemUse(item_link) |
944 end) | 944 end) |
945 | 945 |
946 self:HandleZoneChange("OnEnable") | |
947 self:GROUP_ROSTER_UPDATE() | 946 self:GROUP_ROSTER_UPDATE() |
948 end | 947 end |
949 | 948 |
950 | 949 |
951 local function RecordItemData(item_id, item_link, process_bonus_ids, durability) | 950 local function RecordItemData(item_id, item_link, process_bonus_ids, durability) |
2456 end | 2455 end |
2457 | 2456 |
2458 | 2457 |
2459 function WDP:PLAYER_REGEN_ENABLED(event_name) | 2458 function WDP:PLAYER_REGEN_ENABLED(event_name) |
2460 private.in_combat = nil | 2459 private.in_combat = nil |
2461 | |
2462 if private.set_area_id then | |
2463 self:HandleZoneChange(event_name) | |
2464 private.set_area_id = nil | |
2465 end | |
2466 end | 2460 end |
2467 | 2461 |
2468 | 2462 |
2469 function WDP:PLAYER_TARGET_CHANGED(event_name) | 2463 function WDP:PLAYER_TARGET_CHANGED(event_name) |
2470 if not TargetedNPC() then | 2464 if not TargetedNPC() then |