*Missed changes! ><

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-19 12:50:58 -07:00
parent 799c5da00a
commit d3ba9eea44
2 changed files with 35 additions and 3 deletions
@@ -467,13 +467,13 @@ struct TRINITY_DLL_DECL mob_nerubar_victimAI : public ScriptedAI
{
if( CAST_PLR(Killer)->GetQuestStatus(11611) == QUEST_STATUS_INCOMPLETE)
{
uint8 rand = rand()%100;
if(rand < 25)
uint8 uiRand = rand()%100;
if(uiRand < 25)
{
Killer->CastSpell(m_creature,45532,true);
CAST_PLR(Killer)->KilledMonsterCredit(WARSONG_PEON, 0);
}
else if(rand < 75)
else if(uiRand < 75)
Killer->CastSpell(m_creature,nerubarVictims[rand()%3],true);
}
}
@@ -379,6 +379,38 @@ bool GOHello_go_tele_to_violet_stand(Player* pPlayer, GameObject* pGo)
return true;
}
/*######
## go_fel_crystalforge
######*/
enum
{
SPELL_CREATE_1_FLASK_OF_BEAST = 40964,
SPELL_CREATE_5_FLASK_OF_BEAST = 40965,
};
bool GOHello_go_fel_crystalforge(Player* pPlayer, GameObject* pGO)
{
pPlayer->CastSpell(pPlayer,SPELL_CREATE_1_FLASK_OF_BEAST,false);
return false;
}
/*######
## go_bashir_crystalforge
######*/
enum
{
SPELL_CREATE_1_FLASK_OF_SORCERER = 40968,
SPELL_CREATE_5_FLASK_OF_SORCERER = 40970,
};
bool GOHello_go_bashir_crystalforge(Player* pPlayer, GameObject* pGO)
{
pPlayer->CastSpell(pPlayer,SPELL_CREATE_1_FLASK_OF_SORCERER,false);
return false;
}
void AddSC_go_scripts()
{
Script *newscript;