View Single Post
  #9  
Old 09-15-2005, 11:23 PM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

Ok so I was messing around with the two guards at the West Freeport Gates.

I noticed that they too were just chasing mobs around, not doing any damage. So I ran this bat into town and started this huge guard train behind me and the bat... when all of a sudden, bat dead. Who killed him? Brother Jentry.

So I used the Jentry as a point of comparison and the only difference I could find really was that Jentry had an NPC_Faction_id of 1403 while the guards had 18884. So I changed the two front guards to npc_faction_id of 1403 and drug a bat in.. nothin.

Turns out that now they only attack a mob if another guard of npc_faction_id of 18884 is also chasing the mob. But these guys on 1403 actually damage the mob and kill it where the others don't.

I don't really know how all the tables link together npc_types npc_faction and npc_faction_entries to make this happen. But maybe someone with a little more understanding on these tables can take my observations and make some sense out of it. I do know that npc_faction_id of 1403 will attack and kill a mob if one of his buddies is also pissed at this mob.
Reply With Quote