View Single Post
  #3  
Old 03-11-2007, 06:03 AM
Kayot
Discordant
 
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
Default

This may help --

faction_id

1 = Faction Loss
0 = Faction Gain
-1 = Attacks Faction on sight

I'm still adding this to my program, but the general idea is to set it to -1 in the npc_value column for the monster to attack monsters of the listed faction. 0 to gain faction for killing this mob, and 1 to lose faction in the listed faction for killing this mob. So killing Guard Brookrock in Kelething is like so:

63 - Crushbone Orcs -1 < Attacks Orcs on sight
92 - Emerald Warriors 1 < Lose facting with Emerald Warriors for this guards death
155 - Indigo Brotherhood 0 < Gain faction with Indigo Brotherhood for this guards death.

Hope that helps ^-^
__________________
If at first you don't succeed destroy all evidence that you ever tried.

God doesn't give second chances... Hell, he sets you up the first time.
Reply With Quote