mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +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,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_10160_02_characters_pet_aura"
|
||||
#define REVISION_DB_MANGOS "required_10251_01_mangos_command"
|
||||
#define REVISION_DB_MANGOS "required_10252_01_mangos_reputation_reward_rate"
|
||||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue