Difference between revisions of "Server:Faction"

From The Al`Kabor Project Wiki
Jump to navigation Jump to search
(Created page with "This article will attempt to explain how faction works server-side to assist with understanding the various modifiers applied to characters between the base values and the one...")
 
Line 1: Line 1:
This article will attempt to explain how faction works server-side to assist with understanding the various modifiers applied to characters between the base values and the ones you experience in-game.
This article will attempt to explain how faction works server-side to assist with understanding the various modifiers applied to characters between the base values and the ones you experience in-game.
In the source code at '''/common/faction.cpp''', faction is calculated in the '''CalculateFaction''' function
<code>character_value += base value + class modifier + race modifier + deity modifier</code>


== Faction Ranges ==  
== Faction Ranges ==  

Revision as of 10:01, 21 November 2024

This article will attempt to explain how faction works server-side to assist with understanding the various modifiers applied to characters between the base values and the ones you experience in-game.

In the source code at /common/faction.cpp, faction is calculated in the CalculateFaction function

character_value += base value + class modifier + race modifier + deity modifier

Faction Ranges

From To Level
>= 2000 - FACTION_MAX_ALLY
>= 1100 - FACTION_ALLY
>= 750 <= 1099 FACTION_WARMLY
>= 500 <= 749 FACTION_KINDLY
>= 100 <= 499 FACTION_AMIABLY
>= 0 <= 99 FACTION_INDIFFERENTLY
>= -100 <= -1 FACTION_APPREHENSIVELY
>= -500 <= -101 FACTION_DUBIOUSLY
>= -750 <= -501 FACTION_THREATENINGLY
- <= -751 FACTION_SCOWLS
- <= -2000 FACTION_MAX_SCOWLS