mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
parent
34ae3094d6
commit
f70078d62a
@ -963,6 +963,10 @@ int Mob::GetBestMeleeSkill()
|
||||
int Mob::offense(EQ::skills::SkillType skill)
|
||||
{
|
||||
int offense = GetSkill(skill);
|
||||
if (RuleB(Combat, UseMobStaticOffenseSkill) && IsNPC() && !IsPet() && !IsTempPet()) {
|
||||
offense = GetMobFixedWeaponSkill();
|
||||
}
|
||||
|
||||
int stat_bonus = GetSTR();
|
||||
|
||||
switch (skill) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user