TrinityCore
boss_freya.cpp File Reference
#include "ScriptMgr.h"
#include "InstanceScript.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
#include "ulduar.h"
+ Include dependency graph for boss_freya.cpp:

Classes

class  npc_iron_roots
 
struct  npc_iron_roots::npc_iron_rootsAI
 
class  boss_freya
 
struct  boss_freya::boss_freyaAI
 
class  boss_elder_brightleaf
 
struct  boss_elder_brightleaf::boss_elder_brightleafAI
 
class  boss_elder_stonebark
 
struct  boss_elder_stonebark::boss_elder_stonebarkAI
 
class  boss_elder_ironbranch
 
struct  boss_elder_ironbranch::boss_elder_ironbranchAI
 
class  npc_detonating_lasher
 
struct  npc_detonating_lasher::npc_detonating_lasherAI
 
class  npc_ancient_water_spirit
 
struct  npc_ancient_water_spirit::npc_ancient_water_spiritAI
 
class  npc_storm_lasher
 
struct  npc_storm_lasher::npc_storm_lasherAI
 
class  npc_snaplasher
 
struct  npc_snaplasher::npc_snaplasherAI
 
class  npc_ancient_conservator
 
struct  npc_ancient_conservator::npc_ancient_conservatorAI
 
class  npc_sun_beam
 
struct  npc_sun_beam::npc_sun_beamAI
 
class  npc_healthy_spore
 
struct  npc_healthy_spore::npc_healthy_sporeAI
 
class  npc_eonars_gift
 
struct  npc_eonars_gift::npc_eonars_giftAI
 
class  npc_nature_bomb
 
struct  npc_nature_bomb::npc_nature_bombAI
 
class  npc_unstable_sun_beam
 
struct  npc_unstable_sun_beam::npc_unstable_sun_beamAI
 
class  spell_freya_attuned_to_nature_dose_reduction
 
class  spell_freya_attuned_to_nature_dose_reduction::spell_freya_attuned_to_nature_dose_reduction_SpellScript
 
class  spell_freya_iron_roots
 
class  spell_freya_iron_roots::spell_freya_iron_roots_SpellScript
 
class  achievement_getting_back_to_nature
 
class  achievement_knock_on_wood
 
class  achievement_knock_knock_on_wood
 
class  achievement_knock_knock_knock_on_wood
 

Enumerations

enum  FreyaYells {
  SAY_AGGRO = 0, SAY_AGGRO_WITH_ELDER = 1, SAY_SLAY = 2, SAY_DEATH = 3,
  SAY_BERSERK = 4, SAY_SUMMON_CONSERVATOR = 5, SAY_SUMMON_TRIO = 6, SAY_SUMMON_LASHERS = 7,
  EMOTE_LIFEBINDERS_GIFT = 8, EMOTE_ALLIES_OF_NATURE = 9, EMOTE_GROUND_TREMOR = 10, EMOTE_IRON_ROOTS = 11,
  SAY_ELDER_AGGRO = 0, SAY_ELDER_SLAY = 1, SAY_ELDER_DEATH = 2
}
 
enum  FreyaSpells {
  SPELL_ATTUNED_TO_NATURE = 62519, SPELL_TOUCH_OF_EONAR = 62528, SPELL_SUNBEAM = 62623, SPELL_ENRAGE = 47008,
  SPELL_FREYA_GROUND_TREMOR = 62437, SPELL_ROOTS_FREYA = 62283, SPELL_STONEBARK_ESSENCE = 62483, SPELL_IRONBRANCH_ESSENCE = 62484,
  SPELL_BRIGHTLEAF_ESSENCE = 62485, SPELL_DRAINED_OF_POWER = 62467, SPELL_SUMMON_EONAR_GIFT = 62572, SPELL_FISTS_OF_STONE = 62344,
  SPELL_GROUND_TREMOR = 62325, SPELL_PETRIFIED_BARK = 62337, SPELL_PETRIFIED_BARK_DMG = 62379, SPELL_IMPALE = 62310,
  SPELL_ROOTS_IRONBRANCH = 62438, SPELL_THORN_SWARM = 62285, SPELL_FLUX_AURA = 62239, SPELL_FLUX = 62262,
  SPELL_FLUX_PLUS = 62251, SPELL_FLUX_MINUS = 62252, SPELL_SOLAR_FLARE = 62240, SPELL_UNSTABLE_SUN_BEAM_SUMMON = 62207,
  SPELL_REMOVE_25STACK = 62521, SPELL_REMOVE_10STACK = 62525, SPELL_REMOVE_2STACK = 62524, SPELL_DEFORESTATION_CREDIT = 65015,
  SPELL_KNOCK_ON_WOOD_CREDIT = 65074, SPELL_SUMMON_LASHERS = 62687, SPELL_SUMMON_TRIO = 62686, SPELL_SUMMON_ANCIENT_CONSERVATOR = 62685,
  SPELL_DETONATE = 62598, SPELL_FLAME_LASH = 62608, SPELL_TIDAL_WAVE = 62653, SPELL_TIDAL_WAVE_EFFECT = 62654,
  SPELL_LIGHTNING_LASH = 62648, SPELL_STORMBOLT = 62649, SPELL_HARDENED_BARK = 62664, SPELL_BARK_AURA = 62663,
  SPELL_CONSERVATOR_GRIP = 62532, SPELL_NATURE_FURY = 62589, SPELL_SUMMON_PERIODIC = 62566, SPELL_SPORE_SUMMON_NW = 62582,
  SPELL_SPORE_SUMMON_NE = 62591, SPELL_SPORE_SUMMON_SE = 62592, SPELL_SPORE_SUMMON_SW = 62593, SPELL_HEALTHY_SPORE_VISUAL = 62538,
  SPELL_GROW = 62559, SPELL_POTENT_PHEROMONES = 62541, SPELL_LIFEBINDERS_GIFT = 62584, SPELL_PHEROMONES = 62619,
  SPELL_EONAR_VISUAL = 62579, SPELL_NATURE_BOMB = 64587, SPELL_OBJECT_BOMB = 64600, SPELL_SUMMON_NATURE_BOMB = 64604,
  SPELL_UNSTABLE_SUN_BEAM = 62211, SPELL_UNSTABLE_ENERGY = 62217, SPELL_PHOTOSYNTHESIS = 62209, SPELL_UNSTABLE_SUN_BEAM_TRIGGERED = 62243,
  SPELL_FREYA_UNSTABLE_SUNBEAM = 62450, SPELL_FREYA_UNSTABLE_ENERGY = 62451, SPELL_FREYA_UNSTABLE_ENERGY_VISUAL = 62216, SPELL_ATTUNED_TO_NATURE_2_DOSE_REDUCTION = 62524,
  SPELL_ATTUNED_TO_NATURE_10_DOSE_REDUCTION = 62525, SPELL_ATTUNED_TO_NATURE_25_DOSE_REDUCTION = 62521
}
 
