If you look in the zone folder the file named aggro.cpp is where you need to make this happen. The function is called IsAttackAllowed and this is where you need to set your rules at.
It shouldn't be that hard just take a look at the function and study the source for a bit. By studying the source you should be able to copy/cut and add your way into what you want.
|