Core: Removed all double (and more) empty lines

This commit is contained in:
Shauren
2011-03-21 10:52:14 +01:00
parent f8162d609b
commit 2f79b0f266
353 changed files with 2 additions and 799 deletions
@@ -162,7 +162,6 @@ class mob_av_marshal_or_warmaster : public CreatureScript
uiEnrageTimer = urand(10*IN_MILLISECONDS,30*IN_MILLISECONDS);
}else uiEnrageTimer -= diff;
// check if creature is not outside of building
if (uiResetTimer <= diff)
{
@@ -179,7 +179,6 @@ public:
uiFrostboltTimer = urand(4*IN_MILLISECONDS,12*IN_MILLISECONDS);
} else uiFrostboltTimer -= diff;
// check if creature is not outside of building
if (uiResetTimer < diff)
{
@@ -128,7 +128,6 @@ public:
}
};
CreatureAI *GetAI(Creature *creature) const
{
return new boss_drektharAI(creature);
@@ -41,7 +41,6 @@ public:
{
boss_galvangarAI(Creature *c) : ScriptedAI(c) {}
uint32 uiCleaveTimer;
uint32 uiFrighteningShoutTimer;
uint32 uiWhirlwind1Timer;
@@ -49,7 +48,6 @@ public:
uint32 uiMortalStrikeTimer;
uint32 uiResetTimer;
void Reset()
{
uiCleaveTimer = urand(1*IN_MILLISECONDS,9*IN_MILLISECONDS);
@@ -368,7 +368,6 @@ public:
};
/*######
## mob_phalanx
######*/
@@ -538,7 +537,6 @@ public:
};
/*######
## npc_lokhtos_darkbargainer
######*/
@@ -606,7 +604,6 @@ public:
};
/*######
## npc_dughal_stormwing
######*/
@@ -1204,8 +1201,6 @@ public:
};
*/
/*######
@@ -110,7 +110,6 @@ public:
};
void AddSC_boss_draganthaurissan()
{
new boss_emperor_dagran_thaurissan();
@@ -95,7 +95,6 @@ public:
};
enum DoomrelSpells
{
SPELL_SHADOWBOLTVOLLEY = 15245,
@@ -456,8 +456,7 @@ public:
};
void AddSC_instance_blackrock_depths()
void AddSC_instance_blackrock_depths()
{
new instance_blackrock_depths();
}
@@ -202,7 +202,6 @@ public:
};
void AddSC_boss_gyth()
{
new boss_gyth();
@@ -123,7 +123,6 @@ public:
};
void AddSC_boss_razorgore()
{
new boss_razorgore();
@@ -381,9 +381,6 @@ public:
};
void AddSC_boss_victor_nefarius()
{
new boss_victor_nefarius();
@@ -543,9 +543,6 @@ public:
};
class boss_grubbis : public CreatureScript
{
public:
@@ -592,7 +589,6 @@ public:
};
void AddSC_gnomeregan()
{
new npc_blastmaster_emi_shortfuse();
@@ -137,7 +137,6 @@ public:
};
void AddSC_instance_gnomeregan()
{
new instance_gnomeregan();
@@ -195,7 +195,6 @@ public:
};
void AddSC_boss_curator()
{
new boss_curator();
@@ -136,7 +136,6 @@ public:
};
void AddSC_boss_maiden_of_virtue()
{
new boss_maiden_of_virtue();
@@ -310,7 +310,6 @@ void boss_attumen::boss_attumenAI::UpdateAI(const uint32 diff)
DoMeleeAttackIfReady();
}
void AddSC_boss_attumen()
{
new boss_attumen();
@@ -335,7 +335,6 @@ public:
};
void AddSC_boss_netherspite()
{
new boss_netherspite();
@@ -415,7 +415,6 @@ public:
};
void AddSC_boss_nightbane()
{
new boss_nightbane();
@@ -744,13 +744,6 @@ public:
};
/**************************************/
/**** Opera Red Riding Hood Event ****/
/************************************/
@@ -800,7 +793,6 @@ public:
};
class boss_bigbadwolf : public CreatureScript
{
public:
@@ -927,7 +919,6 @@ public:
};
/**********************************************/
/******** Opera Romeo and Juliet Event *******/
/********************************************/
@@ -1513,7 +1504,6 @@ void boss_julianne::boss_julianneAI::DamageTaken(Unit* /*done_by*/, uint32 &dama
sLog->outError("TSCR: boss_julianneAI: DamageTaken reach end of code, that should not happen.");
}
void AddSC_bosses_opera()
{
new boss_dorothee();
@@ -310,7 +310,6 @@ public:
};
void AddSC_instance_karazhan()
{
new instance_karazhan();
@@ -398,8 +398,6 @@ public:
};
/*###
# npc_berthold
####*/
@@ -441,7 +439,6 @@ public:
};
/*###
# npc_image_of_medivh
####*/
@@ -649,7 +646,6 @@ public:
};
void AddSC_karazhan()
{
new npc_barnes();
@@ -685,11 +685,6 @@ public:
};
void AddSC_boss_felblood_kaelthas()
{
new boss_felblood_kaelthas();
@@ -332,7 +332,6 @@ public:
};
enum eHealingPotion
{
SPELL_HEALING_POTION = 15503
@@ -576,7 +575,6 @@ public:
};
enum eWarlockSpells
{
SPELL_IMMOLATE = 44267,
@@ -321,7 +321,6 @@ public:
};
class mob_fel_crystal : public CreatureScript
{
public:
@@ -368,7 +367,6 @@ public:
};
void AddSC_boss_selin_fireheart()
{
new boss_selin_fireheart();
@@ -194,7 +194,6 @@ public:
};
class mob_pure_energy : public CreatureScript
{
public:
@@ -227,7 +226,6 @@ public:
};
void AddSC_boss_vexallus()
{
new boss_vexallus();
@@ -202,7 +202,6 @@ public:
};
void AddSC_instance_magisters_terrace()
{
new instance_magisters_terrace();
@@ -171,9 +171,6 @@ public:
};
void AddSC_magisters_terrace()
{
new npc_kalecgos();
@@ -153,7 +153,6 @@ class mob_firesworn : public CreatureScript
}
};
void AddSC_boss_garr()
{
new boss_garr();
@@ -309,7 +309,6 @@ class boss_ragnaros : public CreatureScript
}
};
class mob_son_of_flame : public CreatureScript
{
public:
@@ -227,7 +227,6 @@ class instance_molten_core : public InstanceMapScript
}
};
void AddSC_instance_molten_core()
{
new instance_molten_core();
@@ -281,7 +281,6 @@ public:
};
};
class npc_unworthy_initiate_anchor : public CreatureScript
{
public:
@@ -309,9 +308,6 @@ public:
};
class go_acherus_soul_prison : public GameObjectScript
{
public:
@@ -516,9 +512,6 @@ public:
};
/*######
## npc_dark_rider_of_acherus
######*/
@@ -605,7 +598,6 @@ public:
};
/*######
## npc_salanar_the_horseman
######*/
@@ -681,7 +673,6 @@ public:
};
/*######
## npc_ros_dark_rider
######*/
@@ -731,7 +722,6 @@ public:
};
// correct way: 52312 52314 52555 ...
enum SG
{
@@ -780,7 +770,6 @@ public:
};
class npc_scarlet_ghoul : public CreatureScript
{
public:
@@ -864,7 +853,6 @@ public:
};
/*####
## npc_scarlet_miner_cart
####*/
@@ -921,7 +909,6 @@ public:
};
/*####
## npc_scarlet_miner
####*/
@@ -1056,7 +1043,6 @@ public:
};
/*######
## go_inconspicuous_mine_car
######*/
@@ -141,7 +141,6 @@ public:
};
/*######
## npc_koltira_deathweaver
######*/
@@ -342,8 +341,6 @@ public:
};
//Scarlet courier
enum ScarletCourierEnum
{
@@ -432,7 +429,6 @@ public:
};
//Koltira & Valroth- Breakout
enum valroth
@@ -521,7 +517,6 @@ public:
};
/*######
## npc_a_special_surprise
######*/
@@ -986,7 +981,6 @@ public:
};
void AddSC_the_scarlet_enclave_c2()
{
new npc_crusade_persuaded();
@@ -1663,8 +1663,6 @@ public:
};
/*######
## npc the lich king in dawn of light
######*/
@@ -1689,8 +1687,6 @@ public:
};
void AddSC_the_scarlet_enclave_c5()
{
new npc_highlord_darion_mograine();
@@ -111,7 +111,6 @@ public:
};
void AddSC_the_scarlet_enclave()
{
new npc_valkyr_battle_maiden();
@@ -96,7 +96,6 @@ public:
};
void AddSC_boss_azshir_the_sleepless()
{
new boss_azshir_the_sleepless();
@@ -122,7 +122,6 @@ public:
};
void AddSC_boss_bloodmage_thalnos()
{
new boss_bloodmage_thalnos();
@@ -743,8 +743,6 @@ public:
};
class mob_pulsing_pumpkin : public CreatureScript
{
public:
@@ -118,7 +118,6 @@ public:
};
class mob_scarlet_trainee : public CreatureScript
{
public:
@@ -159,7 +158,6 @@ public:
};
void AddSC_boss_herod()
{
new boss_herod();
@@ -131,7 +131,6 @@ public:
};
void AddSC_boss_high_inquisitor_fairbanks()
{
new boss_high_inquisitor_fairbanks();
@@ -75,7 +75,6 @@ public:
};
void AddSC_boss_houndmaster_loksey()
{
new boss_houndmaster_loksey();
@@ -116,7 +116,6 @@ public:
};
void AddSC_boss_interrogator_vishas()
{
new boss_interrogator_vishas();
@@ -358,8 +358,6 @@ public:
};
void AddSC_boss_mograine_and_whitemane()
{
new boss_scarlet_commander_mograine();
@@ -155,7 +155,6 @@ public:
};
void AddSC_instance_scarlet_monastery()
{
new instance_scarlet_monastery();
@@ -113,7 +113,6 @@ public:
};
void AddSC_boss_theolenkrastinov()
{
new boss_doctor_theolen_krastinov();
@@ -201,8 +201,6 @@ public:
};
void AddSC_boss_jandicebarov()
{
new boss_jandice_barov();
@@ -115,7 +115,6 @@ public:
};
void AddSC_boss_theravenian()
{
new boss_the_ravenian();
@@ -101,7 +101,6 @@ public:
};
void AddSC_boss_vectus()
{
new boss_vectus();
@@ -144,7 +144,6 @@ public:
};
void AddSC_instance_scholomance()
{
new instance_scholomance();
@@ -275,7 +275,6 @@ public:
};
void AddSC_instance_shadowfang_keep()
{
new instance_shadowfang_keep();
@@ -141,9 +141,6 @@ public:
};
class npc_arugal_voidwalker : public CreatureScript
{
public:
@@ -199,7 +196,6 @@ public:
};
void AddSC_shadowfang_keep()
{
new npc_shadowfang_prisoner();
@@ -188,7 +188,6 @@ public:
};
void AddSC_boss_baron_rivendare()
{
new boss_baron_rivendare();
@@ -215,7 +215,6 @@ public:
};
void AddSC_boss_dathrohan_balnazzar()
{
new boss_dathrohan_balnazzar();
@@ -472,7 +472,6 @@ class instance_stratholme : public InstanceMapScript
}
};
void AddSC_instance_stratholme()
{
new instance_stratholme();
@@ -111,7 +111,6 @@ public:
};
/*######
## mob_restless_soul
######*/
@@ -190,7 +189,6 @@ public:
};
/*######
## mobs_spectral_ghostly_citizen
######*/
@@ -288,7 +286,6 @@ public:
};
void AddSC_stratholme()
{
new go_gauntlet_gate();
@@ -203,7 +203,6 @@ public:
};
void AddSC_instance_sunken_temple()
{
new instance_sunken_temple();
@@ -347,7 +347,6 @@ public:
};
void AddSC_boss_brutallus()
{
new boss_brutallus();
@@ -343,7 +343,6 @@ public:
};
class boss_alythess : public CreatureScript
{
public:
@@ -674,7 +673,6 @@ public:
};
class mob_shadow_image : public CreatureScript
{
public:
@@ -757,7 +755,6 @@ public:
};
void AddSC_boss_eredar_twins()
{
new boss_sacrolash();
@@ -583,9 +583,6 @@ public:
};
void AddSC_boss_felmyst()
{
new boss_felmyst();
@@ -802,7 +802,6 @@ public:
};
void AddSC_boss_kalecgos()
{
new boss_kalecgos();
@@ -493,7 +493,6 @@ public:
};
//AI for Kil'jaeden
class boss_kiljaeden : public CreatureScript
{
@@ -680,7 +679,6 @@ public:
}
}
void UpdateAI(const uint32 diff)
{
if (!UpdateVictim() || Phase < PHASE_NORMAL)
@@ -909,7 +907,6 @@ public:
};
//AI for Hand of the Deceiver
class mob_hand_of_the_deceiver : public CreatureScript
{
@@ -1011,7 +1008,6 @@ public:
};
//AI for Felfire Portal
class mob_felfire_portal : public CreatureScript
{
@@ -1057,7 +1053,6 @@ public:
};
//AI for Felfire Fiend
class mob_volatile_felfire_fiend : public CreatureScript
{
@@ -1116,7 +1111,6 @@ public:
};
//AI for Armageddon target
class mob_armageddon : public CreatureScript
{
@@ -1172,7 +1166,6 @@ public:
};
//AI for Shield Orbs
class mob_shield_orb : public CreatureScript
{
@@ -1261,7 +1254,6 @@ public:
};
//AI for Sinister Reflection
class mob_sinster_reflection : public CreatureScript
{
@@ -1432,7 +1424,6 @@ public:
};
void AddSC_boss_kiljaeden()
{
new go_orb_of_the_blue_flight();
@@ -201,7 +201,6 @@ public:
};
class boss_muru : public CreatureScript
{
public:
@@ -367,7 +366,6 @@ public:
};
class npc_muru_portal : public CreatureScript
{
public:
@@ -452,7 +450,6 @@ public:
};
class npc_dark_fiend : public CreatureScript
{
public:
@@ -516,7 +513,6 @@ public:
};
class npc_void_sentinel : public CreatureScript
{
public:
@@ -573,7 +569,6 @@ public:
};
class npc_blackhole : public CreatureScript
{
public:
@@ -653,7 +648,6 @@ public:
};
void AddSC_boss_muru()
{
new boss_muru();
@@ -306,7 +306,6 @@ public:
};
void AddSC_instance_sunwell_plateau()
{
new instance_sunwell_plateau();
@@ -23,7 +23,6 @@ SDComment: Need some cosmetics updates when archeadas door are closing (Guardian
SDCategory: Uldaman
EndScriptData */
#include "ScriptPCH.h"
#include "uldaman.h"
@@ -101,8 +101,6 @@ class mob_jadespine_basilisk : public CreatureScript
}
};
/*######
## go_keystone_chamber
######*/
@@ -439,7 +439,6 @@ class boss_janalai : public CreatureScript
}
};
CreatureAI* GetAI(Creature* creature) const
{
return new boss_janalaiAI(creature);
@@ -445,7 +445,6 @@ class boss_nalorakk : public CreatureScript
}
};
CreatureAI* GetAI(Creature* creature) const
{
return new boss_nalorakkAI(creature);
@@ -587,7 +587,6 @@ class boss_zuljin : public CreatureScript
}
};
CreatureAI* GetAI(Creature* creature) const
{
return new boss_zuljinAI(creature);
@@ -631,7 +630,6 @@ class mob_zuljin_vortex : public CreatureScript
}
};
void AddSC_boss_zuljin()
{
new boss_zuljin();
@@ -69,7 +69,6 @@ public:
};
/*######
## npc_fallen_hero_of_horde
######*/
@@ -162,7 +161,6 @@ public:
};
void AddSC_blasted_lands()
{
new npc_deathly_usher();
@@ -150,9 +150,6 @@ public:
};
void AddSC_burning_steppes()
{
new npc_ragged_john();
@@ -63,7 +63,6 @@ public:
};
/*######
## npc_augustus_the_touched
######*/
@@ -95,7 +94,6 @@ public:
};
/*######
## npc_darrowshire_spirit
######*/
@@ -136,7 +134,6 @@ public:
};
/*######
## npc_tirion_fordring
######*/
@@ -191,7 +188,6 @@ public:
};
void AddSC_eastern_plaguelands()
{
new mobs_ghoul_flayer();
@@ -119,9 +119,6 @@ public:
};
/*######
## Quest 9686 Second Trial
######*/
@@ -500,7 +497,6 @@ void npc_second_trial_paladin::npc_secondTrialAI::JustDied(Unit* Killer)
}
}
/*######
## go_second_trial
######*/
@@ -520,7 +516,6 @@ public:
};
/*######
## npc_apprentice_mirveda
######*/
@@ -605,7 +600,6 @@ public:
};
/*######
## npc_infused_crystal
######*/
@@ -72,7 +72,6 @@ public:
};
/*######
## npc_budd_nedreck
######*/
@@ -109,7 +108,6 @@ public:
};
/*######
## npc_rathis_tomber
######*/
@@ -144,7 +142,6 @@ public:
};
/*######
## npc_ranger_lilatha
######*/
@@ -256,7 +253,6 @@ public:
};
void AddSC_ghostlands()
{
new npc_blood_knight_dawnstar();
@@ -149,8 +149,6 @@ public:
};
/*######
## npc_rinji
######*/
@@ -350,8 +348,6 @@ public:
};
void AddSC_hinterlands()
{
new npc_00x09hl();
@@ -91,7 +91,6 @@ public:
};
void AddSC_ironforge()
{
new npc_royal_historian_archesonus();
@@ -98,7 +98,6 @@ public:
};
void AddSC_loch_modan()
{
new npc_mountaineer_pebblebitty();
@@ -167,8 +167,6 @@ public:
};
void AddSC_redridge_mountains()
{
new npc_corporal_keeshan();
@@ -80,7 +80,6 @@ public:
};
/*######
## npc_lothos_riftwaker
######*/
@@ -119,7 +118,6 @@ public:
};
/*######
## npc_zamael_lunthistle
######*/
@@ -169,7 +167,6 @@ public:
};
/*######
##
######*/
@@ -103,7 +103,6 @@ public:
};
void AddSC_silvermoon_city()
{
new npc_blood_knight_stillblade();
@@ -99,9 +99,6 @@ public:
};
/*######
## npc_deathstalker_erland
######*/
@@ -197,7 +194,6 @@ public:
};
/*######
## pyrewood_ambush
#######*/
@@ -384,8 +380,6 @@ public:
};
/*######
## AddSC
######*/
@@ -75,7 +75,6 @@ public:
};
/*######
## npc_bartleby
######*/
@@ -148,8 +147,6 @@ public:
};
/*######
## npc_dashel_stonefist
######*/
@@ -222,8 +219,6 @@ public:
};
/*######
## npc_lady_katrana_prestor
######*/
@@ -278,7 +273,6 @@ public:
};
/*######
## npc_lord_gregor_lescovar
######*/
@@ -452,7 +446,6 @@ public:
};
/*######
## npc_marzon_silent_blade
######*/
@@ -534,7 +527,6 @@ public:
};
/*######
## npc_tyrion_spybot
######*/
@@ -684,7 +676,6 @@ public:
};
/*######
## npc_tyrion
######*/
@@ -16,7 +16,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ScriptPCH.h"
#include "ScriptedEscortAI.h"
@@ -153,7 +153,6 @@ public:
};
/*######
## go_mausoleum_door
## go_mausoleum_trigger
@@ -146,7 +146,6 @@ public:
};
/*######
## npc_highborne_lamenter
######*/
@@ -256,7 +255,6 @@ public:
};
/*######
## AddSC
######*/
@@ -103,7 +103,6 @@ public:
};
/*######
## npc_myranda_the_hag
######*/
@@ -153,7 +152,6 @@ public:
};
/*######
## npc_the_scourge_cauldron
######*/
@@ -269,7 +267,6 @@ public:
};
/*######
## npc_anchorite_truuen
######*/
@@ -401,8 +398,6 @@ public:
};
/*######
##
######*/
@@ -188,8 +188,6 @@ public:
};
/*######
## npc_defias_traitor
######*/
@@ -263,8 +261,6 @@ public:
};
void AddSC_westfall()
{
new npc_daphne_stilwell();
@@ -135,7 +135,6 @@ public:
};
/*######
## npc_mikhail
######*/
@@ -190,7 +190,6 @@ public:
};
enum eMorridune
{
SAY_MORRIDUNE_1 = -1048003,
@@ -254,9 +253,6 @@ public:
};
void AddSC_blackfathom_deeps()
{
new go_blackfathom_altar();
@@ -89,7 +89,6 @@ public:
};
void AddSC_boss_aku_mai()
{
new boss_aku_mai();
@@ -80,7 +80,6 @@ public:
};
void AddSC_boss_gelihast()
{
new boss_gelihast();
@@ -103,7 +103,6 @@ public:
};
void AddSC_boss_kelris()
{
new boss_kelris();
@@ -258,7 +258,6 @@ public:
};
void AddSC_instance_blackfathom_deeps()
{
new instance_blackfathom_deeps();
@@ -239,7 +239,6 @@ public:
};
#define SPELL_IMMOLATION 31303
#define SPELL_INFERNO_EFFECT 31302
@@ -325,7 +324,6 @@ public:
};
void AddSC_boss_anetheron()
{
new boss_anetheron();
@@ -640,10 +640,6 @@ public:
};
void AddSC_boss_archimonde()
{
new boss_archimonde();
@@ -202,7 +202,6 @@ public:
};
#define SPELL_THRASH 12787
#define SPELL_CRIPPLE 31406
#define SPELL_WARSTOMP 31408
@@ -301,7 +300,6 @@ public:
};
void AddSC_boss_azgalor()
{
new boss_azgalor();
@@ -210,7 +210,6 @@ public:
};
void AddSC_boss_kazrogal()
{
new boss_kazrogal();
@@ -205,7 +205,6 @@ public:
};
void AddSC_boss_rage_winterchill()
{
new boss_rage_winterchill();
@@ -121,8 +121,6 @@ public:
};
class npc_thrall : public CreatureScript
{
public:
@@ -201,8 +199,6 @@ public:
};
class npc_tyrande_whisperwind : public CreatureScript
{
public:
@@ -249,8 +245,6 @@ public:
};
void AddSC_hyjal()
{
new npc_jaina_proudmoore();
@@ -626,7 +626,6 @@ public:
};
#define SPELL_FRENZY 31540
class mob_ghoul : public CreatureScript
@@ -733,7 +732,6 @@ public:
};
#define SPELL_RAISE_DEAD_1 31617
#define SPELL_RAISE_DEAD_2 31624
#define SPELL_RAISE_DEAD_3 31625
@@ -856,7 +854,6 @@ public:
};
#define SPELL_BANSHEE_CURSE 31651
#define SPELL_BANSHEE_WAIL 38183
#define SPELL_ANTI_MAGIC_SHELL 31662
@@ -964,7 +961,6 @@ public:
};
#define SPELL_WEB 28991
class mob_crypt_fiend : public CreatureScript
@@ -1057,7 +1053,6 @@ public:
};
#define SPELL_MANA_BURN 31729
class mob_fel_stalker : public CreatureScript
@@ -1150,7 +1145,6 @@ public:
};
#define SPELL_FROST_BREATH 31688
class mob_frost_wyrm : public CreatureScript
@@ -1268,7 +1262,6 @@ public:
};
#define SPELL_GARGOYLE_STRIKE 31664
class mob_gargoyle : public CreatureScript
@@ -1409,7 +1402,6 @@ public:
};
#define SPELL_EXPLODING_SHOT 7896
class alliance_rifleman : public CreatureScript
@@ -322,7 +322,6 @@ public:
};
void AddSC_instance_mount_hyjal()
{
new instance_hyjal();
@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* Script Data Start
SDName: Boss epoch
SDAuthor: Tartalo
@@ -151,7 +150,6 @@ public:
};
void AddSC_boss_epoch()
{
new boss_epoch();

Some files were not shown because too many files have changed in this diff Show More