enum  FreyaNpcs {
  NPC_SUN_BEAM = 33170, NPC_DETONATING_LASHER = 32918, NPC_ANCIENT_CONSERVATOR = 33203, NPC_ANCIENT_WATER_SPIRIT = 33202,
  NPC_STORM_LASHER = 32919, NPC_SNAPLASHER = 32916, NPC_NATURE_BOMB = 34129, NPC_EONARS_GIFT = 33228,
  NPC_HEALTHY_SPORE = 33215, NPC_UNSTABLE_SUN_BEAM = 33050, NPC_IRON_ROOTS = 33088, NPC_STRENGTHENED_IRON_ROOTS = 33168,
  OBJECT_NATURE_BOMB = 194902
}
 
enum  FreyaActions { ACTION_ELDER_FREYA_KILLED = 1 }
 
enum  FreyaEvents {
  EVENT_WAVE = 1, EVENT_EONAR_GIFT = 2, EVENT_NATURE_BOMB = 3, EVENT_UNSTABLE_ENERGY = 4,
  EVENT_STRENGTHENED_IRON_ROOTS = 5, EVENT_GROUND_TREMOR = 6, EVENT_SUNBEAM = 7, EVENT_ENRAGE = 8,
  EVENT_TREMOR = 9, EVENT_BARK = 10, EVENT_FISTS = 11, EVENT_IMPALE = 12,
  EVENT_IRON_ROOTS = 13, EVENT_THORN_SWARM = 14, EVENT_SOLAR_FLARE = 15, EVENT_UNSTABLE_SUN_BEAM = 16,
  EVENT_FLUX = 17
}
 
