Log in

View Full Version : Possible to make a pacifist mob?


BatCountry
05-27-2008, 01:02 PM
I was wondering if, in the current code, there was a flag/way/AI State to make a mob never aggro, even if it is attacked by a Client or other mob. I'd still like it to buff its friends, follow its grid, heal itself, etc, but never attack.

I don't require it to be accessible to Perl or the spawn tables, I just wanted to know if there's already an AI state that will do this.

Trying to avoid making to many changes to the "base" emulator code for my development server so the diff process for new versions isn't too painful.

cavedude
05-27-2008, 05:00 PM
The H npcspecialattk will do just that.

BatCountry
05-27-2008, 05:05 PM
Thanks, cd, that's exactly what I needed.