mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 19:10:25 +00:00
Implement new always_aggro_foes field and functionality for mobs.
This commit is contained in:
+3
-1
@@ -93,7 +93,8 @@ Mob::Mob(
|
||||
uint8 in_handtexture,
|
||||
uint8 in_legtexture,
|
||||
uint8 in_feettexture,
|
||||
uint16 in_usemodel
|
||||
uint16 in_usemodel,
|
||||
bool in_always_aggros_foes
|
||||
) :
|
||||
attack_timer(2000),
|
||||
attack_dw_timer(2000),
|
||||
@@ -275,6 +276,7 @@ Mob::Mob(
|
||||
qglobal = 0;
|
||||
spawned = false;
|
||||
rare_spawn = false;
|
||||
always_aggros_foes = in_always_aggros_foes;
|
||||
|
||||
InitializeBuffSlots();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user