enum  Misc {
  SUMMON_GROUP_ID_SURGING_FEL = 0, ENCOUNTER_ID_GAROTHI_WORLDBREAKER = 2076, MAX_OCCUTHAR_VEHICLE_SEATS = 7, DATA_SKILLPOINT_MIN = 230,
  NEFARIUS_PATH_2 = 1379671, NEFARIUS_PATH_3 = 1379672, GYTH_PATH_1 = 1379681, NEFARIUS_PATH_1 = 1379670,
  NEFARIUS_PATH_2 = 1379671, NEFARIUS_PATH_3 = 1379672, REND_PATH_1 = 1379680, REND_PATH_2 = 1379681,
  DATA_CANNON_BLAST_TIMER = 3000, DATA_PIRATES_DELAY_TIMER = 1000, OZ_GOSSIP1_MID = 7421, OZ_GOSSIP1_OID = 0,
  OZ_GOSSIP2_MID = 7422, OZ_GOSSIP2_OID = 0, MAX_ACTIVE_LACKEY = 4, ACTION_SWITCH_PHASE = 1,
  INTERVAL_MODIFIER = 15, INTERVAL_SWITCH = 6, WEAPON_KIRTONOS_STAFF = 11365, POINT_KIRTONOS_LAND = 13,
  KIRTONOS_PATH = 105061, MAX_VOID_SPAWNS = 6, MAX_SUMMON_BLOOD_ELVES = 4, MAX_SUMMON_DARK_FIEND = 8,
  ITEM_VIRTUAL_ITEM = 5301, POINT_START_REVIVE = 1, DATA_OHGANOT_SO_FAST = 5762, SPELL_SNOWBALL = 21343,
  SPELL_ORPHAN_OUT = 58818, DISPLAY_INVISIBLE = 11686, MOVEMENT_TIME_RIFT = 1, SPELL_RIFT_CHANNEL = 31387,
  RIFT_BOSS = 1, EQUIP_DEFAULT = 1, EQUIP_INFERNO_BLADE = 2, EQUIP_DECIMATION_BLADE = 3,
  PULL_RANGE = 50, ABUSE_BUG_RANGE = 20, VEKLOR_DIST = 20, TELEPORTTIME = 30000,
  NPC_GAHZRILLA = 7273, PATH_ADDS = 81553, ACHIEV_GOTTA_GO_START_EVENT = 20381, DATA_CAN_LOOT = 0,
  DATA_CAN_LOOT = 0, DATA_TWILIGHT_DAMAGE_TAKEN = 1, DATA_MATERIAL_DAMAGE_TAKEN = 2, DATA_STACKS_DISPELLED = 3,
  DATA_FIGHT_PHASE = 4, DATA_SPAWNED_FLAMES = 5, SOUND_ID_DEATH = 17531, PHASE_INTRO = 1,
  PHASE_COMBAT = 2, SPLINE_INITIAL_MOVEMENT = 1, POINT_SUMMONED = 1, DATA_NEW_TARGET = 1,
  GORMOK_HAND_SEAT = 4, MAX_SNOBOLDS = 4, SPLINE_INITIAL_MOVEMENT = 1, EQUIP_MAIN_1 = 9423,
  EQUIP_MAIN_2 = 37377, POINT_INITIAL_MOVEMENT = 1, SPLINE_INITIAL_MOVEMENT = 1, PHASE_EVENT = 1,
  PHASE_COMBAT = 2, ACTION_RAPTOR_KILLED = 1, DATA_RAPTORS_KILLED = 2, ACTION_RESET_CRYSTALS,
  ACTION_ACTIVATE_CRYSTAL, ACTION_DEACTIVATE, EVENT_ATTACK, EVENT_SUMMON_MINIONS,
  DATA_NOVOS_ACHIEV, DATA_CONSUMPTION_JUNCTION = 1, POINT_LANDING = 1, DATA_SOUL_POWER = 1,
  DATA_THREE_FACED = 1, ACTION_INTRO, MENU_ID_JAINA = 10943, MENU_ID_SYLVANAS = 10971,
  GOSSIP_OPTION_ID = 0, ACTION_START_INTRO, ACTION_SKIP_INTRO, JAINA_SYLVANAS_MAX_HEALTH = 252000,
  POINT_SHADOW_THRONE_DOOR = 1, POINT_ATTACK_ICEWALL = 2, POINT_TRAP = 3, SOUND_LK_SLAY_1 = 17214,
  SOUND_LK_SLAY_2 = 17215, SOUND_LK_FURY_OF_FROSTMOURNE = 17224, DATA_SHARE_THE_LOVE = 1, DATA_LESS_RABI = 1,
  DATA_SNAKES_WHYD_IT_HAVE_TO_BE_SNAKES = 1, DISPLAY_KINETIC_BOMB = 31095, SUMMON_PRINCES_GROUP = 1, DATA_INTRO = 2,
  DATA_INTRO_DONE = 3, DATA_PRINCE_EVADE = 4, DATA_MADE_A_MESS = 45374613, GOSSIP_MENU_MURADIN_BRONZEBEARD = 10934,
  GOSSIP_MENU_HIGH_OVERLORD_SAURFANG = 10952, DATA_INOCULATED_STACK = 69291, DATA_PLAGUE_STACK = 70337, DATA_VILE = 45814622,
  ACTION_ENTER_COMBAT = 1, MISSED_PORTALS = 2, ACTION_DEATH = 3, ACTION_SETUP_ARCHMAGES = 4,
  DATA_SUPPRESSERS_COUNT = 4, POINT_VALITHRIA = 42, SUMMON_GROUP_ALL = 1, SUMMON_GROUP_10 = 2,
  SUMMON_GROUP_25 = 3, ACHIEV_TIMED_START_EVENT = 9891, DATA_FRENZY_DISPELS = 1, EVENT_GLUTH_ZOMBIE_BEHAVIOR = 10495,
  DATA_ZOMBIE_STATE = 1, ACTION_DECIMATE_EVENT = 2, DATA_SAFETY_DANCE = 19962139, ACHIEV_MAKE_QUICK_WERK_OF_HIM_STARTING_EVENT = 10286,
  NPC_BLIZZARD = 16474, GO_ICEBLOCK = 181247, DATA_THE_HUNDRED_CLUB = 21462147, MAX_FROST_RESISTANCE = 100,
  ACTION_BIRTH = 1, DATA_BLIZZARD_TARGET, MAX_POLARITY_10M = 5, MAX_POLARITY_25M = 13,
  DATA_POLARITY_CROSSED = 1, DATA_CHAOS_THEORY = 1, DATA_INTENSE_COLD = 1, DATA_CONTAINMENT_SPHERES = 3,
  ACTION_MAGUS_DEAD = 1, DATA_SPLIT_PERSONALITY = 2, GAME_EVENT_WINTER_VEIL = 2, DATA_MAX_SPARKS = 5,
  DATA_MAX_SPARK_DISTANCE = 90, DATA_POINT_CALLBACK = 0, ACHIEV_TIMELY_DEATH_START_EVENT = 20384, POINT_CENTER = 0,
  POINT_COMBINE = 1, ACTION_SLUDGE_DEAD = 1, DATA_ABUSE_THE_OOZE = 2, QUEST_HALLS_OF_STONE = 13207,
  DATA_BRANN_SPARKLIN_NEWS = 1, NPC_WORLD_TRIGGER = 22515, DATA_PHASE_3 = 1, DATA_NINE_LIVES = 30763077,
  DATA_CRAZY_CAT_LADY = 30063007, PHASE_NONE = 1, PHASE_COMBAT = 2, SUMMON_GROUP_10_MAN = 1,
  SUMMON_GROUP_25_MAN = 2, AURIAYA_DEATH_SOUNDID = 15476, NPC_SANCTUM_SENTRY = 34014, DATA_SHUTOUT = 29112912,
  VEHICLE_SPAWNS = 5, FREYA_SPAWNS = 4, TIME_DIFFERENCE = 10000, DATA_GETTING_BACK_TO_NATURE = 1,
  DATA_KNOCK_ON_WOOD = 2, DATA_SMELL_SARONITE = 31813188, DATA_SHADOWDODGER = 29962997, DATA_GETTING_COLD_IN_HERE = 29672968,
  DATA_QUICK_SHAVE = 29192921, DATA_IRON_DWARF_MEDIUM_RARE = 29232924, GOSSIP_START_ENCOUNTER = 0, DATA_EXPEDITION_NUMBER = 1,
  RAZORSCALE_EXPEDITION_GROUP = 1, RAZORSCALE_FIRE_STATE_10_GROUP = 2, RAZORSCALE_FIRE_STATE_25_GROUP = 3, ENGINEER_NORTH = 0,
  ENGINEER_EAST = 1, ENGINEER_WEST = 2, HARPOON_1 = 0, HARPOON_2 = 1,
  HARPOON_3 = 2, HARPOON_4 = 3, WORLD_STATE_RAZORSCALE_MUSIC = 4162, ACHIEV_MUST_DECONSTRUCT_FASTER = 21027,
  HEART_VEHICLE_SEAT_EXPOSED = 1, GROUP_SEARING_GRAVITY = 1, ACTION_START_PHASE_2, ACTION_NEXT_PHASE = 1,
  ACTION_START_FIGHT = 2, ACTION_START_ENCOUNTER = 3, POSITION_FLY = 0, POSITION_FINAL = 1,
  SUMMON_MINIBOSSES_GROUP = 1, DATA_INCREDIBLE_HULK = 2043, DATA_KINGS_BANE = 2157, DATA_DEHYDRATION = 1,
  ACTION_DESPAWN_VOID_SENTRY_BALL = 1, DATA_VOID_DANCE = 2153, NPC_DORE = 19412, MODEL_UNDEAD_MALE = 1027,
  MODEL_UNDEAD_FEMALE = 1029, MODEL_NIGHTELF_MALE = 2572, MODEL_NIGHTELF_FEMALE = 2575, MODEL_ORC_MALE = 2576,
  MODEL_ORC_FEMALE = 2577, MODEL_TAUREN_MALE = 2578, MODEL_TAUREN_FEMALE = 2579, MODEL_GNOME_MALE = 2581,
  MODEL_GNOME_FEMALE = 2590, MODEL_HUMAN_MALE = 2582, MODEL_HUMAN_FEMALE = 2583, MODEL_DWARF_MALE = 2584,
  MODEL_DWARF_FEMALE = 2585, MODEL_TROLL_MALE = 2588, MODEL_TROLL_FEMALE = 2589, MODEL_BLOODELF_MALE = 17267,
  MODEL_BLOODELF_FEMALE = 17268, MODEL_DRAENEI_MALE = 16721, MODEL_DRAENEI_FEMALE = 17004, NR_INITIAL_BEACONS = 3,
  GROUP_OUT_OF_COMBAT = 1, RELIQUARY_DESPAWN_WAYPOINT = 0, ACTION_ESSENCE_OF_SUFFERING_DEAD, ACTION_ESSENCE_OF_DESIRE_DEAD,
  ACTION_KILL_SELF, ACTION_START_COMBAT, ANGER_SOUND_ID_DEATH = 11401, AKAMA_CHANNEL_WAYPOINT = 0,
  AKAMA_INTRO_WAYPOINT = 1, SUMMON_GROUP_RESET = 1, DATA_REMOVE_IMPALING_SPINE = 1, ACTION_RESET_IMPALING_TARGET = 2,
  EMOTE_SPOUT = 0, SPOUT_DIST = 100, SPELL_SCALDINGWATER = 37284, NPC_COILFANG_FRENZY = 21508,
  NPC_COILFANG_PRIESTESS = 21220, NPC_COILFANG_SHATTERER = 21301, MIN_KILLS = 30, MAX_FLAMECALLERS = 3,
  SUMMON_GROUP_CHANNELERS = 1, ACTION_START_CHANNELERS_EVENT = 2, WV_ARMOR = 31000, NPC_DK_DANCING_RUNE_WEAPON = 27893,
  NPC_ARGENT_SQUIRE = 33238
}
 

