Hello, i have a problem with tracking the Portal Spawn, before some updates i was tracking the portal spawn as below (the event was registered under EVENT_EFFECT_CHANGED)
if effectName == "Portal Spawn" and unitName == "Clockwork Sentry" then
counterCurrStageArena = counterCurrStageArena +1
MAHelper.SetText("Clockwork Sentry spawned! Kill it!")
do return end
end
now i don't know why, this is not working anymore.
Does anyone have some advice?
I tried with EVENT_COMBAT_EVENT, but i cannot retrieve the name of the mob.
Thank you in advance