Server:Faction

From The Al`Kabor Project Wiki
Revision as of 10:01, 21 November 2024 by 73.20.180.211 (talk)
Jump to navigation Jump to search

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