Functions

void AddSC_boss_freya ()
 

Variables

constexpr Seconds FREYA_WAVE_TIME = 60s
 

Enumeration Type Documentation

◆ FreyaActions

Enumerator
ACTION_ELDER_FREYA_KILLED 
175 {
177 };
Definition: boss_freya.cpp:176

◆ FreyaEvents

Enumerator
EVENT_WAVE 
EVENT_EONAR_GIFT 
EVENT_NATURE_BOMB 
EVENT_UNSTABLE_ENERGY 
EVENT_STRENGTHENED_IRON_ROOTS 
EVENT_GROUND_TREMOR 
EVENT_SUNBEAM 
EVENT_ENRAGE 
EVENT_TREMOR 
EVENT_BARK 
EVENT_FISTS 
EVENT_IMPALE 
EVENT_IRON_ROOTS 
EVENT_THORN_SWARM 
EVENT_SOLAR_FLARE 
EVENT_UNSTABLE_SUN_BEAM 
EVENT_FLUX 
180 {
181  // Freya
182  EVENT_WAVE = 1,
183  EVENT_EONAR_GIFT = 2,
184  EVENT_NATURE_BOMB = 3,
188  EVENT_SUNBEAM = 7,
189  EVENT_ENRAGE = 8,
190 
191  // Elder Stonebark
192  EVENT_TREMOR = 9,
193  EVENT_BARK = 10,
194  EVENT_FISTS = 11,
195 
196  // Elder Ironbranch
197  EVENT_IMPALE = 12,
198  EVENT_IRON_ROOTS = 13,
199  EVENT_THORN_SWARM = 14,
200 
201  // Elder Brightleaf
202  EVENT_SOLAR_FLARE = 15,
204  EVENT_FLUX = 17
205 };
Definition: boss_freya.cpp:187
Definition: boss_freya.cpp:189
Definition: boss_freya.cpp:192
Definition: boss_freya.cpp:198
Definition: boss_freya.cpp:188
Definition: boss_freya.cpp:197
Definition: boss_freya.cpp:203
Definition: boss_freya.cpp:202
Definition: boss_freya.cpp:186
Definition: boss_freya.cpp:199
Definition: boss_freya.cpp:183
Definition: boss_freya.cpp:204
Definition: boss_freya.cpp:182
Definition: boss_freya.cpp:184
Definition: boss_freya.cpp:185
Definition: boss_freya.cpp:194
Definition: boss_freya.cpp:193

◆ FreyaNpcs

enum FreyaNpcs
Enumerator
NPC_SUN_BEAM 
NPC_DETONATING_LASHER 
NPC_ANCIENT_CONSERVATOR 
NPC_ANCIENT_WATER_SPIRIT 
NPC_STORM_LASHER 
NPC_SNAPLASHER 
NPC_NATURE_BOMB 
NPC_EONARS_GIFT 
NPC_HEALTHY_SPORE 
NPC_UNSTABLE_SUN_BEAM 
NPC_IRON_ROOTS 
NPC_STRENGTHENED_IRON_ROOTS 
OBJECT_NATURE_BOMB 
157 {
158  NPC_SUN_BEAM = 33170,
159  NPC_DETONATING_LASHER = 32918,
160  NPC_ANCIENT_CONSERVATOR = 33203,
161  NPC_ANCIENT_WATER_SPIRIT = 33202,
162  NPC_STORM_LASHER = 32919,
163  NPC_SNAPLASHER = 32916,
164  NPC_NATURE_BOMB = 34129,
165  NPC_EONARS_GIFT = 33228,
166  NPC_HEALTHY_SPORE = 33215,
167  NPC_UNSTABLE_SUN_BEAM = 33050,
168  NPC_IRON_ROOTS = 33088,
170 
171  OBJECT_NATURE_BOMB = 194902
172 };
Definition: boss_freya.cpp:158
Definition: boss_freya.cpp:165
Definition: boss_freya.cpp:159
Definition: boss_freya.cpp:163
Definition: boss_freya.cpp:168
Definition: boss_freya.cpp:160
Definition: boss_freya.cpp:162
Definition: boss_freya.cpp:166
Definition: boss_freya.cpp:169
Definition: boss_freya.cpp:164
Definition: boss_freya.cpp:171
Definition: boss_freya.cpp:161
Definition: boss_freya.cpp:167

