Quote:
Originally Posted by Xantille
[You must be logged in to view images. Log in or Register.]
wot
If this post means what I think it means, I always felt gnome warriors had an advantage, even on Live.
|
GetSize() may be just mean 1x original model, meaning all races have same hitbox. think the gm command #size . not sure will look into it.
the big hitbox mods are for dragon races
PHP Code:
bool Mob::CombatRange(Mob* other)
{
if(!other)
return(false);
float size_mod = GetSize();
float other_size_mod = other->GetSize();
if(GetRace() == 49 || GetRace() == 158 || GetRace() == 196) //For races with a fixed size
size_mod = 60.0f;
else if (size_mod < 6.0)
size_mod = 8.0f;
if(other->GetRace() == 49 || other->GetRace() == 158 || other->GetRace() == 196) //For races with a fixed size
other_size_mod = 60.0f;
else if (other_size_mod < 6.0)
other_size_mod = 8.0f;
if (other_size_mod > size_mod)
size_mod = other_size_mod;
if(other->IsClient() && this->IsClient()) //Null: PvP size mod
size_mod *= size_mod * 6;
else
size_mod *= size_mod * 4;
if (DistNoRootNoZ(*other) <= size_mod)
return true;
return false;
}
the latest eqemu source has a slightly different formula