Whoops, we do haste differently

This commit is contained in:
Michael Cook (mackal) 2017-11-04 00:39:54 -04:00
parent 7d12382333
commit 24e4730204

View File

@ -3404,10 +3404,10 @@ int Mob::GetHaste()
else if (IsNPC() && CastToNPC()->GetSwarmTarget())
owner = entity_list.GetMobID(CastToNPC()->GetSwarmOwner());
if (owner) {
cap = 110;
cap = 10;
cap += std::max(0, owner->GetLevel() - 39) + std::max(0, owner->GetLevel() - 60);
} else {
cap = 250;
cap = 150;
}
if(h > cap)