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