Now look for alliance and fix issue with overkill alawys being 0

This commit is contained in:
2024-10-05 01:47:05 +02:00
parent 8bb7e7642a
commit db31b934ed
2 changed files with 8 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ function(allstates, e, ...)
if UnitIsPlayer("nameplate" .. i) then
local name = UnitName("nameplate" .. i)
local faction = UnitFactionGroup("nameplate" .. i)
if faction and faction == "Horde" then
if faction and faction == "Alliance" then
aura_env.RegisterAlly(name)
end
end