View Single Post
  #6  
Old 09-09-2009, 05:07 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

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.
Reply With Quote