🧙‍♂️ Brought to you by Peptides.gg — Use code UO20 for 20% off — GLP-1's, 90+ Peptides and more!
Discourse upon General Discussions

Necromancer lord announcement / EC / etc

By ForeverFun  ·  2024-11-26  ·  2 posts
#0
In EC, you should be able to put this in textparsing.lua, near the top of TextParsing.CenterScreenText(),

in order to get a more obvious notification of a boss spawning.

	if( SystemData.TextID == 1164032 ) then		-- A Necromancer Lord has been sighted in the city of 
CenterScreenText.SendCenterScreenTexture("battlebegin")
-- use azarok as mobile Filter for boss name
-- use human as corpse label filter
return
end

However, as noted in this thread (link), which appears to be victim of excessive moderation, it's noted there may be issues with the notification.  I've only seen it once.  Is it possible this is only being sent within a certain limited radius of the azarok boss location?

The other topics raised in that (closed) thread may still be relevant.

#1
Here's an update that also notifies when the town invasion is done.  I believe at this point, you no longer get drops, even though there may still be spawn leftover.

Code below uses "battlelost" graphic.  see the comment about customizing that.

	if( SystemData.TextID == 1164032 ) then		-- A Necromancer Lord has been sighted in the city of 
CenterScreenText.SendCenterScreenTexture("battlebegin")
-- use azarok | kaelvok | vortha as mobile Filter for boss name Azarok the weaver of souls
-- use human as corpse label filter
return
end

if( SystemData.TextID == 1164031 ) then -- The undead forces have been pushed back and are no longer attacking
-- see https://forum.uo.com/discussion/14135/ec-void-pool-wall-damage-notification, can adapt to use a user supplied text string.
CenterScreenText.SendCenterScreenTexture("battlelost" )
return
end

← Browse more General Discussions discussions
End of discourse  ·  preserved by the Scribe