Add spaces after commas
This commit is contained in:
@@ -43,17 +43,17 @@ enum eDeathKnightSpells
|
||||
#define EVENT_BLOOD_STRIKE 3
|
||||
#define EVENT_DEATH_COIL 4
|
||||
|
||||
//used by 29519,29520,29565,29566,29567 but signed for 29519
|
||||
//used by 29519, 29520, 29565, 29566, 29567 but signed for 29519
|
||||
int32 say_event_start[8] =
|
||||
{
|
||||
-1609000,-1609001,-1609002,-1609003,
|
||||
-1609004,-1609005,-1609006,-1609007
|
||||
-1609000, -1609001, -1609002, -1609003,
|
||||
-1609004, -1609005, -1609006, -1609007
|
||||
};
|
||||
|
||||
int32 say_event_attack[9] =
|
||||
{
|
||||
-1609008,-1609009,-1609010,-1609011,-1609012,
|
||||
-1609013,-1609014,-1609015,-1609016
|
||||
-1609008, -1609009, -1609010, -1609011, -1609012,
|
||||
-1609013, -1609014, -1609015, -1609016
|
||||
};
|
||||
|
||||
uint32 acherus_soul_prison[12] =
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
|
||||
for (uint8 i = 0; i < 12; ++i)
|
||||
{
|
||||
if (GameObject* temp_prison = me->FindNearestGameObject(acherus_soul_prison[i],30))
|
||||
if (GameObject* temp_prison = me->FindNearestGameObject(acherus_soul_prison[i], 30))
|
||||
{
|
||||
if (me->IsWithinDist(temp_prison, dist, false))
|
||||
{
|
||||
@@ -401,7 +401,7 @@ public:
|
||||
return true;
|
||||
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ACCEPT_DUEL, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF);
|
||||
pPlayer->SEND_GOSSIP_MENU(pPlayer->GetGossipTextId(pCreature),pCreature->GetGUID());
|
||||
pPlayer->SEND_GOSSIP_MENU(pPlayer->GetGossipTextId(pCreature), pCreature->GetGUID());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -787,14 +787,14 @@ public:
|
||||
// Ghouls should display their Birth Animation
|
||||
// Crawling out of the ground
|
||||
//DoCast(me, 35177, true);
|
||||
//me->MonsterSay("Mommy?",LANG_UNIVERSAL,0);
|
||||
//me->MonsterSay("Mommy?", LANG_UNIVERSAL, 0);
|
||||
me->SetReactState(REACT_DEFENSIVE);
|
||||
}
|
||||
|
||||
void FindMinions(Unit *owner)
|
||||
{
|
||||
std::list<Creature*> MinionList;
|
||||
owner->GetAllMinionsByEntry(MinionList,GHOULS);
|
||||
owner->GetAllMinionsByEntry(MinionList, GHOULS);
|
||||
|
||||
if (!MinionList.empty())
|
||||
{
|
||||
@@ -959,7 +959,7 @@ public:
|
||||
AddWaypoint(11, 2202.595947f, -6061.325684f, 5.882018f);
|
||||
AddWaypoint(12, 2188.974609f, -6080.866699f, 3.370027f);
|
||||
|
||||
if (urand(0,1))
|
||||
if (urand(0, 1))
|
||||
{
|
||||
AddWaypoint(13, 2176.483887f, -6110.407227f, 1.855181f);
|
||||
AddWaypoint(14, 2172.516602f, -6146.752441f, 1.074235f);
|
||||
@@ -995,7 +995,7 @@ public:
|
||||
me->SetInFront(car);
|
||||
me->SendMovementFlagUpdate();
|
||||
}
|
||||
me->MonsterSay(SAY_SCARLET_MINER1,LANG_UNIVERSAL,0);
|
||||
me->MonsterSay(SAY_SCARLET_MINER1, LANG_UNIVERSAL, 0);
|
||||
SetRun(true);
|
||||
IntroTimer = 4000;
|
||||
IntroPhase = 1;
|
||||
@@ -1009,7 +1009,7 @@ public:
|
||||
car->SendMonsterStop();
|
||||
car->RemoveAura(SPELL_CART_DRAG);
|
||||
}
|
||||
me->MonsterSay(SAY_SCARLET_MINER2,LANG_UNIVERSAL,0);
|
||||
me->MonsterSay(SAY_SCARLET_MINER2, LANG_UNIVERSAL, 0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -1059,7 +1059,7 @@ public:
|
||||
if (pPlayer->GetQuestStatus(12701) == QUEST_STATUS_INCOMPLETE)
|
||||
{
|
||||
// Hack Why Trinity Dont Support Custom Summon Location
|
||||
if (Creature *miner = pPlayer->SummonCreature(28841, 2383.869629f, -5900.312500f, 107.996086f, pPlayer->GetOrientation(),TEMPSUMMON_DEAD_DESPAWN, 1))
|
||||
if (Creature *miner = pPlayer->SummonCreature(28841, 2383.869629f, -5900.312500f, 107.996086f, pPlayer->GetOrientation(), TEMPSUMMON_DEAD_DESPAWN, 1))
|
||||
{
|
||||
pPlayer->CastSpell(pPlayer, SPELL_CART_SUMM, true);
|
||||
if (Creature *car = pPlayer->GetVehicleCreatureBase())
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "ScriptedEscortAI.h"
|
||||
|
||||
//How to win friends and influence enemies
|
||||
// texts signed for creature 28939 but used for 28939,28940,28610
|
||||
// texts signed for creature 28939 but used for 28939, 28940, 28610
|
||||
enum win_friends
|
||||
{
|
||||
SAY_PERSUADE1 = -1609501,
|
||||
@@ -86,12 +86,12 @@ public:
|
||||
me->SetReactState(REACT_PASSIVE);
|
||||
DoCastAOE(58111, true);
|
||||
|
||||
DoScriptText(RAND(SAY_PERSUADE1,SAY_PERSUADE2,SAY_PERSUADE3,
|
||||
SAY_PERSUADE4,SAY_PERSUADE5,SAY_PERSUADE6,
|
||||
DoScriptText(RAND(SAY_PERSUADE1, SAY_PERSUADE2, SAY_PERSUADE3,
|
||||
SAY_PERSUADE4, SAY_PERSUADE5, SAY_PERSUADE6,
|
||||
SAY_PERSUADE7), caster);
|
||||
|
||||
DoScriptText(RAND(SAY_CRUSADER1,SAY_CRUSADER2,SAY_CRUSADER3,
|
||||
SAY_CRUSADER4,SAY_CRUSADER5,SAY_CRUSADER6), me);
|
||||
DoScriptText(RAND(SAY_CRUSADER1, SAY_CRUSADER2, SAY_CRUSADER3,
|
||||
SAY_CRUSADER4, SAY_CRUSADER5, SAY_CRUSADER6), me);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
{
|
||||
pCreature->SetStandState(UNIT_STAND_STATE_STAND);
|
||||
|
||||
if (npc_escortAI* pEscortAI = CAST_AI(npc_koltira_deathweaver::npc_koltira_deathweaverAI,pCreature->AI()))
|
||||
if (npc_escortAI* pEscortAI = CAST_AI(npc_koltira_deathweaver::npc_koltira_deathweaverAI, pCreature->AI()))
|
||||
pEscortAI->Start(false, false, pPlayer->GetGUID());
|
||||
}
|
||||
return true;
|
||||
@@ -505,7 +505,7 @@ public:
|
||||
void Shout()
|
||||
{
|
||||
if (rand()%100 < 15)
|
||||
DoScriptText(RAND(SAY_VALROTH3,SAY_VALROTH4,SAY_VALROTH5), me);
|
||||
DoScriptText(RAND(SAY_VALROTH3, SAY_VALROTH4, SAY_VALROTH5), me);
|
||||
}
|
||||
|
||||
void JustDied(Unit* killer)
|
||||
@@ -520,7 +520,7 @@ public:
|
||||
/*######
|
||||
## npc_a_special_surprise
|
||||
######*/
|
||||
//used by 29032,29061,29065,29067,29068,29070,29074,29072,29073,29071 but signed for 29032
|
||||
//used by 29032, 29061, 29065, 29067, 29068, 29070, 29074, 29072, 29073, 29071 but signed for 29032
|
||||
enum SpecialSurprise
|
||||
{
|
||||
SAY_EXEC_START_1 = -1609025, // speech for all
|
||||
|
||||
@@ -243,7 +243,7 @@ void UpdateWorldState(Map *map, uint32 id, uint32 state)
|
||||
for (Map::PlayerList::const_iterator itr = players.begin(); itr != players.end(); ++itr)
|
||||
{
|
||||
if (Player* pPlayer = itr->getSource())
|
||||
pPlayer->SendUpdateWorldState(id,state);
|
||||
pPlayer->SendUpdateWorldState(id, state);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -377,11 +377,11 @@ public:
|
||||
uiTotal_scourge = ENCOUNTER_TOTAL_SCOURGE;
|
||||
uiSummon_counter = 0;
|
||||
|
||||
uiAnti_magic_zone = urand(1000,6000);
|
||||
uiDeath_strike = urand(5000,10000);
|
||||
uiDeath_embrace = urand(5000,10000);
|
||||
uiIcy_touch = urand(5000,10000);
|
||||
uiUnholy_blight = urand(5000,10000);
|
||||
uiAnti_magic_zone = urand(1000, 6000);
|
||||
uiDeath_strike = urand(5000, 10000);
|
||||
uiDeath_embrace = urand(5000, 10000);
|
||||
uiIcy_touch = urand(5000, 10000);
|
||||
uiUnholy_blight = urand(5000, 10000);
|
||||
|
||||
uiFight_speech = 15000;
|
||||
uiSpawncheck = 1000;
|
||||
@@ -1381,11 +1381,11 @@ public:
|
||||
|
||||
if (uiFight_speech <= diff)
|
||||
{
|
||||
DoScriptText(RAND(SAY_LIGHT_OF_DAWN09,SAY_LIGHT_OF_DAWN10,SAY_LIGHT_OF_DAWN11,
|
||||
SAY_LIGHT_OF_DAWN12,SAY_LIGHT_OF_DAWN13,SAY_LIGHT_OF_DAWN14,
|
||||
SAY_LIGHT_OF_DAWN15,SAY_LIGHT_OF_DAWN16,SAY_LIGHT_OF_DAWN17,
|
||||
SAY_LIGHT_OF_DAWN18,SAY_LIGHT_OF_DAWN19,SAY_LIGHT_OF_DAWN20,
|
||||
SAY_LIGHT_OF_DAWN21,SAY_LIGHT_OF_DAWN22,SAY_LIGHT_OF_DAWN23,
|
||||
DoScriptText(RAND(SAY_LIGHT_OF_DAWN09, SAY_LIGHT_OF_DAWN10, SAY_LIGHT_OF_DAWN11,
|
||||
SAY_LIGHT_OF_DAWN12, SAY_LIGHT_OF_DAWN13, SAY_LIGHT_OF_DAWN14,
|
||||
SAY_LIGHT_OF_DAWN15, SAY_LIGHT_OF_DAWN16, SAY_LIGHT_OF_DAWN17,
|
||||
SAY_LIGHT_OF_DAWN18, SAY_LIGHT_OF_DAWN19, SAY_LIGHT_OF_DAWN20,
|
||||
SAY_LIGHT_OF_DAWN21, SAY_LIGHT_OF_DAWN22, SAY_LIGHT_OF_DAWN23,
|
||||
SAY_LIGHT_OF_DAWN24), me);
|
||||
uiFight_speech = 15000 + rand()%5000;
|
||||
} else uiFight_speech -= diff;
|
||||
@@ -1535,7 +1535,7 @@ public:
|
||||
{
|
||||
if (Creature* pTemp = Unit::GetCreature(*me, ui_GUID))
|
||||
if (pTemp->isAlive())
|
||||
if (Unit* pTarger = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit* pTarger = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
if (pTarger->isAlive())
|
||||
{
|
||||
// pTemp->DeleteThreatList();
|
||||
|
||||
@@ -77,7 +77,7 @@ public:
|
||||
FlyBackTimer = 500;
|
||||
break;
|
||||
case 1:
|
||||
plr->GetClosePoint(x,y,z, me->GetObjectSize());
|
||||
plr->GetClosePoint(x, y, z, me->GetObjectSize());
|
||||
z += 2.5; x -= 2; y -= 1.5;
|
||||
me->GetMotionMaster()->MovePoint(0, x, y, z);
|
||||
me->SetUInt64Value(UNIT_FIELD_TARGET, plr->GetGUID());
|
||||
|
||||
Reference in New Issue
Block a user