mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-19 12:21:34 +00:00
Whoops, we do haste differently
This commit is contained in:
parent
7d12382333
commit
24e4730204
@ -3404,10 +3404,10 @@ int Mob::GetHaste()
|
|||||||
else if (IsNPC() && CastToNPC()->GetSwarmTarget())
|
else if (IsNPC() && CastToNPC()->GetSwarmTarget())
|
||||||
owner = entity_list.GetMobID(CastToNPC()->GetSwarmOwner());
|
owner = entity_list.GetMobID(CastToNPC()->GetSwarmOwner());
|
||||||
if (owner) {
|
if (owner) {
|
||||||
cap = 110;
|
cap = 10;
|
||||||
cap += std::max(0, owner->GetLevel() - 39) + std::max(0, owner->GetLevel() - 60);
|
cap += std::max(0, owner->GetLevel() - 39) + std::max(0, owner->GetLevel() - 60);
|
||||||
} else {
|
} else {
|
||||||
cap = 250;
|
cap = 150;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(h > cap)
|
if(h > cap)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user