mxwow modules
This commit is contained in:
@@ -19,13 +19,7 @@ class mxwow_toonmasterAnnounce : public PlayerScript
|
||||
mxwow_toonmasterAnnounce() : PlayerScript("mxwow_toonmasterAnnounce") {}
|
||||
void OnPlayerLogin(Player* player) override
|
||||
{
|
||||
// Announce Module
|
||||
if (sConfigMgr->GetOption<bool>("MxWoW_ToonMaster.Enabled", true))
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << "This server is running the |cff4CFF00MxW Toon Master|r module.";
|
||||
ChatHandler(player->GetSession()).SendSysMessage(ss.str().c_str());
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
@@ -82,8 +76,8 @@ public:
|
||||
amount = amount * expMulti;
|
||||
if (sConfigMgr->GetOption<bool>("MxWoW_ToonMaster.Verbose", true) && plevel < 80)
|
||||
{
|
||||
ss << "|cffabeeff[MxW][ToonMaster][%ixNiv.80] Bonus: EXPx%i";
|
||||
ChatHandler(player->GetSession()).PSendSysMessage(ss.str().c_str(), cMPL, expMulti);
|
||||
ss << "|cffabeeff[MxW][ToonMaster]["<< cMPL <<"xNiv.80] Bonus: EXPx"<<expMulti;
|
||||
ChatHandler(player->GetSession()).PSendSysMessage(ss.str().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user