mirror of
https://github.com/noisiver/mod-weekendbonus.git
synced 2026-01-13 00:58:36 +00:00
Fixes
I renamed the recruit a friend module to refer a friend. Changed the config options to fit the module.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user