Don't aggro to players using MSS

This commit is contained in:
CakeLancelot 2021-09-05 13:23:05 -05:00 committed by GitHub
parent 558d056bcf
commit aaaf03128a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;