diff --git a/core/parser.lua b/core/parser.lua index cb2c6fa93..aa56fa973 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -1304,12 +1304,12 @@ else if (bitfield_swap_cache [alvo_serial] or alvo_dono and bitfield_swap_cache [alvo_dono.serial]) then else + --Astral Nova explosion from Astral Bomb (Spectral Invoker - Algeth'ar Academy) should get friend zone here if ((jogador_alvo.grupo or alvo_dono and alvo_dono.grupo) and (este_jogador.grupo or meu_dono and meu_dono.grupo)) then is_friendly_fire = true end end end - else if ( (bitBand(alvo_flags, REACTION_FRIENDLY) ~= 0 and bitBand(who_flags, REACTION_FRIENDLY) ~= 0) or --ajdt d' brx @@ -1319,7 +1319,14 @@ end end - if (is_friendly_fire and spellid ~= SPELLID_KYRIAN_DRUID_TANK) then --kyrian spell remove on 10.0 + --double check for Astral Nova explosion + if (spellid == 387848 and not is_friendly_fire) then --/dumpt 387848 + if ((jogador_alvo.grupo or alvo_dono and alvo_dono.grupo) and (este_jogador.grupo or meu_dono and meu_dono.grupo)) then + is_friendly_fire = true + end + end + + if (is_friendly_fire and spellid ~= SPELLID_KYRIAN_DRUID_TANK) then --kyrian spell remove on 10.0 | need to check if this is in 10.0 if (este_jogador.grupo) then --se tiver ele n�o adiciona o evento l� em cima local t = last_events_cache[alvo_name]