void OnActivate(PlayerPointer pPlayer) { if(pPlayer->HasFinishedQuest(7761) && pPlayer->getLevel() >= 58 && pPlayer->InGroup() == true) { pPlayer->SafeTeleport(469, 0, -7672.939941f, -1107.307617f, 396.649994f, 0.616532f); } else if(pPlayer->getLevel() <= 57 || pPlayer->HasFinishedQuest(7761) == false) { pPlayer->BroadcastMessage("You need to be level 58 and have completed the quest : Blackhand's Command"); } else if(pPlayer->HasFinishedQuest(7761) == true && pPlayer->getLevel() >= 58 && pPlayer->InGroup() == false) { pPlayer->BroadcastMessage("You need to be in a raid group to be able to enter this instance"); } }
void OnActivate(PlayerPointer pPlayer) { if( pPlayer->getRace() == RACE_TAUREN || pPlayer->getRace() == RACE_TROLL || pPlayer->getRace() == RACE_ORC || pPlayer->getRace() == RACE_UNDEAD || pPlayer->getRace() == RACE_BLOODELF ) { pPlayer->SafeTeleport(0, 0, 1805.823975f, 334.009796f, 70.397469f, 4.724170f); // teleports to UC } else { pPlayer->BroadcastMessage("You are not alowed to use this orb"); } }
void OnActivate(PlayerPointer pPlayer) { if(pPlayer->getRace() == RACE_TAUREN || pPlayer->getRace() == RACE_TROLL || pPlayer->getRace() == RACE_ORC || pPlayer->getRace() == RACE_UNDEAD || pPlayer->getRace() == RACE_BLOODELF ) { pPlayer->SafeTeleport(530, 0, 10021.254883f, -7014.893066f, 49.717690f, 4.00532f); // teleports to Silvermoon } else { pPlayer->BroadcastMessage("You are not alowed to use this orb"); } }
void OnActivate(PlayerPointer pPlayer) { if(pPlayer->getLevel() >= 70) { //pPlayer->SafeTeleport(530, 4080, 12803.374023f, -6907.089844f, 41.114765f, 2.251736f); pPlayer->CastSpell(pPlayer, dbcSpell.LookupEntry(44870), true); } else if(pPlayer->getLevel() <= 69) { pPlayer->BroadcastMessage("You must be level 70 to use this!"); } }
void OnActivate(PlayerPointer pPlayer) { if(pPlayer->GetQuestLogForEntry(9508)) { float SSX = pPlayer->GetPositionX(); float SSY = pPlayer->GetPositionY(); float SSZ = pPlayer->GetPositionZ(); float SSO = pPlayer->GetOrientation(); CreaturePointer NewCreature = pPlayer->GetMapMgr()->GetInterface()->SpawnCreature(17359, SSX, SSY+1, SSZ, SSO, true, false, 0, 0); if ( NewCreature != NULL ) NewCreature->Despawn(600000, 0); } else { pPlayer->BroadcastMessage("Missing required quest : Call of Water"); } }
void OnActivate(PlayerPointer pPlayer) { if(pPlayer->GetItemInterface()->GetItemCount(9240, 1)) { float SSX = pPlayer->GetPositionX(); float SSY = pPlayer->GetPositionY(); float SSZ = pPlayer->GetPositionZ(); float SSO = pPlayer->GetOrientation(); CreaturePointer NewCreature = pPlayer->GetMapMgr()->GetInterface()->SpawnCreature(7273, SSX+1, SSY, SSZ, SSO, true, false, 0, 0); if ( NewCreature != NULL ) NewCreature->Despawn(1800000, 0); } else { pPlayer->BroadcastMessage("Missing required item : Mallet of Zul'Farrak"); } }
void OnActivate(PlayerPointer pPlayer) { if(pPlayer->GetQuestLogForEntry(11073) && pPlayer->GetItemInterface()->GetItemCount(32720, 1)) { float SSX = pPlayer->GetPositionX(); float SSY = pPlayer->GetPositionY(); float SSZ = pPlayer->GetPositionZ(); float SSO = pPlayer->GetOrientation(); CreaturePointer NewCreature = pPlayer->GetMapMgr()->GetInterface()->SpawnCreature(21838, SSX, SSY, SSZ, SSO, true, false, 0, 0); if ( NewCreature != NULL ) NewCreature->Despawn(600000, 0); } else { pPlayer->BroadcastMessage("You need to have item : Time-Lost Offering and to have quest : Terokk's Downfall"); } }