I renamed the recruit a friend module to refer a friend.
Changed the config options to fit the module.
This commit is contained in:
Revision
2021-12-16 18:36:37 +01:00
parent 79105c6a1e
commit e82118a58c
3 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ This module is part of my collection of modules.
[LevelReward](https://github.com/tkn963/mod-levelreward) : Gives players a reward of gold when reaching specific levels.
[RecruitAFriend](https://github.com/tkn963/mod-recruitafriend) : Lets players activate recruit a friend with an in-game command.
[ReferAFriend](https://github.com/tkn963/mod-referafriend) : Lets players activate refer a friend with an in-game command.
[SpawnPoints](https://github.com/tkn963/mod-spawnpoints) : Makes new characters spawn in specified locations when entering the world for the first time.

View File

@@ -1,7 +1,7 @@
[worldserver]
# Multiplier for experience gains on weekends
Multiplier.Experience = 2
WeekendBonus.Multiplier.Experience = 2
# Multiplier for reputation gains on weekends
Multiplier.Reputation = 2
WeekendBonus.Multiplier.Reputation = 2

View File

@@ -69,8 +69,8 @@ class WeekendBonusConfig : WorldScript
void OnAfterConfigLoad(bool /*reload*/) override
{
multiplierExperience = sConfigMgr->GetOption<int32>("Multiplier.Experience", 1);
multiplierReputation = sConfigMgr->GetOption<int32>("Multiplier.Reputation", 1);
multiplierExperience = sConfigMgr->GetOption<int32>("WeekendBonus.Multiplier.Experience", 1);
multiplierReputation = sConfigMgr->GetOption<int32>("WeekendBonus.Multiplier.Reputation", 1);
}
};