◆ FreyaSpells

Enumerator
SPELL_ATTUNED_TO_NATURE 
SPELL_TOUCH_OF_EONAR 
SPELL_SUNBEAM 
SPELL_ENRAGE 
SPELL_FREYA_GROUND_TREMOR 
SPELL_ROOTS_FREYA 
SPELL_STONEBARK_ESSENCE 
SPELL_IRONBRANCH_ESSENCE 
SPELL_BRIGHTLEAF_ESSENCE 
SPELL_DRAINED_OF_POWER 
SPELL_SUMMON_EONAR_GIFT 
SPELL_FISTS_OF_STONE 
SPELL_GROUND_TREMOR 
SPELL_PETRIFIED_BARK 
SPELL_PETRIFIED_BARK_DMG 
SPELL_IMPALE 
SPELL_ROOTS_IRONBRANCH 
SPELL_THORN_SWARM 
SPELL_FLUX_AURA 
SPELL_FLUX 
SPELL_FLUX_PLUS 
SPELL_FLUX_MINUS 
SPELL_SOLAR_FLARE 
SPELL_UNSTABLE_SUN_BEAM_SUMMON 
SPELL_REMOVE_25STACK 
SPELL_REMOVE_10STACK 
SPELL_REMOVE_2STACK 
SPELL_DEFORESTATION_CREDIT 
SPELL_KNOCK_ON_WOOD_CREDIT 
SPELL_SUMMON_LASHERS 
SPELL_SUMMON_TRIO 
SPELL_SUMMON_ANCIENT_CONSERVATOR 
SPELL_DETONATE 
SPELL_FLAME_LASH 
SPELL_TIDAL_WAVE 
SPELL_TIDAL_WAVE_EFFECT 
SPELL_LIGHTNING_LASH 
SPELL_STORMBOLT 
SPELL_HARDENED_BARK 
SPELL_BARK_AURA 
SPELL_CONSERVATOR_GRIP 
SPELL_NATURE_FURY 
SPELL_SUMMON_PERIODIC 
SPELL_SPORE_SUMMON_NW 
SPELL_SPORE_SUMMON_NE 
SPELL_SPORE_SUMMON_SE 
SPELL_SPORE_SUMMON_SW 
SPELL_HEALTHY_SPORE_VISUAL 
SPELL_GROW 
SPELL_POTENT_PHEROMONES 
SPELL_LIFEBINDERS_GIFT 
SPELL_PHEROMONES 
SPELL_EONAR_VISUAL 
SPELL_NATURE_BOMB 
SPELL_OBJECT_BOMB 
SPELL_SUMMON_NATURE_BOMB 
SPELL_UNSTABLE_SUN_BEAM 
SPELL_UNSTABLE_ENERGY 
SPELL_PHOTOSYNTHESIS 
SPELL_UNSTABLE_SUN_BEAM_TRIGGERED 
SPELL_FREYA_UNSTABLE_SUNBEAM 
SPELL_FREYA_UNSTABLE_ENERGY 
SPELL_FREYA_UNSTABLE_ENERGY_VISUAL 
SPELL_ATTUNED_TO_NATURE_2_DOSE_REDUCTION 
SPELL_ATTUNED_TO_NATURE_10_DOSE_REDUCTION 
SPELL_ATTUNED_TO_NATURE_25_DOSE_REDUCTION 
52 {
53  // Freya
55  SPELL_TOUCH_OF_EONAR = 62528,
56  SPELL_SUNBEAM = 62623,
57  SPELL_ENRAGE = 47008,
59  SPELL_ROOTS_FREYA = 62283,
63  SPELL_DRAINED_OF_POWER = 62467,
65 
66  // Stonebark
67  SPELL_FISTS_OF_STONE = 62344,
68  SPELL_GROUND_TREMOR = 62325,
69  SPELL_PETRIFIED_BARK = 62337,
71 
72  // Ironbranch
73  SPELL_IMPALE = 62310,
74  SPELL_ROOTS_IRONBRANCH = 62438,
75  SPELL_THORN_SWARM = 62285,
76 
77  // Brightleaf
78  SPELL_FLUX_AURA = 62239,
79  SPELL_FLUX = 62262,
80  SPELL_FLUX_PLUS = 62251,
81  SPELL_FLUX_MINUS = 62252,
82  SPELL_SOLAR_FLARE = 62240,
83  SPELL_UNSTABLE_SUN_BEAM_SUMMON = 62207, // Trigger 62221
84 
85  // Stack Removing of Attuned to Nature
86  SPELL_REMOVE_25STACK = 62521,
87  SPELL_REMOVE_10STACK = 62525,
88  SPELL_REMOVE_2STACK = 62524,
89 
90  // Achievement spells
93 
94  // Wave summoning spells
95  SPELL_SUMMON_LASHERS = 62687,
96  SPELL_SUMMON_TRIO = 62686,
98 
99  // Detonating Lasher
100  SPELL_DETONATE = 62598,
101  SPELL_FLAME_LASH = 62608,
102 
103  // Ancient Water Spirit
104  SPELL_TIDAL_WAVE = 62653,
105  SPELL_TIDAL_WAVE_EFFECT = 62654,
106 
107  // Storm Lasher
108  SPELL_LIGHTNING_LASH = 62648,
109  SPELL_STORMBOLT = 62649,
110 
111  // Snaplasher
112  SPELL_HARDENED_BARK = 62664,
113  SPELL_BARK_AURA = 62663,
114 
115  // Ancient Conservator
116  SPELL_CONSERVATOR_GRIP = 62532,
117  SPELL_NATURE_FURY = 62589,
118  SPELL_SUMMON_PERIODIC = 62566,
119  SPELL_SPORE_SUMMON_NW = 62582, // Not used, triggered by SPELL_SUMMON_PERIODIC
120  SPELL_SPORE_SUMMON_NE = 62591,
121  SPELL_SPORE_SUMMON_SE = 62592,
122  SPELL_SPORE_SUMMON_SW = 62593,
123 
124  // Healthly Spore
126  SPELL_GROW = 62559,
127  SPELL_POTENT_PHEROMONES = 62541,
128 
129  // Eonar's Gift
130  SPELL_LIFEBINDERS_GIFT = 62584,
131  SPELL_PHEROMONES = 62619,
132  SPELL_EONAR_VISUAL = 62579,
133 
134  // Nature Bomb
135  SPELL_NATURE_BOMB = 64587,
136  SPELL_OBJECT_BOMB = 64600,
137  SPELL_SUMMON_NATURE_BOMB = 64604,
138 
139  // Unstable Sun Beam
140  SPELL_UNSTABLE_SUN_BEAM = 62211,
141  SPELL_UNSTABLE_ENERGY = 62217,
142  SPELL_PHOTOSYNTHESIS = 62209,
144  SPELL_FREYA_UNSTABLE_SUNBEAM = 62450, // Or maybe 62866?
145 
146  // Sun Beam
149 
150  // Attuned To Nature spells
154 };
Definition: boss_freya.cpp:125
Definition: boss_freya.cpp:147
Definition: boss_freya.cpp:143
Definition: boss_freya.cpp:97
Definition: boss_freya.cpp:88
Definition: boss_freya.cpp:87
Definition: boss_freya.cpp:57
Definition: boss_freya.cpp:121
Definition: boss_freya.cpp:73
Definition: boss_freya.cpp:118
Definition: boss_freya.cpp:70
Definition: boss_freya.cpp:152
Definition: boss_freya.cpp:135
Definition: boss_freya.cpp:151
Definition: boss_freya.cpp:63
Definition: boss_freya.cpp:81
Definition: boss_freya.cpp:54
Definition: boss_freya.cpp:69
Definition: boss_freya.cpp:148
Definition: boss_freya.cpp:67
Definition: boss_freya.cpp:126
Definition: boss_freya.cpp:101
Definition: boss_freya.cpp:75
Definition: boss_freya.cpp:112
Definition: boss_freya.cpp:95
Definition: boss_freya.cpp:96
Definition: boss_freya.cpp:55
Definition: boss_freya.cpp:83
Definition: boss_freya.cpp:117
Definition: boss_freya.cpp:104
Definition: boss_freya.cpp:61
Definition: boss_freya.cpp:56
Definition: boss_freya.cpp:137
Definition: boss_freya.cpp:141
Definition: boss_freya.cpp:62
Definition: boss_freya.cpp:127
Definition: boss_freya.cpp:109
Definition: boss_freya.cpp:140
Definition: boss_freya.cpp:80
Definition: boss_freya.cpp:132
Definition: boss_freya.cpp:108
Definition: boss_freya.cpp:58
Definition: boss_freya.cpp:74
Definition: boss_freya.cpp:64
Definition: boss_freya.cpp:119
Definition: boss_freya.cpp:92
Definition: boss_freya.cpp:86
Definition: boss_freya.cpp:68
Definition: boss_freya.cpp:116
Definition: boss_freya.cpp:113
Definition: boss_freya.cpp:131
Definition: boss_freya.cpp:78
Definition: boss_freya.cpp:153
Definition: boss_freya.cpp:79
Definition: boss_freya.cpp:142
Definition: boss_freya.cpp:60
Definition: boss_freya.cpp:122
Definition: boss_freya.cpp:100
Definition: boss_freya.cpp:136
Definition: boss_freya.cpp:144
Definition: boss_freya.cpp:59
Definition: boss_freya.cpp:91
Definition: boss_freya.cpp:120
Definition: boss_freya.cpp:130
Definition: boss_freya.cpp:105
Definition: boss_freya.cpp:82

