mirror of
https://github.com/azerothcore/mod-account-achievements
synced 2025-11-29 23:39:58 +08:00
@@ -1,8 +1,8 @@
|
|||||||
## mod-learnspells
|
## mod-account-achievements
|
||||||
|
|
||||||
# LearnAllSpells module for AzerothCore.
|
# Account Achievements module for AzerothCore.
|
||||||
|
|
||||||
LearnAllSpells teach new spells on level-up, like in Cataclysm and up.
|
Share your characters achievements to all on your account.
|
||||||
|
|
||||||
# Original script:
|
# Original script:
|
||||||
http://www.ac-web.org/forums/showthread.php?172918-C-Automatically-Learn-New-Spells
|
http://www.ac-web.org/forums/showthread.php?223586-Account-Bound-Achievements
|
||||||
@@ -92,9 +92,9 @@ public:
|
|||||||
{
|
{
|
||||||
if (!reload) {
|
if (!reload) {
|
||||||
std::string conf_path = _CONF_DIR;
|
std::string conf_path = _CONF_DIR;
|
||||||
std::string cfg_file = conf_path + "/mod_achievement.conf";
|
std::string cfg_file = conf_path + "/mod_achievements.conf";
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
cfg_file = "mod_achievement.conf";
|
cfg_file = "mod_achievements.conf";
|
||||||
#endif
|
#endif
|
||||||
std::string cfg_def_file = cfg_file + ".dist";
|
std::string cfg_def_file = cfg_file + ".dist";
|
||||||
sConfigMgr->LoadMore(cfg_def_file.c_str());
|
sConfigMgr->LoadMore(cfg_def_file.c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user