TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
zone_icecrown.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellAuras.h"
#include "Player.h"
#include "TemporarySummon.h"
#include "CombatAI.h"
+ Include dependency graph for zone_icecrown.cpp:

Classes

class  npc_argent_valiant
 
struct  npc_argent_valiant::npc_argent_valiantAI
 
class  npc_guardian_pavilion
 
struct  npc_guardian_pavilion::npc_guardian_pavilionAI
 
class  npc_tournament_training_dummy
 
struct  npc_tournament_training_dummy::npc_tournament_training_dummyAI
 
class  npc_blessed_banner
 
struct  npc_blessed_banner::npc_blessed_bannerAI
 
class  npc_frostbrood_skytalon
 
struct  npc_frostbrood_skytalon::npc_frostbrood_skytalonAI
 

Enumerations

enum  ArgentValiant { SPELL_CHARGE = 63010, SPELL_SHIELD_BREAKER = 65147, SPELL_KILL_CREDIT = 63049 }
 
enum  GuardianPavilion { SPELL_TRESPASSER_H = 63987, AREA_SUNREAVER_PAVILION = 4676, AREA_SILVER_COVENANT_PAVILION = 4677, SPELL_TRESPASSER_A = 63986 }
 
enum  TournamentDummy {
  NPC_CHARGE_TARGET = 33272, NPC_MELEE_TARGET = 33229, NPC_RANGED_TARGET = 33243, SPELL_CHARGE_CREDIT = 62658,
  SPELL_MELEE_CREDIT = 62672, SPELL_RANGED_CREDIT = 62673, SPELL_PLAYER_THRUST = 62544, SPELL_PLAYER_BREAK_SHIELD = 62626,
  SPELL_PLAYER_CHARGE = 62874, SPELL_RANGED_DEFEND = 62719, SPELL_CHARGE_DEFEND = 64100, SPELL_VULNERABLE = 62665,
  SPELL_COUNTERATTACK = 62709, EVENT_DUMMY_RECAST_DEFEND = 1, EVENT_DUMMY_RESET = 2
}
 
enum  BlessedBanner {
  SPELL_BLESSING_OF_THE_CRUSADE = 58026, SPELL_THREAT_PULSE = 58113, SPELL_CRUSADERS_SPIRE_VICTORY = 58084, SPELL_TORCH = 58121,
  NPC_BLESSED_BANNER = 30891, NPC_CRUSADER_LORD_DALFORS = 31003, NPC_ARGENT_BATTLE_PRIEST = 30919, NPC_ARGENT_MASON = 30900,
  NPC_REANIMATED_CAPTAIN = 30986, NPC_SCOURGE_DRUDGE = 30984, NPC_HIDEOUS_PLAGEBRINGER = 30987, NPC_HALOF_THE_DEATHBRINGER = 30989,
  NPC_LK = 31013, BANNER_SAY = 0, DALFORS_SAY_PRE_1 = 0, DALFORS_SAY_PRE_2 = 1,
  DALFORS_SAY_START = 2, DALFORS_YELL_FINISHED = 3, LK_TALK_1 = 0, LK_TALK_2 = 1,
  LK_TALK_3 = 2, LK_TALK_4 = 3, EVENT_SPAWN = 1, EVENT_INTRO_1 = 2,
  EVENT_INTRO_2 = 3, EVENT_INTRO_3 = 4, EVENT_MASON_ACTION = 5, EVENT_START_FIGHT = 6,
  EVENT_WAVE_SPAWN = 7, EVENT_HALOF = 8, EVENT_ENDED = 9
}
 
enum  BorrowedTechnologyAndVolatility {
  SPELL_GRAB = 59318, SPELL_PING_BUNNY = 59375, SPELL_IMMOLATION = 54690, SPELL_EXPLOSION = 59335,
  SPELL_RIDE = 56687, POINT_GRAB_DECOY = 1, POINT_FLY_AWAY = 2, EVENT_FLY_AWAY = 1
}
 

Functions

void AddSC_icecrown ()
 

Variables

Position const DalforsPos [3]
 
Position const Priest1Pos [2]
 
Position const Priest2Pos [2]
 
Position const Priest3Pos [2]
 
Position const Mason1Pos [3]
 
Position const Mason2Pos [3]
 
Position const Mason3Pos [3]
 

Enumeration Type Documentation