◆ FreyaYells

enum FreyaYells
Enumerator
SAY_AGGRO 
SAY_AGGRO_WITH_ELDER 
SAY_SLAY 
SAY_DEATH 
SAY_BERSERK 
SAY_SUMMON_CONSERVATOR 
SAY_SUMMON_TRIO 
SAY_SUMMON_LASHERS 
EMOTE_LIFEBINDERS_GIFT 
EMOTE_ALLIES_OF_NATURE 
EMOTE_GROUND_TREMOR 
EMOTE_IRON_ROOTS 
SAY_ELDER_AGGRO 
SAY_ELDER_SLAY 
SAY_ELDER_DEATH 
30 {
31  // Freya
32  SAY_AGGRO = 0,
34  SAY_SLAY = 2,
35  SAY_DEATH = 3,
36  SAY_BERSERK = 4,
38  SAY_SUMMON_TRIO = 6,
43  EMOTE_IRON_ROOTS = 11,
44 
45  // Elder Brightleaf / Elder Ironbranch / Elder Stonebark
46  SAY_ELDER_AGGRO = 0,
47  SAY_ELDER_SLAY = 1,
48  SAY_ELDER_DEATH = 2
49 };
Definition: boss_freya.cpp:37
Definition: boss_freya.cpp:34
Definition: boss_freya.cpp:41
Definition: boss_freya.cpp:35
Definition: boss_freya.cpp:48
Definition: boss_freya.cpp:40
Definition: boss_freya.cpp:32
Definition: boss_freya.cpp:33
Definition: boss_freya.cpp:39
Definition: boss_freya.cpp:38
Definition: boss_freya.cpp:47
Definition: boss_freya.cpp:43
Definition: boss_freya.cpp:42
Definition: boss_freya.cpp:36
Definition: boss_freya.cpp:46

◆ Misc

