Created
March 18, 2014 10:09
-
-
Save Kittnz/9617130 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************ | |
* Login Script * | |
* * | |
* UNTESTED * | |
* * | |
* RealityNetGaming * | |
************************************* | |
*/ | |
//Credit to SymbolixDEV for original. | |
class login_script : public PlayerScript | |
{ | |
public: | |
login_script() : PlayerScript("login_script") { } | |
void OnLogin(Player* player) | |
{ | |
handler->PSendSysMessage("|cffff0000Welcome back to RealityNetGaming!|r"); | |
me->AddAura(15366, me); //Songflower Serenade | |
me->AddAura(16609, me); // Warchief's Blessing | |
me->AddAura(43223, me); // Greater Blessing of Kings | |
me->AddAura(36880, me); // Arcane Intellect | |
me->AddAura(33081, me); // Stamina | |
me->AddAura(26035, me); // Celebrate Good Times! | |
me->AddAura(66068, me); // Thorns | |
me->AddAura(21562, me); // Power Word: Fortitude | |
player->SetPower(POWER_MANA, player->GetMaxPower(POWER_MANA)); // set max mana | |
player->RemoveAllSpellCooldown(); //reset cooldowns on login! | |
} | |
}; | |
void AddSC_login_script() | |
{ | |
new login_script(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment