...actually make it work, idiot
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
## Interface: 70300
|
## Interface: 70300
|
||||||
## Title: Heimdall
|
## Title: Heimdall
|
||||||
## Version: 3.4.0
|
## Version: 3.4.1
|
||||||
## Notes: Watches over areas and alerts when hostiles spotted
|
## Notes: Watches over areas and alerts when hostiles spotted
|
||||||
## Author: Cyka
|
## Author: Cyka
|
||||||
## SavedVariables: Heimdall_Data
|
## SavedVariables: Heimdall_Data
|
||||||
|
BIN
Heimdall.zip
(Stored with Git LFS)
BIN
Heimdall.zip
(Stored with Git LFS)
Binary file not shown.
@@ -232,7 +232,6 @@ function shared.Commander.Init()
|
|||||||
seenAt = GetTime(),
|
seenAt = GetTime(),
|
||||||
hostile = true
|
hostile = true
|
||||||
}
|
}
|
||||||
shared.dumpTable(shared.stinkyTracker.stinkies)
|
|
||||||
end
|
end
|
||||||
return {}
|
return {}
|
||||||
end
|
end
|
||||||
@@ -289,7 +288,7 @@ function shared.Commander.Init()
|
|||||||
or (command.commanderOnly
|
or (command.commanderOnly
|
||||||
and sender == Heimdall_Data.config.commander.commander)) then
|
and sender == Heimdall_Data.config.commander.commander)) then
|
||||||
if msg:match(command.keywordRe) then
|
if msg:match(command.keywordRe) then
|
||||||
local messages = command.callback({ strsplit(" ", msg) })
|
local messages = command.callback({ strsplit(",", msg) })
|
||||||
if Heimdall_Data.config.commander.debug then
|
if Heimdall_Data.config.commander.debug then
|
||||||
print(string.format("[%s] Messages to send: %s", ModuleName, strjoin(", ", unpack(messages))))
|
print(string.format("[%s] Messages to send: %s", ModuleName, strjoin(", ", unpack(messages))))
|
||||||
end
|
end
|
||||||
|
@@ -71,6 +71,10 @@ function shared.Macroer.Init()
|
|||||||
return aPriority > bPriority
|
return aPriority > bPriority
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
if Heimdall_Data.config.macroer.debug then
|
||||||
|
print(string.format("[%s] Sorted stinkies: %d", ModuleName, #sortedStinkies))
|
||||||
|
shared.dumpTable(sortedStinkies)
|
||||||
|
end
|
||||||
local lines = { "/targetenemy" }
|
local lines = { "/targetenemy" }
|
||||||
for _, stinky in pairs(sortedStinkies) do
|
for _, stinky in pairs(sortedStinkies) do
|
||||||
if stinky.seenAt > GetTime() - 600 then
|
if stinky.seenAt > GetTime() - 600 then
|
||||||
|
Reference in New Issue
Block a user