diff Degaine.lua @ 13:7b1f3a9cba48

Added tradeskills to blacklist
author contrebasse
date Fri, 10 Dec 2010 17:26:46 +0100
parents 9f8a4f3c8641
children c627cef1c6d6
line wrap: on
line diff
--- a/Degaine.lua	Fri Dec 10 17:18:56 2010 +0100
+++ b/Degaine.lua	Fri Dec 10 17:26:46 2010 +0100
@@ -9,7 +9,7 @@
 --     (it's not possible to know if you were sitting or standing before)
 
 --@debug@
-local debug = false
+local debug = true
 --@end-debug@
 
 
@@ -73,6 +73,21 @@
 local SpellBlackList = { -- spells that don't stealth weapons (works with events1player)
 	[1784] = true,  -- Stealth (Rogue)
 	[58984] = true, -- Shadowmeld (Nightelf stealth)
+
+	-- Tradeskill spells
+	[2259] = true,  -- Alchemy
+	[45357] = true, -- Inscription
+	[3908] = true,  -- Tailoring
+	[7411] = true,  -- Enchanting
+	[2018] = true,  -- Blacksmithing
+	[4036] = true,  -- Engineering
+	[25229] = true, -- Jewelcrafting
+	[2656] = true,  -- Smelting
+	[2108] = true,  -- Leatherworking
+	[2550] = true,  -- Cooking
+	[3273] = true,  -- First Aid
+	[53428] = true  -- Runeforge
+	-- Archaeology ?
 }
 local events2playername = { -- the 2nd arg is playername
 	CHAT_MSG_SAY = true,