View Single Post
  #4  
Old 01-13-2003, 02:48 AM
neotokyo
Hill Giant
 
Join Date: Oct 2002
Posts: 118
Default

and i just removed it again, it was in the wrong function :-/

you not only need to check for NPC melee attacks but spell attacks too, and you'd miss them in NPC::Attack. so i put it where it belongs (Client:amage)

good point about clients being charmed pets too - i would have missed that, but since i didn't put charm as possible offensive spell it wouldnt matter until someone changed the NPC behavior code.
Reply With Quote