From 140a63862b42deac25b36875c7a18259a18a4246 Mon Sep 17 00:00:00 2001 From: Ackis Date: Tue, 21 Oct 2008 17:07:34 +0000 Subject: [PATCH] Dataminer update --- ARLDataminer.rb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ARLDataminer.rb b/ARLDataminer.rb index 2da9167..db952c2 100644 --- a/ARLDataminer.rb +++ b/ARLDataminer.rb @@ -1022,7 +1022,18 @@ EOF if type == "Monster" # Assumption that ID and Name will always be around - lookup_lua.print("self:addLookupList(#{db}, #{k}, L[\"#{v[:name]}\"], ") + lookup_lua.print("self:addLookupList(#{db}, #{k}, ") + + if $bosslist.include?(v[:name]) + + lookup_lua.print("BBOSS[\"#{v[:name]}\"], ") + $localstring.delete(v[:name]) + + else + + lookup_lua.print("L[\"#{v[:name]}\"], ") + + end if locs.keys[0] @@ -1123,6 +1134,7 @@ $proftable = {"Alchemy" => 2259, "Runeforging" => 28481 } +$bosslist = ["Ras Frostwhisper"] #TODO: for these functions, how can I do it so I can set a debug parameter which would only cause First Aid to run? -- 1.7.9.5