tisdag 9 mars 2010

Pseudo code for slam proc

MyUNIT_AURAHandler(self, arg)

if arg == player

for i in 1..40
name = UnitAura(i)

if( name = "Slam!") then
doSomething()
endif

endfor

endif

Obviously, needs to handle three cases:
  1. Found and not a continuation (show indication)
  2. Found and a continuation (keep indication up / no action)
  3. Not found (hide indication)

Inga kommentarer:

Skicka en kommentar