mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10252] Implement reputation_reward_rate for quests and creatures
* In addition, implement "flat" reputation for quests, where a value in RewRepValueN is given. Human diplomacy will not affect the total. The rate however will be applied, where a faction is defined with a rate for quests. Value in database are expected to be *100 of the actual value given (before rate are applied). * New database storage can contain rates for quest/creature/spell reputation and will affect the base value given as reward. When for example the quest reward for a faction should receive 30% more reputation points, the rate can be set to 1.3. * This will fix issues with certain quests that are using the expected RewRepValueId but where the outcome has been lower than expected. * Note that if the rate is set to 0.0 it will disable reputation gain for the faction and type. * Reputation rate for spells (spell effect) is not yet implemented Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
50c2e8eca2
commit
61990de6dd
13 changed files with 159 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10251"
|
||||
#define REVISION_NR "10252"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue