#Darkmoon Faire Active Tracking

5 messages · Page 1 of 1 (latest)

glacial sleet
#

Is it possible within WA to track if the Darkmoon Faire is currently active or not? If so, how?

keen mica
#

Not without custom code

The DMF always starts on the first Sunday of the month, and lasts for a week, so you'd be able to achieve this with a custom trigger and basic time/date maths. I'd suggest a custom Status that checks on an event like PLAYER_ENTERING_WORLD, then the custom code to figure out whether today is within that specific week or not, and if so trigger the Aura.

Starting points:
https://warcraft.wiki.gg/wiki/World_of_Warcraft_API#Date_&_Time
https://github.com/WeakAuras/WeakAuras2/wiki/Custom-Triggers

A brief search finds this aura, which already has the necessary date/time logic inside its Init Action: https://wago.io/2UPuSZxC9

terse solar
#

use that instead of doing some date calculations

#

/dump C_Calendar.GetHolidayInfo(0,C_DateAndTime.GetCurrentCalendarTime().monthDay,1)