The npc_value field handles only npc-to-npc interaction. For player interaction, the npc's primary faction should correspond to an ID from the faction_list table, and it's in that faction_list record that the npc's behavior toward players is dictated. It's a combination of the "base" value, then the class, race, and deity-specific modifier fields. The effective faction can be modified by faction hits players have incurred as well, which is stored in the faction_values table.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
|