mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10270] Implement basic system for reputation spillover
* Database table needs data for each faction that should give spillover to other faction(s). One faction may give spillover to max 4 other spillover factions. * The spillover rate is multiplied with the points after bonuses and reward rate is set, Rate is given as: 0.5 for 50% gain, -1.0 for 100% loss, etc * It is possible to restrict spillover faction by rank. If player has a higher rank with the spillover faction given in database, no spillover will be given towards this faction Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
647acd8caa
commit
fb1e8c01ef
13 changed files with 269 additions and 13 deletions
|
|
@ -1015,6 +1015,9 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading Creature Reputation OnKill Data..." );
|
||||
sObjectMgr.LoadReputationOnKill();
|
||||
|
||||
sLog.outString( "Loading Reputation Spillover Data..." );
|
||||
sObjectMgr.LoadReputationSpilloverTemplate();
|
||||
|
||||
sLog.outString( "Loading Points Of Interest Data..." );
|
||||
sObjectMgr.LoadPointsOfInterest();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue