AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
zone_howling_fjord.cpp File Reference
#include "Containers.h"
#include "CreatureScript.h"
#include "GameObjectAI.h"
#include "GameObjectScript.h"
#include "Map.h"
#include "MotionMaster.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "WaypointMgr.h"

Go to the source code of this file.

Classes

class  npc_attracted_reef_bull
 
struct  npc_attracted_reef_bull::npc_attracted_reef_bullAI
 
class  npc_plaguehound_tracker
 
struct  npc_plaguehound_tracker::npc_plaguehound_trackerAI
 
struct  npc_rodin_lightning_enabler
 
class  spell_hawk_hunting
 
class  spell_the_cleansing_shrine_cast
 
class  spell_the_cleansing_cleansing_soul
 
class  spell_the_cleansing_mirror_image_script_effect
 
class  spell_the_cleansing_on_death_cast_on_master
 
class  spell_q11296_rivenwood_captives
 
class  spell_sorlofs_booty_boulder_assault
 
class  spell_sorlofs_booty_boulder_assault_hit
 
struct  npc_sorlof
 
struct  go_sister_mercy
 
class  spell_sorlofs_booty_cannon_primer
 
class  spell_sorlofs_booty_big_gun_assault
 

Enumerations

enum  RodinLightningSpells {
  SPELL_RODIN_LIGHTNING_START = 44787 ,
  SPELL_RODIN_LIGHTNING_END = 44791 ,
  NPC_RODIN = 24876
}
 
enum  HawkHunting { SPELL_HAWK_HUNTING_ITEM = 44408 }
 
enum  TheCleansing {
  SPELL_CLEANSING_SOUL = 43351 ,
  SPELL_SUMMON_INNER_TURMOIL = 50167 ,
  SPELL_RECENT_MEDITATION = 61720 ,
  SPELL_MIRROR_IMAGE_AURA = 50218 ,
  QUEST_THE_CLEANSING_H = 11317 ,
  QUEST_THE_CLEANSING_A = 11322
}
 
enum  RivenwoodCaptives {
  SPELL_CAPTIVES_ON_QUEST = 43287 ,
  SPELL_CAPTIVES_NOT_ON_QUEST = 43288 ,
  SPELL_SUMMON_FREED_SCOUT = 43289 ,
  SPELL_SUMMON_HOSTILE_START = 43275 ,
  SPELL_SUMMON_HOSTILE_END = 43285 ,
  NPC_FREED_SCOUT = 24211
}
 
enum  SorlofsBooty {
  NPC_SORLOF = 24914 ,
  NPC_THE_BIG_GUN = 24992 ,
  SPELL_CANNON_ASSAULT = 45008 ,
  SPELL_SORLOFS_BOOTY = 45070 ,
  SPELL_BOULDER_ASSAULT_HIT = 44966 ,
  SPELL_BOULDER_ASSAULT_FIRE = 44967 ,
  CANNON_RANGE = 200 ,
  SORLOF_SEARCH_RANGE = 1000 ,
  SORLOF_WANDER_DISTANCE = 10 ,
  DATA_SORLOF_TAKE_PATH = 1 ,
  POINT_SORLOF_PATH = 1000 ,
  PATH_SORLOF_RETURN = 1032785 ,
  DATA_SORLOF_SLAIN = 1
}
 

Functions

uint32 GetSorlofPathForShipEvent (uint32 eventId)
 
void AddSC_howling_fjord ()
 

Enumeration Type Documentation

◆ HawkHunting

Enumerator
SPELL_HAWK_HUNTING_ITEM 
151{
153};
@ SPELL_HAWK_HUNTING_ITEM
Definition zone_howling_fjord.cpp:152

◆ RivenwoodCaptives

Enumerator
SPELL_CAPTIVES_ON_QUEST 
SPELL_CAPTIVES_NOT_ON_QUEST 
SPELL_SUMMON_FREED_SCOUT 
SPELL_SUMMON_HOSTILE_START 
SPELL_SUMMON_HOSTILE_END 
NPC_FREED_SCOUT 
311{
314
316
319
320 NPC_FREED_SCOUT = 24211
321};
@ SPELL_SUMMON_HOSTILE_START
Definition zone_howling_fjord.cpp:317
@ SPELL_SUMMON_FREED_SCOUT
Definition zone_howling_fjord.cpp:315
@ NPC_FREED_SCOUT
Definition zone_howling_fjord.cpp:320
@ SPELL_CAPTIVES_NOT_ON_QUEST
Definition zone_howling_fjord.cpp:313
@ SPELL_CAPTIVES_ON_QUEST
Definition zone_howling_fjord.cpp:312
@ SPELL_SUMMON_HOSTILE_END
Definition zone_howling_fjord.cpp:318

◆ RodinLightningSpells

Enumerator
SPELL_RODIN_LIGHTNING_START 
SPELL_RODIN_LIGHTNING_END 
NPC_RODIN 
119{
122
123 NPC_RODIN = 24876
124};
@ SPELL_RODIN_LIGHTNING_START
Definition zone_howling_fjord.cpp:120
@ SPELL_RODIN_LIGHTNING_END
Definition zone_howling_fjord.cpp:121
@ NPC_RODIN
Definition zone_howling_fjord.cpp:123

◆ SorlofsBooty

