-
Posted by Drayeah on Mon, 18 Aug 2008 11:32:15
I was wondering why in chapter 12 for the combattracker the events PLAYER_REGEN_DISABLED and PLAYER_REGEN_ENABLED are used for detecting in and out of combat. There are also PLAYER_ENTER_COMBAT and PLAYER_LEAVE_COMBAT which seem to exactly fit the need.
-
Posted by Drayeah on Mon, 18 Aug 2008 11:32:15
I was wondering why in chapter 12 for the combattracker the events PLAYER_REGEN_DISABLED and PLAYER_REGEN_ENABLED are used for detecting in and out of combat. There are also PLAYER_ENTER_COMBAT and PLAYER_LEAVE_COMBAT which seem to exactly fit the need.
-
Posted by jnwhiteh on Wed, 20 Aug 2008 09:25:23
I was wondering why in chapter 12 for the combattracker the events PLAYER_REGEN_DISABLED and PLAYER_REGEN_ENABLED are used for detecting in and out of combat. There are also PLAYER_ENTER_COMBAT and PLAYER_LEAVE_COMBAT which seem to exactly fit the need.
It appears that the documentation for these events is incorrect, unfortunately. In order to test what we're trying to test,
PLAYER_REGEN_ENABLED
andPLAYER_REGEN_DISABLED
are correct. I have updated the documentation for the other events. -
Posted by Drayeah on Wed, 20 Aug 2008 10:31:42
Ah, ok the new descriptions are clear now. I had been using the COMBAT events in an addon I was playing with and they seem to work just fine. But I was testing with warrior so that was only melee :-)