torsdag 11 mars 2010

SO ANYWAY (Slam notification)

Goal: To produce an addon that gives an indication when Bloodsurge procs and slam turns instacast.

Progress: Goal achieved.

Method: The addon subscribes to UNIT_AURA events. Upon notification of a UNIT_AURA event, the buffs currently on the player are iterated over by use of UnitAura(). If a buff with spellName "Slam!" is detected, a (blue) frame is made visible. If no buff named "Slam!" is found, the same frame is made invisible.

Further goals:
  • Make the frame moveable.
  • Save frame position between runs.
  • Add counter to frame showing time remaining of buff (insta-Slam).

Inga kommentarer:

Skicka en kommentar