mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-14 02:10:06 +00:00
Don't aggro to players using MSS
This commit is contained in:
parent
558d056bcf
commit
aaaf03128a
@ -127,7 +127,7 @@ bool MobAI::aggroCheck(Mob *mob, time_t currTime) {
|
||||
CNSocket *s = ref.sock;
|
||||
Player *plr = PlayerManager::getPlayer(s);
|
||||
|
||||
if (plr->HP <= 0)
|
||||
if (plr->HP <= 0 || plr->onMonkey)
|
||||
continue;
|
||||
|
||||
int mobRange = mob->sightRange;
|
||||
|
Loading…
Reference in New Issue
Block a user