mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Post merge adjustments
This commit is contained in:
parent
0681e6dbb2
commit
07ab96b883
14
zone/mob.cpp
14
zone/mob.cpp
@ -40,8 +40,9 @@ extern EntityList entity_list;
|
||||
extern Zone* zone;
|
||||
extern WorldServer worldserver;
|
||||
|
||||
Mob::Mob(const char* in_name,
|
||||
const char* in_lastname,
|
||||
Mob::Mob(
|
||||
const char *in_name,
|
||||
const char *in_lastname,
|
||||
int32 in_cur_hp,
|
||||
int32 in_max_hp,
|
||||
uint8 in_gender,
|
||||
@ -53,7 +54,7 @@ Mob::Mob(const char* in_name,
|
||||
uint32 in_npctype_id,
|
||||
float in_size,
|
||||
float in_runspeed,
|
||||
const glm::vec4& position,
|
||||
const glm::vec4 &position,
|
||||
uint8 in_light,
|
||||
uint8 in_texture,
|
||||
uint8 in_helmtexture,
|
||||
@ -92,7 +93,7 @@ Mob::Mob(const char* in_name,
|
||||
uint8 in_handtexture,
|
||||
uint8 in_legtexture,
|
||||
uint8 in_feettexture
|
||||
) :
|
||||
) :
|
||||
attack_timer(2000),
|
||||
attack_dw_timer(2000),
|
||||
ranged_timer(2000),
|
||||
@ -122,8 +123,6 @@ Mob::Mob(const char* in_name,
|
||||
targeted = 0;
|
||||
currently_fleeing = false;
|
||||
|
||||
currently_fleeing = false;
|
||||
|
||||
AI_Init();
|
||||
SetMoving(false);
|
||||
moved = false;
|
||||
@ -161,6 +160,7 @@ Mob::Mob(const char* in_name,
|
||||
// neotokyo: sanity check
|
||||
if (runspeed < 0 || runspeed > 20) {
|
||||
runspeed = 1.25f;
|
||||
}
|
||||
|
||||
// clients -- todo movement this doesn't take into account gm speed we need to fix that.
|
||||
|
||||
@ -393,7 +393,7 @@ Mob::Mob(const char* in_name,
|
||||
rooted = false;
|
||||
charmed = false;
|
||||
has_virus = false;
|
||||
for (i = 0; i < MAX_SPELL_TRIGGER * 2; i++) {
|
||||
for (int i = 0; i < MAX_SPELL_TRIGGER * 2; i++) {
|
||||
viral_spells[i] = 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user