mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
Fix for locked server bug, bandaid to fix stupid missile code.
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
extern uint64_t frame_time;
|
||||
|
||||
int Mob::GetBaseSkillDamage(EQEmu::skills::SkillType skill, Mob *target)
|
||||
{
|
||||
int base = EQEmu::skills::GetBaseDamage(skill);
|
||||
@@ -1012,7 +1014,7 @@ void Mob::ProjectileAttack()
|
||||
ProjectileAtk[i].skill = 0;
|
||||
ProjectileAtk[i].speed_mod = 0.0f;
|
||||
} else {
|
||||
ProjectileAtk[i].increment++;
|
||||
ProjectileAtk[i].increment += frame_time;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user