View Single Post
06/17/20, 05:29 AM   #1
remosito
AddOn Author - Click to view addons
Join Date: Dec 2019
Posts: 30
Harrowstorm zone Announcer

I wish I had the time myself:

Addon that posts into zone chat where a harrowstorm is happening.

- Precollect coordinates for different harrowstorm locations
- register for combat events,
- register for chat channel
- listen for addon zone hs announcments
- keep last received datetime for each location
- when combat starts do basic checks:
- within range of center?
- not pvp (so ppl can't trigger it with duels while waiting)
- oponent is one of harrowstorm ennemies (ppl tend to bring aggroed mobs with them)
- when determined is harrowstorm combat
- check timestamp of last heard announcment for this harrowstorm
- if timestamp is old enough
- wait random(0..x) seconds then broadcast Announcment to zone if none have been received in the meantime

(random( 0..x) seconds to avoid 50 parallel zone chat announcments by different players with addon)
(x might have to be sufficiently high, zone chat lags sometimes)

Optionally notification/popup/whatever if hs announcement has been detected in zonechat
(or little window with location of last hs announcment and time since reception)

I'd love if this existed :-)
  Reply With Quote