Framework Update

This commit is contained in:
Tercio Jose
2023-10-11 20:44:19 -03:00
parent 0cca378d2b
commit ac21f315a3
28 changed files with 4104 additions and 2989 deletions
+12 -9
View File
@@ -1200,17 +1200,20 @@
local is_friendly_fire = false
if (_is_in_instance) then
if (bitfield_swap_cache [sourceSerial] or ownerActor and bitfield_swap_cache [ownerActor.serial]) then
if (targetActor.grupo or targetOwner and targetOwner.grupo) then
is_friendly_fire = true
end
else
if (bitfield_swap_cache [targetSerial] or targetOwner and bitfield_swap_cache [targetOwner.serial]) then
else
--Astral Nova explosion from Astral Bomb (Spectral Invoker - Algeth'ar Academy) should get friend zone here
if ((targetActor.grupo or targetOwner and targetOwner.grupo) and (sourceActor.grupo or ownerActor and ownerActor.grupo)) then
local npcId = npcid_cache[targetSerial]
if (npcId ~= 207341) then
if (bitfield_swap_cache [sourceSerial] or ownerActor and bitfield_swap_cache [ownerActor.serial]) then
if (targetActor.grupo or targetOwner and targetOwner.grupo) then
is_friendly_fire = true
end
else
if (bitfield_swap_cache [targetSerial] or targetOwner and bitfield_swap_cache [targetOwner.serial]) then
else
--Astral Nova explosion from Astral Bomb (Spectral Invoker - Algeth'ar Academy) should get friend zone here
if ((targetActor.grupo or targetOwner and targetOwner.grupo) and (sourceActor.grupo or ownerActor and ownerActor.grupo)) then
is_friendly_fire = true
end
end
end
end
else