View Single Post
  #6  
Old 01-22-2009, 04:59 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

i added this to aggro.ccp
in the bool Mob::IsAttackAllowed(Mob *target) function
Code:
//////////////////////ADDED//////////////////////
	if(bt == BT_Noattack && target->IsClient())
		return(false);
///////////////////////END ADDED//////////////////
also added
Code:
//////////////////////ADDED//////////////////////
	if(bt == BT_Noattack)
		safe_delete(action_packet);
		return(false);
///////////////////////END ADDED//////////////////
to spells.cpp in the //cannot hurt untargetable mobs check

and added BT_Noattack = 9 to the bodytypes.h file..

think this will work of am i close?
Reply With Quote