from retail

This commit is contained in:
NoM0Re
2025-01-09 16:30:14 +01:00
parent ae98edecb2
commit 55709443ae
4 changed files with 30 additions and 7 deletions
+2 -2
View File
@@ -2165,13 +2165,13 @@ local function createScanFunc(trigger)
if trigger.ownOnly then
ret = ret .. [[
if matchData.unitCaster ~= 'player' and matchData.unitCaster ~= 'pet' then
if matchData.unitCaster ~= 'player' and matchData.unitCaster ~= 'pet' and matchData.unitCaster ~= 'vehicle' then
return false
end
]]
elseif trigger.ownOnly == false then
ret = ret .. [[
if matchData.unitCaster == 'player' or matchData.unitCaster == 'pet' then
if matchData.unitCaster == 'player' or matchData.unitCaster == 'pet' or matchData.unitCaster == 'vehicle' then
return false
end
]]