Enumerator
NPC_SORLOF 
NPC_THE_BIG_GUN 
SPELL_CANNON_ASSAULT 
SPELL_SORLOFS_BOOTY 
SPELL_BOULDER_ASSAULT_HIT 
SPELL_BOULDER_ASSAULT_FIRE 
CANNON_RANGE 
SORLOF_SEARCH_RANGE 
SORLOF_WANDER_DISTANCE 
DATA_SORLOF_TAKE_PATH 
POINT_SORLOF_PATH 
PATH_SORLOF_RETURN 
DATA_SORLOF_SLAIN 
368{
369 NPC_SORLOF = 24914,
370 NPC_THE_BIG_GUN = 24992,
371
372 SPELL_CANNON_ASSAULT = 45008,
373 SPELL_SORLOFS_BOOTY = 45070,
374
375 // SPELL_BOULDER_ASSAULT_AURA = 44964, // Serverside, triggers 44965 every 3s
378
379 // About the maximum range for broadside
380 CANNON_RANGE = 200,
381
382 // The ship needs to ping Sorlof from wherever she is on her lap
383 SORLOF_SEARCH_RANGE = 1000,
384
386
388 POINT_SORLOF_PATH = 1000,
389
390 // He only knits himself back together once he has broken off and headed home
391 PATH_SORLOF_RETURN = 1032785,
392
393 // The gun's own SmartAI announces the booty on this data set.
395};
@ SPELL_BOULDER_ASSAULT_HIT
Definition zone_howling_fjord.cpp:376
@ NPC_THE_BIG_GUN
Definition zone_howling_fjord.cpp:370
@ SPELL_CANNON_ASSAULT
Definition zone_howling_fjord.cpp:372
@ CANNON_RANGE
Definition zone_howling_fjord.cpp:380
@ SPELL_SORLOFS_BOOTY
Definition zone_howling_fjord.cpp:373
@ SORLOF_WANDER_DISTANCE
Definition zone_howling_fjord.cpp:385
@ NPC_SORLOF
Definition zone_howling_fjord.cpp:369
@ PATH_SORLOF_RETURN
Definition zone_howling_fjord.cpp:391
@ DATA_SORLOF_SLAIN
Definition zone_howling_fjord.cpp:394
@ POINT_SORLOF_PATH
Definition zone_howling_fjord.cpp:388
@ DATA_SORLOF_TAKE_PATH
Definition zone_howling_fjord.cpp:387
@ SORLOF_SEARCH_RANGE
Definition zone_howling_fjord.cpp:383
@ SPELL_BOULDER_ASSAULT_FIRE
Definition zone_howling_fjord.cpp:377

◆ TheCleansing

Enumerator
SPELL_CLEANSING_SOUL 
SPELL_SUMMON_INNER_TURMOIL 
SPELL_RECENT_MEDITATION 
SPELL_MIRROR_IMAGE_AURA 
QUEST_THE_CLEANSING_H 
QUEST_THE_CLEANSING_A 
185{
186 SPELL_CLEANSING_SOUL = 43351,
190
191 QUEST_THE_CLEANSING_H = 11317,
193};
@ QUEST_THE_CLEANSING_A
Definition zone_howling_fjord.cpp:192
@ SPELL_CLEANSING_SOUL
Definition zone_howling_fjord.cpp:186
@ QUEST_THE_CLEANSING_H
Definition zone_howling_fjord.cpp:191
@ SPELL_MIRROR_IMAGE_AURA
Definition zone_howling_fjord.cpp:189
@ SPELL_SUMMON_INNER_TURMOIL
Definition zone_howling_fjord.cpp:187
@ SPELL_RECENT_MEDITATION
Definition zone_howling_fjord.cpp:188

Function Documentation

◆ AddSC_howling_fjord()

void AddSC_howling_fjord ( )
621{
637}
#define RegisterCreatureAI(ai_name)
Definition CreatureScript.h:71
#define RegisterGameObjectAI(ai_name)
Definition GameObjectScript.h:77
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
Definition zone_howling_fjord.cpp:33
Definition zone_howling_fjord.cpp:79
Definition zone_howling_fjord.cpp:157
Definition zone_howling_fjord.cpp:324
Definition zone_howling_fjord.cpp:588
Definition zone_howling_fjord.cpp:433
Definition zone_howling_fjord.cpp:399
Definition zone_howling_fjord.cpp:565
Definition zone_howling_fjord.cpp:236
Definition zone_howling_fjord.cpp:266
Definition zone_howling_fjord.cpp:287
Definition zone_howling_fjord.cpp:197
Definition zone_howling_fjord.cpp:548
Definition zone_howling_fjord.cpp:127
Definition zone_howling_fjord.cpp:469

References RegisterCreatureAI, RegisterGameObjectAI, and RegisterSpellScript.

Referenced by AddNorthrendScripts().

◆ GetSorlofPathForShipEvent()

uint32 GetSorlofPathForShipEvent ( uint32  eventId)
454{
455 switch (eventId)
456 {
457 // Departure events of the Sister Mercy's stops (TaxiPathNode.dbc path 778)
458 case 16501: return 1032780;
459 case 16502: return 1032781;
460 case 16503: return 1032782;
461 case 16504: return 1032783;
462 case 16510: return 1032784;
463 case 16511: return 1032785; // Return to spawn
464 default: return 0;
465 }
466}

Referenced by go_sister_mercy::EventInform().