Enumerator
SPELL_CHARGE 
SPELL_SHIELD_BREAKER 
SPELL_KILL_CREDIT 
32 {
33  SPELL_CHARGE = 63010,
34  SPELL_SHIELD_BREAKER = 65147,
35  SPELL_KILL_CREDIT = 63049
36 };
Definition: zone_icecrown.cpp:34
Definition: zone_icecrown.cpp:33
Definition: zone_icecrown.cpp:35
Enumerator
SPELL_BLESSING_OF_THE_CRUSADE 
SPELL_THREAT_PULSE 
SPELL_CRUSADERS_SPIRE_VICTORY 
SPELL_TORCH 
NPC_BLESSED_BANNER 
NPC_CRUSADER_LORD_DALFORS 
NPC_ARGENT_BATTLE_PRIEST 
NPC_ARGENT_MASON 
NPC_REANIMATED_CAPTAIN 
NPC_SCOURGE_DRUDGE 
NPC_HIDEOUS_PLAGEBRINGER 
NPC_HALOF_THE_DEATHBRINGER 
NPC_LK 
BANNER_SAY 
DALFORS_SAY_PRE_1 
DALFORS_SAY_PRE_2 
DALFORS_SAY_START 
DALFORS_YELL_FINISHED 
LK_TALK_1 
LK_TALK_2 
LK_TALK_3 
LK_TALK_4 
EVENT_SPAWN 
EVENT_INTRO_1 
EVENT_INTRO_2 
EVENT_INTRO_3 
EVENT_MASON_ACTION 
EVENT_START_FIGHT 
EVENT_WAVE_SPAWN 
EVENT_HALOF 
EVENT_ENDED 
332 {
334  SPELL_THREAT_PULSE = 58113,
336  SPELL_TORCH = 58121,
337 
338  NPC_BLESSED_BANNER = 30891,
340  NPC_ARGENT_BATTLE_PRIEST = 30919,
341  NPC_ARGENT_MASON = 30900,
342  NPC_REANIMATED_CAPTAIN = 30986,
343  NPC_SCOURGE_DRUDGE = 30984,
344  NPC_HIDEOUS_PLAGEBRINGER = 30987,
346  NPC_LK = 31013,
347 
348  BANNER_SAY = 0, // "The Blessed Banner of the Crusade has been planted.\n Defend the banner from all attackers!"
349  DALFORS_SAY_PRE_1 = 0, // "BY THE LIGHT! Those damned monsters! Look at what they've done to our people!"
350  DALFORS_SAY_PRE_2 = 1, // "Burn it down, boys. Burn it all down."
351  DALFORS_SAY_START = 2, // "Let 'em come. They'll pay for what they've done!"
352  DALFORS_YELL_FINISHED = 3, // "We've done it, lads! We've taken the pinnacle from the Scourge! Report to Father Gustav at once and tell him the good news! We're gonna get to buildin' and settin' up! Go!"
353  LK_TALK_1 = 0, // "Leave no survivors!"
354  LK_TALK_2 = 1, // "Cower before my terrible creations!"
355  LK_TALK_3 = 2, // "Feast my children! Feast upon the flesh of the living!"
356  LK_TALK_4 = 3, // "Lay down your arms and surrender your souls!"
357 
358  EVENT_SPAWN = 1,
359  EVENT_INTRO_1 = 2,
360  EVENT_INTRO_2 = 3,
361  EVENT_INTRO_3 = 4,
362  EVENT_MASON_ACTION = 5,
363  EVENT_START_FIGHT = 6,
364  EVENT_WAVE_SPAWN = 7,
365  EVENT_HALOF = 8,
366  EVENT_ENDED = 9,
367 };
Definition: zone_icecrown.cpp:352
Definition: zone_icecrown.cpp:350
Definition: zone_icecrown.cpp:364
Definition: zone_icecrown.cpp:362
Definition: zone_icecrown.cpp:339
Definition: zone_icecrown.cpp:353
Definition: zone_icecrown.cpp:334
Definition: zone_icecrown.cpp:333
Definition: zone_icecrown.cpp:361
Definition: zone_icecrown.cpp:355
Definition: zone_icecrown.cpp:360
Definition: zone_icecrown.cpp:346
Definition: zone_icecrown.cpp:356
Definition: zone_icecrown.cpp:348
Definition: zone_icecrown.cpp:351
Definition: zone_icecrown.cpp:363
Definition: zone_icecrown.cpp:343
Definition: zone_icecrown.cpp:336
Definition: zone_icecrown.cpp:338
Definition: zone_icecrown.cpp:345
Definition: zone_icecrown.cpp:354
Definition: zone_icecrown.cpp:341
Definition: zone_icecrown.cpp:349
Definition: zone_icecrown.cpp:335
Definition: zone_icecrown.cpp:365
Definition: zone_icecrown.cpp:358
Definition: zone_icecrown.cpp:340
Definition: zone_icecrown.cpp:342
Definition: zone_icecrown.cpp:359
Definition: zone_icecrown.cpp:344
Definition: zone_icecrown.cpp:366
Enumerator
SPELL_GRAB 
SPELL_PING_BUNNY 
SPELL_IMMOLATION 
SPELL_EXPLOSION 
SPELL_RIDE 
POINT_GRAB_DECOY 
POINT_FLY_AWAY 
EVENT_FLY_AWAY 
709 {
710  // Spells
711  SPELL_GRAB = 59318,
712  SPELL_PING_BUNNY = 59375,
713  SPELL_IMMOLATION = 54690,
714  SPELL_EXPLOSION = 59335,
715  SPELL_RIDE = 56687,
716 
717  // Points
718  POINT_GRAB_DECOY = 1,
719  POINT_FLY_AWAY = 2,
720 
721  // Events
722  EVENT_FLY_AWAY = 1
723 };
Definition: zone_icecrown.cpp:719
Definition: zone_icecrown.cpp:712
Definition: zone_icecrown.cpp:714
Definition: zone_icecrown.cpp:715
Definition: zone_icecrown.cpp:713
Definition: zone_icecrown.cpp:722
Definition: zone_icecrown.cpp:711
Definition: zone_icecrown.cpp:718
Enumerator
SPELL_TRESPASSER_H 
AREA_SUNREAVER_PAVILION 
AREA_SILVER_COVENANT_PAVILION 
SPELL_TRESPASSER_A 
119 {
120  SPELL_TRESPASSER_H = 63987,
122 
124  SPELL_TRESPASSER_A = 63986,
125 };
Definition: zone_icecrown.cpp:120
Definition: zone_icecrown.cpp:124
Definition: zone_icecrown.cpp:123
Definition: zone_icecrown.cpp:121
Enumerator
NPC_CHARGE_TARGET 
NPC_MELEE_TARGET 
NPC_RANGED_TARGET 
SPELL_CHARGE_CREDIT 
SPELL_MELEE_CREDIT 
SPELL_RANGED_CREDIT 
SPELL_PLAYER_THRUST 
SPELL_PLAYER_BREAK_SHIELD 
SPELL_PLAYER_CHARGE 
SPELL_RANGED_DEFEND 
SPELL_CHARGE_DEFEND 
SPELL_VULNERABLE 
SPELL_COUNTERATTACK 
EVENT_DUMMY_RECAST_DEFEND 
EVENT_DUMMY_RESET 
169 {
170  NPC_CHARGE_TARGET = 33272,
171  NPC_MELEE_TARGET = 33229,
172  NPC_RANGED_TARGET = 33243,
173 
174  SPELL_CHARGE_CREDIT = 62658,
175  SPELL_MELEE_CREDIT = 62672,
176  SPELL_RANGED_CREDIT = 62673,
177 
178  SPELL_PLAYER_THRUST = 62544,
180  SPELL_PLAYER_CHARGE = 62874,
181 
182  SPELL_RANGED_DEFEND = 62719,
183  SPELL_CHARGE_DEFEND = 64100,
184  SPELL_VULNERABLE = 62665,
185 
186  SPELL_COUNTERATTACK = 62709,
187 
189  EVENT_DUMMY_RESET = 2,
190 };
Definition: zone_icecrown.cpp:186
Definition: zone_icecrown.cpp:176
Definition: zone_icecrown.cpp:182
Definition: zone_icecrown.cpp:174
Definition: zone_icecrown.cpp:183
Definition: zone_icecrown.cpp:189
Definition: zone_icecrown.cpp:184
Definition: zone_icecrown.cpp:172
Definition: zone_icecrown.cpp:188
Definition: zone_icecrown.cpp:175
Definition: zone_icecrown.cpp:180
Definition: zone_icecrown.cpp:178
Definition: zone_icecrown.cpp:170
Definition: zone_icecrown.cpp:179
Definition: zone_icecrown.cpp:171

