Mercurial > wow > degaine
comparison Degaine.lua @ 17:c83103057b7a
Attempt to hack gossips again because there's no emote with non npc
author | contrebasse |
---|---|
date | Fri, 10 Dec 2010 19:07:18 +0100 |
parents | c627cef1c6d6 |
children | 57e83c900a08 |
comparison
equal
deleted
inserted
replaced
16:1bd6494f848d | 17:c83103057b7a |
---|---|
63 -- Events config | 63 -- Events config |
64 --------------------------------------------------------------- | 64 --------------------------------------------------------------- |
65 -- Events to watch | 65 -- Events to watch |
66 local events = { -- no args to watch | 66 local events = { -- no args to watch |
67 GOSSIP_SHOW = function() | 67 GOSSIP_SHOW = function() |
68 local returnvalue = isGossipClosed | 68 local returnvalue = isGossipClosed and UnitName("npc")==UnitName("target") |
69 isGossipClosed = false | 69 isGossipClosed = false |
70 return returnvalue | 70 return returnvalue |
71 end, | 71 end, |
72 MERCHANT_SHOW = function() | 72 MERCHANT_SHOW = function() |
73 -- hack for the cases where the merchant's frame is opened from a gossip frame | 73 -- hack for the cases where the merchant's frame is opened from a gossip frame |