Mercurial > wow > degaine
comparison Degaine.lua @ 13:7b1f3a9cba48
Added tradeskills to blacklist
| author | contrebasse |
|---|---|
| date | Fri, 10 Dec 2010 17:26:46 +0100 |
| parents | 9f8a4f3c8641 |
| children | c627cef1c6d6 |
comparison
equal
deleted
inserted
replaced
| 12:9f8a4f3c8641 | 13:7b1f3a9cba48 |
|---|---|
| 7 --------------------------------------------------------------- | 7 --------------------------------------------------------------- |
| 8 -- If you stand up by jumping or walking it won't draw your weapon | 8 -- If you stand up by jumping or walking it won't draw your weapon |
| 9 -- (it's not possible to know if you were sitting or standing before) | 9 -- (it's not possible to know if you were sitting or standing before) |
| 10 | 10 |
| 11 --@debug@ | 11 --@debug@ |
| 12 local debug = false | 12 local debug = true |
| 13 --@end-debug@ | 13 --@end-debug@ |
| 14 | 14 |
| 15 | 15 |
| 16 --------------------------------------------------------------- | 16 --------------------------------------------------------------- |
| 17 -- Globals to local | 17 -- Globals to local |
| 71 UNIT_SPELLCAST_SUCCEEDED = true, | 71 UNIT_SPELLCAST_SUCCEEDED = true, |
| 72 } | 72 } |
| 73 local SpellBlackList = { -- spells that don't stealth weapons (works with events1player) | 73 local SpellBlackList = { -- spells that don't stealth weapons (works with events1player) |
| 74 [1784] = true, -- Stealth (Rogue) | 74 [1784] = true, -- Stealth (Rogue) |
| 75 [58984] = true, -- Shadowmeld (Nightelf stealth) | 75 [58984] = true, -- Shadowmeld (Nightelf stealth) |
| 76 | |
| 77 -- Tradeskill spells | |
| 78 [2259] = true, -- Alchemy | |
| 79 [45357] = true, -- Inscription | |
| 80 [3908] = true, -- Tailoring | |
| 81 [7411] = true, -- Enchanting | |
| 82 [2018] = true, -- Blacksmithing | |
| 83 [4036] = true, -- Engineering | |
| 84 [25229] = true, -- Jewelcrafting | |
| 85 [2656] = true, -- Smelting | |
| 86 [2108] = true, -- Leatherworking | |
| 87 [2550] = true, -- Cooking | |
| 88 [3273] = true, -- First Aid | |
| 89 [53428] = true -- Runeforge | |
| 90 -- Archaeology ? | |
| 76 } | 91 } |
| 77 local events2playername = { -- the 2nd arg is playername | 92 local events2playername = { -- the 2nd arg is playername |
| 78 CHAT_MSG_SAY = true, | 93 CHAT_MSG_SAY = true, |
| 79 CHAT_MSG_YELL = true, | 94 CHAT_MSG_YELL = true, |
| 80 CHAT_MSG_TEXT_EMOTE = true, | 95 CHAT_MSG_TEXT_EMOTE = true, |