Function Documentation

void AddSC_icecrown ( )
791 {
792  new npc_argent_valiant;
795  new npc_blessed_banner();
797 }
Definition: zone_icecrown.cpp:127
Definition: zone_icecrown.cpp:192
Definition: zone_icecrown.cpp:415
Definition: zone_icecrown.cpp:725
Definition: zone_icecrown.cpp:38

+ Here is the caller graph for this function:

Variable Documentation

Position const DalforsPos[3]
Initial value:
=
{
{6458.703f, 403.858f, 490.498f, 3.1205f},
{6422.950f, 423.335f, 510.451f, 0.0f},
{6426.343f, 420.515f, 508.650f, 0.0f},
}
Position const Mason1Pos[3]
Initial value:
=
{
{6462.929f, 409.826f, 489.392f, 3.0968f},
{6428.163f, 421.960f, 508.297f, 0.0f},
{6414.335f, 454.904f, 511.395f, 2.8972f},
}
Position const Mason2Pos[3]
Initial value:
=
{
{6462.650f, 405.670f, 489.576f, 2.9414f},
{6426.250f, 419.194f, 508.219f, 0.0f},
{6415.014f, 446.849f, 511.395f, 3.1241f},
}
Position const Mason3Pos[3]
Initial value:
=
{
{6462.646f, 401.218f, 489.601f, 2.7864f},
{6423.855f, 416.598f, 508.305f, 0.0f},
{6417.070f, 438.824f, 511.395f, 3.6651f},
}
Position const Priest1Pos[2]
Initial value:
=
{
{6462.025f, 403.681f, 489.721f, 3.1007f},
{6421.480f, 423.576f, 510.781f, 5.7421f},
}
Position const Priest2Pos[2]
Initial value:
=
{
{6463.969f, 407.198f, 489.240f, 2.2689f},
{6419.778f, 421.404f, 510.972f, 5.7421f},
}
Position const Priest3Pos[2]
Initial value:
=
{
{6464.371f, 400.944f, 489.186f, 6.1610f},
{6423.516f, 425.782f, 510.774f, 5.7421f},
}