Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2006, 11:24 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Thanks for the info.

I understand what you illustrated about how the "value" column is how much faction is gained/lost by a player for killing a mob and how if "npc_value" column is greater than 0, the NPC will assist and if it is less than zero, then the NPC will attack.

But how does that relate to the faction category table I listed above? On that table, values greater than zero would be "Indifferent" thru "Ally", while negative values would be "Apprehensive" thru "Scowling". As you stated, only "Threatenly" and "Scowling" are K.O.S.

Does the value of npc_value relate to the faction categories table in any way? If so, that is what I don't understand at the moment.
Reply With Quote
  #2  
Old 03-18-2006, 11:09 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

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.
Reply With Quote
  #3  
Old 03-19-2006, 03:19 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Got it. Thanks for clearing that up for me.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:22 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3