enum Misc
Enumerator
SUMMON_GROUP_ID_SURGING_FEL 
ENCOUNTER_ID_GAROTHI_WORLDBREAKER 
MAX_OCCUTHAR_VEHICLE_SEATS 
DATA_SKILLPOINT_MIN 
NEFARIUS_PATH_2 
NEFARIUS_PATH_3 
GYTH_PATH_1 
NEFARIUS_PATH_1 
NEFARIUS_PATH_2 
NEFARIUS_PATH_3 
REND_PATH_1 
REND_PATH_2 
DATA_CANNON_BLAST_TIMER 
DATA_PIRATES_DELAY_TIMER 
OZ_GOSSIP1_MID 
OZ_GOSSIP1_OID 
OZ_GOSSIP2_MID 
OZ_GOSSIP2_OID 
MAX_ACTIVE_LACKEY 
ACTION_SWITCH_PHASE 
INTERVAL_MODIFIER 
INTERVAL_SWITCH 
WEAPON_KIRTONOS_STAFF 
POINT_KIRTONOS_LAND 
KIRTONOS_PATH 
MAX_VOID_SPAWNS 
MAX_SUMMON_BLOOD_ELVES 
MAX_SUMMON_DARK_FIEND 
ITEM_VIRTUAL_ITEM 
POINT_START_REVIVE 
DATA_OHGANOT_SO_FAST 
SPELL_SNOWBALL 
SPELL_ORPHAN_OUT 
DISPLAY_INVISIBLE 
MOVEMENT_TIME_RIFT 
SPELL_RIFT_CHANNEL 
RIFT_BOSS 
EQUIP_DEFAULT 
EQUIP_INFERNO_BLADE 
EQUIP_DECIMATION_BLADE 
PULL_RANGE 
ABUSE_BUG_RANGE 
VEKLOR_DIST 
TELEPORTTIME 
NPC_GAHZRILLA 
PATH_ADDS 
ACHIEV_GOTTA_GO_START_EVENT 
DATA_CAN_LOOT 
DATA_CAN_LOOT 
DATA_TWILIGHT_DAMAGE_TAKEN 
DATA_MATERIAL_DAMAGE_TAKEN 
DATA_STACKS_DISPELLED 
DATA_FIGHT_PHASE 
DATA_SPAWNED_FLAMES 
SOUND_ID_DEATH 
PHASE_INTRO 
PHASE_COMBAT 
SPLINE_INITIAL_MOVEMENT 
POINT_SUMMONED 
DATA_NEW_TARGET 
GORMOK_HAND_SEAT 
MAX_SNOBOLDS 
SPLINE_INITIAL_MOVEMENT 
EQUIP_MAIN_1 
EQUIP_MAIN_2 
POINT_INITIAL_MOVEMENT 
SPLINE_INITIAL_MOVEMENT 
PHASE_EVENT 
PHASE_COMBAT 
ACTION_RAPTOR_KILLED 
DATA_RAPTORS_KILLED 
ACTION_RESET_CRYSTALS 
ACTION_ACTIVATE_CRYSTAL 
ACTION_DEACTIVATE 
EVENT_ATTACK 
EVENT_SUMMON_MINIONS 
DATA_NOVOS_ACHIEV 
DATA_CONSUMPTION_JUNCTION 
POINT_LANDING 
DATA_SOUL_POWER 
DATA_THREE_FACED 
ACTION_INTRO 
MENU_ID_JAINA 
MENU_ID_SYLVANAS 
GOSSIP_OPTION_ID 
ACTION_START_INTRO 
ACTION_SKIP_INTRO 
JAINA_SYLVANAS_MAX_HEALTH 
POINT_SHADOW_THRONE_DOOR 
POINT_ATTACK_ICEWALL 
POINT_TRAP 
SOUND_LK_SLAY_1 
SOUND_LK_SLAY_2 
SOUND_LK_FURY_OF_FROSTMOURNE 
DATA_SHARE_THE_LOVE 
DATA_LESS_RABI 
DATA_SNAKES_WHYD_IT_HAVE_TO_BE_SNAKES 
DISPLAY_KINETIC_BOMB 
SUMMON_PRINCES_GROUP 
DATA_INTRO 
DATA_INTRO_DONE 
DATA_PRINCE_EVADE 
DATA_MADE_A_MESS 
GOSSIP_MENU_MURADIN_BRONZEBEARD 
GOSSIP_MENU_HIGH_OVERLORD_SAURFANG 
DATA_INOCULATED_STACK 
DATA_PLAGUE_STACK 
DATA_VILE 
ACTION_ENTER_COMBAT 
MISSED_PORTALS 
ACTION_DEATH 
ACTION_SETUP_ARCHMAGES 
DATA_SUPPRESSERS_COUNT 
POINT_VALITHRIA 
SUMMON_GROUP_ALL 
SUMMON_GROUP_10 
SUMMON_GROUP_25 
ACHIEV_TIMED_START_EVENT 
DATA_FRENZY_DISPELS 
EVENT_GLUTH_ZOMBIE_BEHAVIOR 
DATA_ZOMBIE_STATE 
ACTION_DECIMATE_EVENT 
DATA_SAFETY_DANCE 
ACHIEV_MAKE_QUICK_WERK_OF_HIM_STARTING_EVENT 
NPC_BLIZZARD 
GO_ICEBLOCK 
DATA_THE_HUNDRED_CLUB 
MAX_FROST_RESISTANCE 
ACTION_BIRTH 
DATA_BLIZZARD_TARGET 
MAX_POLARITY_10M 
MAX_POLARITY_25M 
DATA_POLARITY_CROSSED 
DATA_CHAOS_THEORY 
DATA_INTENSE_COLD 
DATA_CONTAINMENT_SPHERES 
ACTION_MAGUS_DEAD 
DATA_SPLIT_PERSONALITY 
GAME_EVENT_WINTER_VEIL 
DATA_MAX_SPARKS 
DATA_MAX_SPARK_DISTANCE 
DATA_POINT_CALLBACK 
ACHIEV_TIMELY_DEATH_START_EVENT 
POINT_CENTER 
POINT_COMBINE 
ACTION_SLUDGE_DEAD 
DATA_ABUSE_THE_OOZE 
QUEST_HALLS_OF_STONE 
DATA_BRANN_SPARKLIN_NEWS 
NPC_WORLD_TRIGGER 
DATA_PHASE_3 
DATA_NINE_LIVES 
DATA_CRAZY_CAT_LADY 
PHASE_NONE 
PHASE_COMBAT 
SUMMON_GROUP_10_MAN 
SUMMON_GROUP_25_MAN 
AURIAYA_DEATH_SOUNDID 
NPC_SANCTUM_SENTRY 
DATA_SHUTOUT 
VEHICLE_SPAWNS 
FREYA_SPAWNS 
TIME_DIFFERENCE 
DATA_GETTING_BACK_TO_NATURE 
DATA_KNOCK_ON_WOOD 
DATA_SMELL_SARONITE 
DATA_SHADOWDODGER 
DATA_GETTING_COLD_IN_HERE 
DATA_QUICK_SHAVE 
DATA_IRON_DWARF_MEDIUM_RARE 
GOSSIP_START_ENCOUNTER 
DATA_EXPEDITION_NUMBER 
RAZORSCALE_EXPEDITION_GROUP 
RAZORSCALE_FIRE_STATE_10_GROUP 
RAZORSCALE_FIRE_STATE_25_GROUP 
ENGINEER_NORTH 
ENGINEER_EAST 
ENGINEER_WEST 
HARPOON_1 
HARPOON_2 
HARPOON_3 
HARPOON_4 
WORLD_STATE_RAZORSCALE_MUSIC 
ACHIEV_MUST_DECONSTRUCT_FASTER 
HEART_VEHICLE_SEAT_EXPOSED 
GROUP_SEARING_GRAVITY 
ACTION_START_PHASE_2 
ACTION_NEXT_PHASE 
ACTION_START_FIGHT 
ACTION_START_ENCOUNTER 
POSITION_FLY 
POSITION_FINAL 
SUMMON_MINIBOSSES_GROUP 
DATA_INCREDIBLE_HULK 
DATA_KINGS_BANE 
DATA_DEHYDRATION 
ACTION_DESPAWN_VOID_SENTRY_BALL 
DATA_VOID_DANCE 
NPC_DORE 
MODEL_UNDEAD_MALE 
MODEL_UNDEAD_FEMALE 
MODEL_NIGHTELF_MALE 
MODEL_NIGHTELF_FEMALE 
MODEL_ORC_MALE 
MODEL_ORC_FEMALE 
MODEL_TAUREN_MALE 
MODEL_TAUREN_FEMALE 
MODEL_GNOME_MALE 
MODEL_GNOME_FEMALE 
MODEL_HUMAN_MALE 
MODEL_HUMAN_FEMALE 
MODEL_DWARF_MALE 
MODEL_DWARF_FEMALE 
MODEL_TROLL_MALE 
MODEL_TROLL_FEMALE 
MODEL_BLOODELF_MALE 
MODEL_BLOODELF_FEMALE 
MODEL_DRAENEI_MALE 
MODEL_DRAENEI_FEMALE 
NR_INITIAL_BEACONS 
GROUP_OUT_OF_COMBAT 
RELIQUARY_DESPAWN_WAYPOINT 
ACTION_ESSENCE_OF_SUFFERING_DEAD 
ACTION_ESSENCE_OF_DESIRE_DEAD 
ACTION_KILL_SELF 
ACTION_START_COMBAT 
ANGER_SOUND_ID_DEATH 
AKAMA_CHANNEL_WAYPOINT 
AKAMA_INTRO_WAYPOINT 
SUMMON_GROUP_RESET 
DATA_REMOVE_IMPALING_SPINE 
ACTION_RESET_IMPALING_TARGET 
EMOTE_SPOUT 
SPOUT_DIST 
SPELL_SCALDINGWATER 
NPC_COILFANG_FRENZY 
NPC_COILFANG_PRIESTESS 
NPC_COILFANG_SHATTERER 
MIN_KILLS 
MAX_FLAMECALLERS 
SUMMON_GROUP_CHANNELERS 
ACTION_START_CHANNELERS_EVENT 
WV_ARMOR 
NPC_DK_DANCING_RUNE_WEAPON 
NPC_ARGENT_SQUIRE 
208 {
209  TIME_DIFFERENCE = 10000, // If difference between waveTime and WAVE_TIME is bigger then TIME_DIFFERENCE, schedule EVENT_WAVE in 10 seconds
212 };
Definition: boss_freya.cpp:210
Definition: boss_freya.cpp:211
Definition: boss_freya.cpp:209

