Make timer for aggro meter not a magic number

you can edit AGGRO_METER_UPDATE_MS in common/features.h if you want to
see if a different number would work better
This commit is contained in:
Michael Cook (mackal) 2017-02-21 13:38:00 -05:00
parent 8bbf099636
commit 056725b9bd
2 changed files with 4 additions and 1 deletions

View File

@ -235,6 +235,9 @@ enum { //some random constants
#define ZONE_CONTROLLER_NPC_ID 10
// Timer to update aggrometer
#define AGGRO_METER_UPDATE_MS 1000
//Some hard coded statuses from commands and other places:
enum {
minStatusToBeGM = 40,

View File

@ -154,7 +154,7 @@ Client::Client(EQStreamInterface* ieqs)
afk_toggle_timer(250),
helm_toggle_timer(250),
light_update_timer(600),
aggro_meter_timer(1000),
aggro_meter_timer(AGGRO_METER_UPDATE_MS),
m_Proximity(FLT_MAX, FLT_MAX, FLT_MAX), //arbitrary large number
m_ZoneSummonLocation(-2.0f,-2.0f,-2.0f),
m_AutoAttackPosition(0.0f, 0.0f, 0.0f, 0.0f),