Fix who parsing in spotter
This commit is contained in:
@@ -52,12 +52,13 @@ function shared.StinkyTracker.Init()
|
||||
name = name,
|
||||
class = class,
|
||||
seenAt = GetTime(),
|
||||
hostile = aggression == "Hostile"
|
||||
hostile = aggression == shared.L.en.tidbits.hostile
|
||||
}
|
||||
stinkies[name] = stinky
|
||||
if Heimdall_Data.config.stinkyTracker.debug then
|
||||
print(string.format("[%s] Found stinky in SEE: %s (%s) - %s at %s", ModuleName, name, class, aggression,
|
||||
date("%H:%M:%S", time())))
|
||||
shared.dumpTable(stinkies)
|
||||
end
|
||||
return stinkies
|
||||
end
|
||||
@@ -132,7 +133,7 @@ function shared.StinkyTracker.Init()
|
||||
shared.stinkyTracker.stinkies[name] = stinky
|
||||
if Heimdall_Data.config.stinkyTracker.debug then
|
||||
print(string.format("[%s] Added hostile stinky from WHO: %s (%s)", ModuleName, name, stinky
|
||||
.class))
|
||||
.class))
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -150,7 +151,7 @@ function shared.StinkyTracker.Init()
|
||||
shared.stinkyTracker.stinkies[name] = stinky
|
||||
if Heimdall_Data.config.stinkyTracker.debug then
|
||||
print(string.format("[%s] Added hostile stinky from SEE: %s (%s)", ModuleName, name, stinky
|
||||
.class))
|
||||
.class))
|
||||
end
|
||||
end
|
||||
if not stinky.hostile then
|
||||
|
Reference in New Issue
Block a user