Function Documentation

◆ AddSC_boss_freya()

void AddSC_boss_freya ( )
1662 {
1663  new boss_freya();
1664  new boss_elder_brightleaf();
1665  new boss_elder_ironbranch();
1666  new boss_elder_stonebark();
1668  new npc_snaplasher();
1669  new npc_storm_lasher();
1671  new npc_detonating_lasher();
1672  new npc_sun_beam();
1673  new npc_nature_bomb();
1674  new npc_eonars_gift();
1675  new npc_healthy_spore();
1676  new npc_unstable_sun_beam();
1677  new npc_iron_roots();
1679  new spell_freya_iron_roots();
1684 }
Definition: boss_freya.cpp:910
Definition: boss_freya.cpp:1536
Definition: boss_freya.cpp:1639
Definition: boss_freya.cpp:264
Definition: boss_freya.cpp:1258
Definition: boss_freya.cpp:1398
Definition: boss_freya.cpp:1211
Definition: boss_freya.cpp:1480
Definition: boss_freya.cpp:1585
Definition: boss_freya.cpp:1068
Definition: boss_freya.cpp:1650
Definition: boss_freya.cpp:1004
Definition: boss_freya.cpp:1357
Definition: boss_freya.cpp:801
Definition: boss_freya.cpp:1335
Definition: boss_freya.cpp:216
Definition: boss_freya.cpp:1617
Definition: boss_freya.cpp:1438
Definition: boss_freya.cpp:1628
Definition: boss_freya.cpp:1136
Definition: boss_freya.cpp:698
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ FREYA_WAVE_TIME

constexpr Seconds FREYA_WAVE_TIME = 60s