AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SpellScript Class Reference

#include "SpellScript.h"

Inheritance diagram for SpellScript:
_SpellScript spell_aggro_drones spell_ahn_kahet_swarmer_aura spell_ahune_minion_despawner spell_ahune_synch_health spell_alar_ember_blast spell_algalon_big_bang spell_algalon_cosmic_smash_damage spell_algalon_supermassive_fail spell_algalon_trigger_3_adds spell_anetheron_sleep spell_anti_air_rocket_bomber spell_apothecary_lingering_fumes spell_apothecary_throw_cologne spell_apothecary_throw_perfume spell_apothecary_validate_area spell_aq_shadow_storm spell_arcane_chains_character_force_cast spell_arcane_vacuum spell_archavon_rock_shards spell_assembly_meltdown spell_auriaya_sentinel_blast spell_auto_repair spell_axe_flurry spell_ayamiss_swarmer_start_loop spell_ayamiss_swarmer_swarm spell_ayamiss_swarmer_teleport_trigger spell_azgalor_doom spell_azjol_nerub_fixate spell_azjol_nerub_impale_summon spell_azjol_nerub_pound spell_baltharus_enervating_brand_trigger spell_batrider_bomb spell_bh_cleanse_quel_delar spell_black_template_free_friend spell_black_temple_bloodbolt spell_black_temple_l5_arcane_charge spell_black_temple_summon_shadowfiends spell_blackrock_spire_call_of_vaelastrasz spell_blade_dance_targeting spell_blight_worm_ingest spell_blood_council_shadow_prison_damage spell_blood_council_summon_shadow_resonance spell_blood_queen_bloodbolt spell_blood_queen_pact_of_the_darkfallen spell_blood_queen_pact_of_the_darkfallen_dmg_target spell_blood_queen_presence_of_the_darkfallen spell_blood_queen_swarming_shadows_floor_dmg spell_blood_queen_vampiric_bite spell_blood_siphon spell_boss_magus_telestra_gravity_well spell_brewfest_add_mug spell_brewfest_apple_trap spell_brewfest_fill_keg spell_brewfest_relay_race_force_cast spell_brewfest_toss_mug spell_brewfest_unfill_keg spell_bronjahm_magic_bane spell_bronjahm_soulstorm_targeting spell_brutallus_burn spell_bwl_shadowflame spell_call_wintergarde_gryphon spell_calling_korkron_or_wildhammer spell_cannibalize_heal spell_capacitus_polarity_charge spell_capacitus_polarity_shift spell_cataclysm_breath spell_chain_burn spell_challenge_veraku spell_chapter5_rebuke spell_charge_shield_bomber spell_class_call_handler spell_class_call_polymorph spell_commander_sarannis_summon_reinforcements spell_corrupted_totems spell_crystal_weakness spell_cthun_dark_glare spell_death_knight_initiate_visual spell_deathbringer_blood_link spell_deathbringer_blood_nova_targeting spell_deathbringer_blood_power spell_deathbringer_boiling_blood spell_deliver_gryphon spell_delusions_of_jindo spell_demolisher_ride_vehicle spell_despawn_underbog_mushrooms spell_direbrew_summon_mole_machine_target_picker spell_disrupt_summoning_ritual spell_dk_aotd_taunt spell_dk_blood_boil spell_dk_bloodworms spell_dk_chains_of_ice spell_dk_corpse_explosion spell_dk_death_and_decay spell_dk_death_coil spell_dk_death_gate spell_dk_death_grip spell_dk_death_pact spell_dk_death_strike spell_dk_ghoul_explode spell_dk_ghoul_thrash spell_dk_pestilence spell_dk_raise_ally spell_dk_raise_dead spell_dk_rune_of_the_fallen_crusader spell_dk_rune_tap_party spell_dk_scourge_strike spell_dk_summon_gargoyle spell_dk_wandering_plague spell_drain_mana spell_drakkari_colossus_emerge spell_drakkari_colossus_face_me spell_drakkari_colossus_surge spell_dream_fog_sleep spell_dreamwalker_summon_portal spell_dreamwalker_summon_suppresser_effect spell_dreamwalker_summoner spell_dreamwalker_twisted_nightmares spell_dred_raptor_call spell_dru_berserk spell_dru_dash spell_dru_glyph_of_starfire spell_dru_savage_roar spell_dru_starfall_aoe spell_dru_starfall_dummy spell_dru_survival_instincts spell_dru_t10_restoration_4p_bonus spell_dru_tiger_s_fury spell_dru_typhoon spell_dru_wild_growth spell_dtk_summon_random_drakkari spell_eadric_radiance spell_egg_event spell_egg_explosion spell_electrical_storm_proc spell_energize_aoe spell_entropius_black_hole_effect spell_enveloping_webs spell_eoe_ph3_surge_of_power spell_eredar_twins_apply_touch spell_eredar_twins_blaze spell_eredar_twins_handle_touch spell_explode_trigger spell_felmyst_fog_of_corruption spell_felmyst_open_brutallus_back_doors spell_festergut_gastric_bloat spell_festergut_pungent_blight spell_fight_fire_bomber spell_fire_festival_fortitude spell_flamewreath spell_freezing_circle spell_frog_kiss spell_frost_giant_death_plague spell_frostwarden_handler_focus_fire spell_frostwarden_handler_order_whelp spell_gahzranka_slam spell_galdarah_impaling_charge spell_galdarah_transform spell_garfrost_permafrost spell_garr_frenzy spell_gen_5000_gold spell_gen_allow_cast_from_item_only spell_gen_arcane_charge spell_gen_ayamiss_swarmer_loop spell_gen_bandage spell_gen_basic_campfire spell_gen_bonked spell_gen_break_shield spell_gen_brood_power spell_gen_cannibalize spell_gen_charmed_unit_spell_cooldown spell_gen_clear_debuffs spell_gen_clone spell_gen_clone_weapon spell_gen_consumption spell_gen_count_pct_from_max_hp spell_gen_create_lance spell_gen_dalaran_disguise spell_gen_despawn_self spell_gen_disabled_above_level spell_gen_divine_storm_cd_reset spell_gen_ds_flush_knockback spell_gen_dummy_trigger spell_gen_eject_all_passengers spell_gen_eject_passenger spell_gen_elemental_shield spell_gen_elune_candle spell_gen_fixate spell_gen_focused_bursts spell_gen_gadgetzan_transporter_backfire spell_gen_gnomish_transporter spell_gen_grow_flower_patch spell_gen_hate_to_zero spell_gen_haunted spell_gen_jubling_cooldown spell_gen_knock_away spell_gen_leeching_swarm_dmg spell_gen_mine_sweeper spell_gen_mod_radius_by_caster_scale spell_gen_mount spell_gen_mounted_charge spell_gen_netherbloom spell_gen_nightmare_vine spell_gen_oracle_wolvar_reputation spell_gen_pet_summoned spell_gen_planting_scourge_banner spell_gen_proc_above_75 spell_gen_profession_research spell_gen_rallying_cry_of_the_dragonslayer spell_gen_random_target32 spell_gen_reduced_above_60 spell_gen_relocaste_dest spell_gen_remove_flight_auras spell_gen_remove_impairing_auras spell_gen_replenishment spell_gen_seaforium_blast spell_gen_select_target_count spell_gen_set_health spell_gen_spectator_cheer_trigger spell_gen_spirit_healer_res spell_gen_spirit_of_competition_participant spell_gen_spirit_of_competition_winner spell_gen_summon_tournament_mount spell_gen_teleporting spell_gen_threshalisk_charge spell_gen_throw_back spell_gen_throw_shield spell_gen_tournament_duel spell_gen_upper_deck_create_foam_sword spell_gen_use_spell_base_level_check spell_gen_valthalak_amulet spell_gen_vehicle_scaling spell_gen_vendor_bark_trigger spell_gen_yehkinya_bramble spell_generic_quest_update_entry_SpellScript spell_gluth_decimate spell_gnomeregan_radiation_bolt spell_gordunni_trap spell_gothik_shadow_bolt_volley spell_grobbulus_poison spell_gruul_ground_slam spell_gruul_shatter spell_gruul_shatter_effect spell_gurtogg_bloodboil spell_gurtogg_eject spell_hakkar_power_down spell_halion_blazing_aura spell_halion_clear_debuffs spell_halion_damage_aoe_summon spell_halion_meteor_strike_targeting spell_halion_summon_exit_portals spell_halion_twilight_cutter spell_halion_twilight_division spell_halion_twilight_mending spell_halion_twilight_phasing spell_hallows_end_bucket_lands spell_hallows_end_candy spell_hallows_end_put_costume spell_hallows_end_trick spell_hallows_end_trick_or_treat spell_hallows_end_tricky_treat spell_hatch_eggs spell_hate_to_zero spell_herald_volzaj_insanity spell_hodir_flash_freeze spell_hodir_periodic_icicle spell_hodir_shatter_chest spell_hos_dark_matter_size spell_huhuran_poison_bolt spell_hun_bestial_wrath spell_hun_check_pet_los spell_hun_chimera_shot spell_hun_disengage spell_hun_invigoration spell_hun_last_stand_pet spell_hun_masters_call spell_hun_pet_carrion_feeder spell_hun_pet_heart_of_the_phoenix spell_hun_readiness spell_hun_scatter_shot spell_hun_tame_beast spell_hun_target_self_and_pet spell_hun_volley_trigger spell_icc_geist_alarm spell_icc_harvest_blight_specimen spell_icc_shattered_bones spell_icc_soul_missile spell_icc_sprit_alarm spell_icc_yd_summon_undead spell_ice_bombardment_dest_picker spell_ice_spear_target_picker spell_igb_below_zero spell_igb_burning_pitch spell_igb_burning_pitch_selector spell_igb_cannon_blast spell_igb_check_for_players spell_igb_explosion spell_igb_gunship_fall_teleport spell_igb_incinerating_blast spell_igb_rocket_artillery spell_igb_rocket_artillery_explosion spell_igb_teleport_players_on_victory spell_igb_teleport_to_enemy_ship spell_ignis_grab_initial spell_illidan_cage_trap spell_illidan_draw_soul spell_illidan_flame_burst spell_illidan_found_target spell_illidan_glaive_throw spell_illidan_parasitic_shadowfiend_trigger spell_illidan_shadow_prison spell_illidari_council_circle_of_healing spell_illidari_council_empyreal_balance spell_illidari_council_empyreal_equivalency spell_illidari_council_judgement spell_image_of_drakuru_reagent_check spell_ioc_bomb_blast_criteria spell_ioc_gunship_portal spell_ioc_launch spell_item_anti_venom spell_item_ashbringer spell_item_book_of_glyph_mastery spell_item_branns_communicator spell_item_brewfest_mount_transformation spell_item_brittle_armor spell_item_chicken_cover spell_item_complete_raptor_capture spell_item_crazy_alchemists_potion spell_item_create_heart_candy spell_item_defibrillate spell_item_demon_broiled_surprise spell_item_deviate_fish spell_item_dimensional_ripper_area52 spell_item_direbrew_remote spell_item_draenic_pale_ale spell_item_dragon_kite_summon_lightning_bunny spell_item_echoes_of_light spell_item_eggnog spell_item_elixir_of_shadows spell_item_eye_of_grillok spell_item_feast spell_item_fetch_ball spell_item_flask_of_the_north spell_item_freeze_rookery_egg spell_item_gift_of_the_harvester spell_item_gnomish_death_ray spell_item_gnomish_shrink_ray spell_item_gnomish_universal_remote spell_item_goblin_bomb spell_item_goblin_weather_machine spell_item_gor_dreks_ointment spell_item_greatmothers_soulcatcher spell_item_healing_injector spell_item_impale_leviroth spell_item_light_lamp spell_item_lil_xt spell_item_linken_boomerang spell_item_luffa spell_item_magic_dust spell_item_make_a_wish spell_item_mana_injector spell_item_map_of_the_geyser_fields spell_item_massive_seaforium_charge spell_item_mercurial_shield spell_item_mind_amplify_dish spell_item_mingos_fortune_generator spell_item_mirrens_drinking_hat spell_item_muisek_vessel spell_item_net_o_matic spell_item_nigh_invulnerability spell_item_nitro_boots spell_item_noggenfogger_elixir spell_item_oracle_ablutions spell_item_piccolo_of_the_flaming_fire spell_item_poultryizer spell_item_powerful_anti_venom spell_item_purify_helboar_meat spell_item_pygmy_oil spell_item_recall spell_item_refocus spell_item_reindeer_transformation spell_item_rocket_boots spell_item_runescroll_of_fortitude spell_item_savory_deviate_delight spell_item_scroll_of_recall spell_item_scroll_of_retribution spell_item_shimmering_vessel spell_item_six_demon_bag spell_item_skyguard_blasting_charges spell_item_sleepy_willy spell_item_snowman spell_item_socrethars_stone spell_item_strong_anti_venom spell_item_summon_argent_knight spell_item_summon_or_dismiss spell_item_teach_language spell_item_titanium_seal_of_dalaran spell_item_toxic_wasteling spell_item_toy_train_set spell_item_trigger_spell spell_item_underbelly_elixir spell_item_unusual_compass spell_item_vanquished_clutches spell_item_venomhide_feed spell_item_worn_troll_dice spell_item_wraith_scythe_drain_life spell_kael_pyroblast spell_kaelthas_gravity_lapse spell_kaelthas_kael_explodes spell_kaelthas_mind_control spell_kaelthas_nether_beam spell_kaelthas_remove_enchanted_weapons spell_kaelthas_summon_nether_vapor spell_kaelthas_summon_weapons spell_kalecgos_spectral_blast_dummy spell_kalecgos_spectral_realm_dummy spell_karazhan_blink spell_keeper_freya_summon_sanity_well spell_kelthuzad_frost_blast spell_kiljaeden_armageddon_missile spell_kiljaeden_dragon_breath spell_kiljaeden_flame_dart spell_kiljaeden_power_of_the_blue_flight spell_kiljaeden_sinister_reflection spell_kiljaeden_sinister_reflection_clone spell_kologarn_stone_shout spell_kormok_summon_bone_mages spell_kormok_summon_bone_minions spell_krystallus_shatter spell_krystallus_shatter_effect spell_lady_vashj_remove_tainted_cores spell_lady_vashj_spore_drop_effect spell_lady_vashj_summon_sporebat spell_lady_vashj_summons spell_leotheras_chaos_blast spell_leotheras_clear_consuming_madness spell_leotheras_insidious_whisper spell_leotheras_whirlwind spell_lich_king_whisper spell_loken_pulsing_shockwave spell_lurker_below_spout_cone spell_madrigosa_activate_barrier spell_madrigosa_deactivate_barrier spell_mage_arcane_blast spell_mage_blast_wave spell_mage_burnout_trigger spell_mage_cold_snap spell_mage_ice_barrier spell_mage_polymorph_cast_visual spell_mage_summon_water_elemental spell_magmadar_lava_bomb spell_magtheridon_blaze spell_magtheridon_debris_target_selector spell_magtheridon_quake spell_malchezaar_enfeeble spell_mana_burn_area spell_mandokir_charge spell_mark_of_frost_freeze spell_mark_of_kazrogal spell_mark_of_nature spell_mark_of_the_faceless_drainhealth spell_marrowgar_bone_slice spell_marrowgar_bone_spike_graveyard spell_marrowgar_bone_storm spell_marrowgar_coldflame spell_marrowgar_coldflame_bonestorm spell_midsummer_fling_torch spell_midsummer_juggling_torch spell_midsummer_ribbon_pole_firework spell_midsummer_ribbon_pole_visual spell_midsummer_summon_ahune_lieutenant spell_midsummer_torch_catch spell_mistress_kiss_area spell_moam_mana_drain_filter spell_moam_summon_mana_fiends spell_moroes_vanish spell_morogrim_tidewalker_water_globule_new_target spell_morogrim_tidewalker_watery_grave spell_mother_shahraz_fatal_attraction spell_mother_shahraz_fatal_attraction_dummy spell_mt_phoenix_burn spell_murmur_sonic_boom_effect spell_murmur_thundering_storm spell_mutate_explode_bug spell_najentus_hurl_spine spell_najentus_needle_spine spell_najentus_remove_spines spell_nightbane_fireball_barrage spell_novos_despawn_crystal_handler spell_novos_summon_minions spell_obsidian_sanctum_flame_tsunami spell_obsidian_sanctum_flame_tsunami_leap spell_oculus_call_ruby_emerald_amber_drake spell_oculus_shock_lance spell_oculus_touch_the_nightmare spell_onslaught_or_call_bone_gryphon spell_ooze_zap spell_ooze_zap_channel_end spell_oscillating_field spell_pagles_point_cast spell_pal_blessing_of_faith spell_pal_divine_storm spell_pal_divine_storm_dummy spell_pal_glyph_of_holy_light spell_pal_guarded_by_the_light spell_pal_hand_of_sacrifice spell_pal_holy_shock spell_pal_judgement spell_pal_judgement_of_command spell_pal_lay_on_hands spell_pal_righteous_defense spell_pal_seal_of_command spell_pal_seal_of_vengeance spell_panther_cage_key spell_pet_dk_gargoyle_strike spell_pet_gen_valkyr_guardian_smite spell_pilgrims_bounty_feast_on_generic spell_pilgrims_bounty_food spell_pilgrims_bounty_pass_generic spell_pilgrims_bounty_turkey_tracker spell_pos_rimefang_frost_nova spell_pos_slave_trigger_closest spell_pri_circle_of_healing spell_pri_divine_hymn spell_pri_hymn_of_hope spell_pri_lightwell spell_pri_mana_burn spell_pri_mind_sear spell_pri_pain_and_suffering_proc spell_pri_penance spell_pri_power_word_shield spell_pri_prayer_of_mending_heal spell_pri_shadow_word_death spell_prince_taldaram_conjure_flame_sphere spell_prince_taldaram_flame_sphere_summon spell_pursue spell_putricide_choking_gas_bomb spell_putricide_clear_aura_effect_value spell_putricide_eat_ooze spell_putricide_mutated_transformation spell_putricide_mutated_transformation_dmg spell_putricide_mutation_init spell_putricide_ooze_channel spell_putricide_ooze_eruption_searcher spell_putricide_regurgitated_ooze spell_putricide_slime_puddle spell_putricide_slime_puddle_spawn spell_putricide_tear_gas_effect spell_putricide_unbound_plague spell_putricide_unstable_experiment spell_pvp_trinket_wotf_shared_cd spell_q10036_torgos spell_q10041_q10040_who_are_they spell_q10190_battery_recharging_blaster spell_q10612_10613_the_fel_and_the_furious spell_q10651_q10692_book_of_fel_names spell_q10714_on_spirits_wings spell_q10720_the_smallest_creature spell_q10769_dissension_amongst_the_ranks spell_q10898_skywing spell_q10923_evil_draws_near_summon spell_q10923_evil_draws_near_visual spell_q10929_fumping spell_q10930_big_bone_worm spell_q10935_the_exorcism_of_colonel_jules spell_q11010_q11102_q11023_aggro_check spell_q11010_q11102_q11023_choose_loc spell_q11010_q11102_q11023_q11008_check_fly_mount spell_q11026_a11051_banish_the_demons spell_q11065_wrangle_some_aether_rays spell_q11198_take_down_tethyr spell_q11396_11399_scourging_crystal_controller spell_q11396_11399_scourging_crystal_controller_dummy spell_q11520_discovering_your_roots spell_q11587_arcane_prisoner_rescue spell_q11653_youre_not_so_big_now spell_q11670_it_was_the_orcs_honest spell_q11719_bloodspore_ruination_45997 spell_q11730_ultrasonic_screwdriver spell_q12014_steady_as_a_rock spell_q12066_bunny_kill_credit spell_q12096_q12092_bark spell_q12096_q12092_dummy spell_q12227_camera_shake spell_q12227_outhouse_groans spell_q12237_drop_off_villager spell_q12237_rescue_villager spell_q12274_a_fall_from_grace_costume spell_q12277_wintergarde_mine_explosion spell_q12308_escape_from_silverbrook spell_q12308_escape_from_silverbrook_summon_worgen spell_q12459_seeds_of_natures_wrath spell_q12478_frostmourne_cavern spell_q12589_shoot_rjr spell_q12611_deathbolt spell_q12619_emblazon_runeblade_effect spell_q12620_the_lifewarden_wrath spell_q12634_despawn_fruit_tosser spell_q12641_death_comes_from_on_high spell_q12641_death_comes_from_on_high_summon_ghouls spell_q12659_ahunaes_knife spell_q12661_q12669_q12676_q12677_q12713_summon_stefan spell_q12683_take_sputum_sample spell_q12690_burst_at_the_seams spell_q12698_the_gift_that_keeps_on_giving spell_q12726_song_of_wind_and_water spell_q12735_song_of_cleansing spell_q12779_an_end_to_all_things spell_q12805_lifeblood_dummy spell_q12823_remove_collapsing_cave_aura spell_q12919_gymers_grab spell_q12919_gymers_throw spell_q12937_relief_for_the_fallen spell_q12943_shadow_vault_decree spell_q13007_iron_colossus spell_q13011_bear_flank_master spell_q13086_last_line_of_defence spell_q13280_13283_plant_battle_standard spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy spell_q13369_fate_up_against_your_will spell_q14112_14145_chum_the_water spell_q1846_bending_shinbone spell_q24545_aod_special spell_q4735_collect_rookery_egg spell_q5056_summon_shy_rotam spell_q5206_test_fetid_skull spell_q6124_6129_apply_salve spell_q9452_cast_net spell_q9847_a_spirit_ally spell_q9874_liquid_fire spell_ragnaros_lava_burst_randomizer spell_ragnaros_summon_sons_of_flame spell_rajaxx_thundercrash spell_random_aggro spell_random_lightning_visual_effect spell_razelikh_teleport_group spell_red_sky_effect spell_reliquary_of_souls_fixate spell_renew_skirmisher spell_request_second_mug spell_rimefang_icy_blast spell_ritual_of_power spell_rog_deadly_poison spell_rog_killing_spree spell_rog_pickpocket spell_rog_preparation spell_rog_shiv spell_rog_vanish spell_rog_vanish_purge spell_rotface_large_ooze_buff_combine spell_rotface_large_ooze_combine spell_rotface_little_ooze_combine spell_rotface_mutated_infection spell_rotface_unstable_ooze_explosion spell_rotface_unstable_ooze_explosion_init spell_ruby_sanctum_rallying_shout spell_sapphiron_frost_explosion spell_saronite_vapors_damage spell_sartharion_lava_strike spell_saviana_conflagration_init spell_saviana_conflagration_throwback spell_send_mug_target_picker spell_serpentshrine_cavern_serpentshrine_parasite_trigger spell_sha_ancestral_awakening_proc spell_sha_bloodlust spell_sha_chain_heal spell_sha_cleansing_totem_pulse spell_sha_earthen_power spell_sha_fire_nova spell_sha_healing_stream_totem spell_sha_heroism spell_sha_lava_lash spell_sha_mana_spring_totem spell_sha_mana_tide_totem spell_sha_spirit_walk spell_sha_thunderstorm spell_sha_totem_of_wrath spell_shade_of_akama_akama_soul_expel spell_shadowblink spell_shango_tracks spell_shazzrah_gate_dummy spell_shockwave_knockback spell_shredder_delivery spell_sindragosa_frost_breath spell_sindragosa_ice_tomb_filter spell_sindragosa_ice_tomb_trap spell_sindragosa_icy_grip spell_sindragosa_icy_grip_jump spell_sindragosa_mystic_buffet spell_sindragosa_s_fury spell_sindragosa_unchained_magic spell_skeram_arcane_explosion spell_slippery_floor_periodic spell_spawn_blood_pool spell_spawn_drakonid spell_stinky_precious_decimate spell_summon_ragnaros spell_summon_toxin_slime spell_suppression_aura spell_svala_ritual_strike spell_svalna_remove_spear spell_svalna_revive_champion spell_switch_infragreen_bomber_station spell_symbol_of_life_dummy spell_taldaram_ball_of_inferno_flame spell_taldaram_glittering_sparks spell_taldaram_summon_flame_ball spell_talon_king_ikiss_blink spell_target_fissures spell_temple_of_atal_hakkar_awaken_the_soulflayer spell_teron_gorefiend_shadow_of_death_remove spell_thaddius_polarity_shift spell_thaddius_pos_neg_charge spell_tharon_ja_clear_gift_of_tharon_ja spell_the_black_stalker_levitate spell_the_black_stalker_levitation_pulse spell_the_black_stalker_magnetic_pull spell_the_black_stalker_someone_grab_me spell_the_flag_of_ownership spell_the_lich_king_cast_back_to_caster spell_the_lich_king_defile spell_the_lich_king_ice_burst_target_search spell_the_lich_king_jump spell_the_lich_king_jump_remove_aura spell_the_lich_king_life_siphon spell_the_lich_king_necrotic_plague_jump spell_the_lich_king_play_movie spell_the_lich_king_quake spell_the_lich_king_raging_spirit spell_the_lich_king_restore_soul spell_the_lich_king_shadow_trap_periodic spell_the_lich_king_summon_into_air spell_the_lich_king_summon_spirit_bomb spell_the_lich_king_teleport_to_frostmourne_hc spell_the_lich_king_trigger_vile_spirit spell_the_lich_king_valkyr_target_search spell_the_lich_king_vile_spirit_damage_target_search spell_the_lich_king_vile_spirit_move_target_search spell_the_lich_king_vile_spirits_visual spell_thorims_hammer spell_threatening_gaze_charge spell_toc5_light_rain spell_tractor_beam_creator spell_trigger_spell_from_caster spell_trollgore_consume spell_trollgore_invader_taunt spell_tsh_shadow_bolt spell_tsh_shoot_flame_arrow spell_uldaman_boss_agro_archaedas spell_uldaman_sub_boss_agro_keepers spell_ulduar_squeezed_lifeless spell_ulduar_stone_grip_cast_target spell_valanar_kinetic_bomb spell_valanar_kinetic_bomb_knockback spell_valanar_kinetic_bomb_summon spell_vazruden_call_nazan spell_vazruden_fireball spell_vehicle_grab_pyrite spell_vehicle_throw_passenger spell_vehicle_warhead_fuse spell_vem_knockback spell_vem_vengeance spell_voa_flaming_cinder spell_voa_lightning_nova spell_volazj_whisper spell_voljin_war_drums spell_voodoo spell_warhead_detonate spell_warl_banish spell_warl_create_healthstone spell_warl_demonic_empowerment spell_warl_everlasting_affliction spell_warl_haunt spell_warl_life_tap spell_warl_ritual_of_doom_effect spell_warl_ritual_of_summoning spell_warl_seed_of_corruption_damage spell_warl_shadowflame spell_warl_soulshatter spell_warr_bloodthirst spell_warr_bloodthirst_heal spell_warr_charge spell_warr_concussion_blow spell_warr_deep_wounds spell_warr_execute spell_warr_improved_spell_reflection_trigger spell_warr_intervene spell_warr_intimidating_shout spell_warr_last_stand spell_warr_mocking_blow spell_warr_overpower spell_warr_shattering_throw spell_warr_slam spell_warr_victory_rush spell_warr_vigilance_trigger spell_wg_reduce_damage_by_distance spell_winter_veil_mistletoe spell_winter_veil_racer_rocket_slam spell_winter_veil_racer_slam_hit spell_winter_veil_shoot_air_rifle spell_winter_wondervolt_trap spell_wintergrasp_create_vehicle spell_wintergrasp_force_building spell_wintergrasp_portal spell_wintergrasp_rp_gg spell_wintergrasp_water spell_xt002_gravity_bomb spell_xt002_gravity_bomb_damage spell_xt002_searing_light_spawn_life_spark spell_xt002_tympanic_tantrum spell_yogg_saron_brain_link spell_yogg_saron_destabilization_matrix spell_yogg_saron_empowering_shadows spell_yogg_saron_in_the_maws_of_the_old_god spell_yogg_saron_insane_periodic_trigger spell_yogg_saron_lunatic_gaze spell_yogg_saron_sanity_reduce spell_yogg_saron_target_selectors spell_yogg_saron_titanic_storm spell_zulfarrak_summon_zulfarrak_zombies spell_zulfarrak_unlocking

Classes

class  BeforeHitHandler
 
class  CastHandler
 
class  CheckCastHandler
 
class  DestinationTargetSelectHandler
 
class  EffectHandler
 
class  HitHandler
 
class  ObjectAreaTargetSelectHandler
 
class  ObjectTargetSelectHandler
 
class  TargetHook
 

Public Member Functions

bool _Validate (SpellInfo const *entry) override
 
bool _Load (Spell *spell)
 
void _InitHit ()
 
bool _IsEffectPrevented (SpellEffIndex effIndex)
 
bool _IsDefaultEffectPrevented (SpellEffIndex effIndex)
 
void _PrepareScriptCall (SpellScriptHookType hookType)
 
void _FinishScriptCall ()
 
bool IsInCheckCastHook () const
 
bool IsInTargetHook () const
 
bool IsInHitPhase () const
 
bool IsInEffectHook () const
 
UnitGetCaster ()
 
UnitGetOriginalCaster ()
 
SpellInfo const * GetSpellInfo ()
 
SpellValue const * GetSpellValue ()
 
WorldLocation const * GetExplTargetDest ()
 
void SetExplTargetDest (WorldLocation &loc)
 
WorldObjectGetExplTargetWorldObject ()
 
UnitGetExplTargetUnit ()
 
GameObjectGetExplTargetGObj ()
 
ItemGetExplTargetItem ()
 
UnitGetHitUnit ()
 
CreatureGetHitCreature ()
 
PlayerGetHitPlayer ()
 
ItemGetHitItem ()
 
GameObjectGetHitGObj ()
 
WorldLocationGetHitDest ()
 
int32 GetHitDamage ()
 
void SetHitDamage (int32 damage)
 
void PreventHitDamage ()
 
int32 GetHitHeal ()
 
void SetHitHeal (int32 heal)
 
void PreventHitHeal ()
 
SpellGetSpell ()
 
AuraGetHitAura ()
 
void PreventHitAura ()
 
void PreventHitEffect (SpellEffIndex effIndex)
 
void PreventHitDefaultEffect (SpellEffIndex effIndex)
 
int32 GetEffectValue () const
 
void SetEffectValue (int32 value)
 
ItemGetCastItem ()
 
void CreateItem (uint32 effIndex, uint32 itemId)
 
SpellInfo const * GetTriggeringSpell ()
 
void FinishCast (SpellCastResult result)
 
void Cancel ()
 
void SetCustomCastResultMessage (SpellCustomErrors result)
 
- Public Member Functions inherited from _SpellScript
 _SpellScript ()
 
virtual ~_SpellScript ()
 
virtual void _Register ()
 
virtual void _Unload ()
 
virtual void _Init (std::string const *scriptname, uint32 spellId)
 
std::string const * _GetScriptName () const
 
virtual void Register ()=0
 
virtual bool Validate (SpellInfo const *)
 
virtual bool Load ()
 
virtual void Unload ()
 

Public Attributes

HookList< CastHandlerBeforeCast
 
HookList< CastHandlerOnCast
 
HookList< CastHandlerAfterCast
 
HookList< CheckCastHandlerOnCheckCast
 
HookList< EffectHandlerOnEffectLaunch
 
HookList< EffectHandlerOnEffectLaunchTarget
 
HookList< EffectHandlerOnEffectHit
 
HookList< EffectHandlerOnEffectHitTarget
 
HookList< BeforeHitHandlerBeforeHit
 
HookList< HitHandlerOnHit
 
HookList< HitHandlerAfterHit
 
HookList< ObjectAreaTargetSelectHandlerOnObjectAreaTargetSelect
 
HookList< ObjectTargetSelectHandlerOnObjectTargetSelect
 
HookList< DestinationTargetSelectHandlerOnDestinationTargetSelect
 

Private Attributes

Spellm_spell
 
uint8 m_hitPreventEffectMask
 
uint8 m_hitPreventDefaultEffectMask
 

Additional Inherited Members

- Static Public Member Functions inherited from _SpellScript
static bool ValidateSpellInfo (std::initializer_list< uint32 > spellIds)
 
template<class T >
static bool ValidateSpellInfo (T const &spellIds)
 
virtual bool _Validate (SpellInfo const *entry)
 
- Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
 
std::string const * m_scriptName
 
uint32 m_scriptSpellId
 

Detailed Description

Member Function Documentation

◆ _FinishScriptCall()

void SpellScript::_FinishScriptCall ( )
370{
372}
@ SPELL_SCRIPT_STATE_NONE
Definition: SpellScript.h:47
uint8 m_currentScriptState
Definition: SpellScript.h:105

References _SpellScript::m_currentScriptState, and SPELL_SCRIPT_STATE_NONE.

Referenced by _Load().

◆ _InitHit()

void SpellScript::_InitHit ( )
359{
362}
uint8 m_hitPreventEffectMask
Definition: SpellScript.h:311
uint8 m_hitPreventDefaultEffectMask
Definition: SpellScript.h:312

References m_hitPreventDefaultEffectMask, and m_hitPreventEffectMask.

◆ _IsDefaultEffectPrevented()

bool SpellScript::_IsDefaultEffectPrevented ( SpellEffIndex  effIndex)
inline
302{ return m_hitPreventDefaultEffectMask & (1 << effIndex); }

References m_hitPreventDefaultEffectMask.

◆ _IsEffectPrevented()

bool SpellScript::_IsEffectPrevented ( SpellEffIndex  effIndex)
inline
301{ return m_hitPreventEffectMask & (1 << effIndex); }

References m_hitPreventEffectMask.

◆ _Load()

bool SpellScript::_Load ( Spell spell)
350{
351 m_spell = spell;
353 bool load = Load();
355 return load;
356}
@ SPELL_SCRIPT_STATE_LOADING
Definition: SpellScript.h:49
SpellScriptHookType
Definition: SpellScript.h:158
virtual bool Load()
Definition: SpellScript.h:120
Spell * m_spell
Definition: SpellScript.h:310
void _PrepareScriptCall(SpellScriptHookType hookType)
Definition: SpellScript.cpp:364
void _FinishScriptCall()
Definition: SpellScript.cpp:369

References _FinishScriptCall(), _PrepareScriptCall(), _SpellScript::Load(), m_spell, and SPELL_SCRIPT_STATE_LOADING.

◆ _PrepareScriptCall()

void SpellScript::_PrepareScriptCall ( SpellScriptHookType  hookType)
365{
366 m_currentScriptState = hookType;
367}

References _SpellScript::m_currentScriptState.

Referenced by _Load().

◆ _Validate()

bool SpellScript::_Validate ( SpellInfo const *  entry)
overridevirtual

Reimplemented from _SpellScript.

317{
318 for (std::list<EffectHandler>::iterator itr = OnEffectLaunch.begin(); itr != OnEffectLaunch.end(); ++itr)
319 if (!(*itr).GetAffectedEffectsMask(entry))
320 LOG_ERROR("spells.scripts", "Spell `{}` Effect `{}` of script `{}` did not match dbc effect data - handler bound to hook `OnEffectLaunch` of SpellScript won't be executed", entry->Id, (*itr).ToString(), m_scriptName->c_str());
321
322 for (std::list<EffectHandler>::iterator itr = OnEffectLaunchTarget.begin(); itr != OnEffectLaunchTarget.end(); ++itr)
323 if (!(*itr).GetAffectedEffectsMask(entry))
324 LOG_ERROR("spells.scripts", "Spell `{}` Effect `{}` of script `{}` did not match dbc effect data - handler bound to hook `OnEffectLaunchTarget` of SpellScript won't be executed", entry->Id, (*itr).ToString(), m_scriptName->c_str());
325
326 for (std::list<EffectHandler>::iterator itr = OnEffectHit.begin(); itr != OnEffectHit.end(); ++itr)
327 if (!(*itr).GetAffectedEffectsMask(entry))
328 LOG_ERROR("spells.scripts", "Spell `{}` Effect `{}` of script `{}` did not match dbc effect data - handler bound to hook `OnEffectHit` of SpellScript won't be executed", entry->Id, (*itr).ToString(), m_scriptName->c_str());
329
330 for (std::list<EffectHandler>::iterator itr = OnEffectHitTarget.begin(); itr != OnEffectHitTarget.end(); ++itr)
331 if (!(*itr).GetAffectedEffectsMask(entry))
332 LOG_ERROR("spells.scripts", "Spell `{}` Effect `{}` of script `{}` did not match dbc effect data - handler bound to hook `OnEffectHitTarget` of SpellScript won't be executed", entry->Id, (*itr).ToString(), m_scriptName->c_str());
333
334 for (std::list<ObjectAreaTargetSelectHandler>::iterator itr = OnObjectAreaTargetSelect.begin(); itr != OnObjectAreaTargetSelect.end(); ++itr)
335 if (!(*itr).GetAffectedEffectsMask(entry))
336 LOG_ERROR("spells.scripts", "Spell `{}` Effect `{}` of script `{}` did not match dbc effect data - handler bound to hook `OnObjectAreaTargetSelect` of SpellScript won't be executed", entry->Id, (*itr).ToString(), m_scriptName->c_str());
337
338 for (std::list<ObjectTargetSelectHandler>::iterator itr = OnObjectTargetSelect.begin(); itr != OnObjectTargetSelect.end(); ++itr)
339 if (!(*itr).GetAffectedEffectsMask(entry))
340 LOG_ERROR("spells.scripts", "Spell `{}` Effect `{}` of script `{}` did not match dbc effect data - handler bound to hook `OnObjectTargetSelect` of SpellScript won't be executed", entry->Id, (*itr).ToString(), m_scriptName->c_str());
341
342 for (std::list<DestinationTargetSelectHandler>::iterator itr = OnDestinationTargetSelect.begin(); itr != OnDestinationTargetSelect.end(); ++itr)
343 if (!(*itr).GetAffectedEffectsMask(entry))
344 LOG_ERROR("spells.scripts", "Spell `{}` Effect `{}` of script `{}` did not match dbc effect data - handler bound to hook `OnDestinationTargetSelect` of SpellScript won't be executed", entry->Id, (*itr).ToString(), m_scriptName->c_str());
345
346 return _SpellScript::_Validate(entry);
347}
#define LOG_ERROR(filterType__,...)
Definition: Log.h:157
std::string const * m_scriptName
Definition: SpellScript.h:106
virtual bool _Validate(SpellInfo const *entry)
Definition: SpellScript.cpp:24
HookList< DestinationTargetSelectHandler > OnDestinationTargetSelect
Definition: SpellScript.h:363
HookList< EffectHandler > OnEffectHit
Definition: SpellScript.h:335
HookList< EffectHandler > OnEffectHitTarget
Definition: SpellScript.h:336
HookList< ObjectTargetSelectHandler > OnObjectTargetSelect
Definition: SpellScript.h:358
HookList< EffectHandler > OnEffectLaunchTarget
Definition: SpellScript.h:334
HookList< EffectHandler > OnEffectLaunch
Definition: SpellScript.h:333
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
Definition: SpellScript.h:353

References _SpellScript::_Validate(), SpellInfo::Id, LOG_ERROR, _SpellScript::m_scriptName, OnDestinationTargetSelect, OnEffectHit, OnEffectHitTarget, OnEffectLaunch, OnEffectLaunchTarget, OnObjectAreaTargetSelect, and OnObjectTargetSelect.

Referenced by ObjectMgr::ValidateSpellScripts().

◆ Cancel()

void SpellScript::Cancel ( )
642{
643 m_spell->cancel();
644}
void cancel(bool bySelf=false)
Definition: Spell.cpp:3723

References Spell::cancel(), and m_spell.

Referenced by spell_mark_of_the_faceless_drainhealth::FilterTargets().

◆ CreateItem()

void SpellScript::CreateItem ( uint32  effIndex,
uint32  itemId 
)
626{
627 m_spell->DoCreateItem(effIndex, itemId);
628}
void DoCreateItem(uint8 effIndex, uint32 itemId)
Definition: SpellEffects.cpp:1647

References Spell::DoCreateItem(), and m_spell.

Referenced by spell_gen_upper_deck_create_foam_sword::HandleScript(), and spell_warl_create_healthstone::HandleScriptEffect().

◆ FinishCast()

void SpellScript::FinishCast ( SpellCastResult  result)
636{
637 m_spell->SendCastResult(result);
638 m_spell->finish(result == SPELL_CAST_OK);
639}
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition: Spell.cpp:4674
void finish(bool ok=true)
Definition: Spell.cpp:4487

References Spell::finish(), m_spell, Spell::SendCastResult(), and SPELL_CAST_OK.

Referenced by spell_dk_corpse_explosion::CheckTargets(), spell_brewfest_apple_trap::FilterTargets(), spell_dru_t10_restoration_4p_bonus::FilterTargets(), spell_rog_killing_spree::FilterTargets(), and spell_putricide_ooze_channel::SelectTarget().

◆ GetCaster()

Unit * SpellScript::GetCaster ( )
402{
403 return m_spell->GetCaster();
404}
Unit * GetCaster() const
Definition: Spell.h:577

References Spell::GetCaster(), and m_spell.

Referenced by spell_gruul_ground_slam::ApplyStun(), spell_oculus_shock_lance::CalcDamage(), spell_dk_ghoul_thrash::CalcDamage(), spell_krystallus_shatter_effect::CalculateDamage(), spell_gruul_shatter_effect::CalculateDamage(), spell_item_wraith_scythe_drain_life::CalculateDamage(), spell_igb_incinerating_blast::CalculateDamage(), spell_loken_pulsing_shockwave::CalculateDamage(), spell_gen_consumption::CalculateDamage(), spell_igb_cannon_blast::CalculatePower(), spell_the_lich_king_defile::ChangeDamageAndGrow(), spell_eredar_twins_handle_touch::CheckCast(), spell_kalecgos_spectral_realm_dummy::CheckCast(), spell_brewfest_toss_mug::CheckCast(), spell_yogg_saron_in_the_maws_of_the_old_god::CheckCast(), spell_q12237_rescue_villager::CheckCast(), spell_q12237_drop_off_villager::CheckCast(), spell_wintergrasp_water::CheckCast(), spell_dk_death_coil::CheckCast(), spell_dk_death_grip::CheckCast(), spell_dk_death_pact::CheckCast(), spell_dru_dash::CheckCast(), spell_dru_savage_roar::CheckCast(), spell_dru_survival_instincts::CheckCast(), spell_hun_check_pet_los::CheckCast(), spell_hun_pet_heart_of_the_phoenix::CheckCast(), spell_hun_disengage::CheckCast(), spell_hun_tame_beast::CheckCast(), spell_hun_bestial_wrath::CheckCast(), spell_item_rocket_boots::CheckCast(), spell_item_snowman::CheckCast(), spell_item_luffa::CheckCast(), spell_mage_ice_barrier::CheckCast(), spell_pal_holy_shock::CheckCast(), spell_pal_lay_on_hands::CheckCast(), spell_pal_righteous_defense::CheckCast(), spell_pri_penance::CheckCast(), spell_pri_power_word_shield::CheckCast(), spell_q9452_cast_net::CheckCast(), spell_q4735_collect_rookery_egg::CheckCast(), spell_rog_killing_spree::CheckCast(), spell_rog_pickpocket::CheckCast(), spell_sha_spirit_walk::CheckCast(), spell_warl_ritual_of_summoning::CheckCast(), spell_warl_create_healthstone::CheckCast(), spell_warl_life_tap::CheckCast(), spell_dk_death_gate::CheckClass(), spell_baltharus_enervating_brand_trigger::CheckDistance(), spell_sha_fire_nova::CheckFireTotem(), spell_gen_cannibalize::CheckIfCorpseNear(), spell_hun_pet_carrion_feeder::CheckIfCorpseNear(), spell_gen_summon_tournament_mount::CheckIfLanceEquipped(), spell_gen_proc_above_75::CheckLevel(), spell_item_skyguard_blasting_charges::CheckQuest(), spell_q4735_collect_rookery_egg::CheckQuest(), spell_dk_raise_dead::CheckReagents(), spell_item_gift_of_the_harvester::CheckRequirement(), spell_ooze_zap::CheckRequirement(), spell_call_wintergarde_gryphon::CheckRequirement(), spell_renew_skirmisher::CheckRequirement(), spell_challenge_veraku::CheckRequirement(), spell_gen_profession_research::CheckRequirement(), spell_item_book_of_glyph_mastery::CheckRequirement(), spell_item_demon_broiled_surprise::CheckRequirement(), spell_q12943_shadow_vault_decree::CheckRequirement(), spell_q13369_fate_up_against_your_will::CheckRequirement(), spell_q11010_q11102_q11023_q11008_check_fly_mount::CheckRequirement(), spell_gen_vehicle_scaling::CheckSeat(), spell_item_map_of_the_geyser_fields::CheckSinkholes(), spell_q11670_it_was_the_orcs_honest::CheckTarget(), spell_rotface_unstable_ooze_explosion::CheckTarget(), spell_dk_corpse_explosion::CheckTarget(), spell_the_lich_king_shadow_trap_periodic::CheckTargetCount(), spell_the_lich_king_vile_spirit_damage_target_search::CheckTargetCount(), spell_the_lich_king_ice_burst_target_search::CheckTargetCount(), spell_algalon_big_bang::CheckTargets(), spell_dk_corpse_explosion::CheckTargets(), spell_dk_raise_dead::CheckTargets(), spell_dk_rune_tap_party::CheckTargets(), spell_dk_raise_dead::ConsumeReagents(), spell_the_lich_king_defile::CorrectRange(), spell_ruby_sanctum_rallying_shout::CountAllies(), spell_frost_giant_death_plague::CountTargets(), spell_igb_rocket_artillery_explosion::DamageGunship(), spell_hodir_shatter_chest::DestroyWinterCache(), spell_hun_masters_call::DoCheckCast(), spell_putricide_regurgitated_ooze::ExtraEffect(), spell_dk_death_pact::FilterTargets(), spell_shazzrah_gate_dummy::FilterTargets(), spell_nightbane_fireball_barrage::FilterTargets(), spell_malchezaar_enfeeble::FilterTargets(), spell_kalecgos_spectral_blast_dummy::FilterTargets(), spell_kiljaeden_sinister_reflection_clone::FilterTargets(), spell_gahzranka_slam::FilterTargets(), spell_chain_burn::FilterTargets(), spell_brewfest_toss_mug::FilterTargets(), spell_send_mug_target_picker::FilterTargets(), spell_anetheron_sleep::FilterTargets(), spell_azgalor_doom::FilterTargets(), spell_aq_shadow_storm::FilterTargets(), spell_cthun_dark_glare::FilterTargets(), spell_huhuran_poison_bolt::FilterTargets(), spell_energize_aoe::FilterTargets(), spell_eadric_radiance::FilterTargets(), spell_bronjahm_soulstorm_targeting::FilterTargets(), spell_garfrost_permafrost::FilterTargets(), spell_blood_queen_pact_of_the_darkfallen::FilterTargets(), spell_blood_queen_bloodbolt::FilterTargets(), spell_blood_queen_swarming_shadows_floor_dmg::FilterTargets(), spell_deathbringer_boiling_blood::FilterTargets(), spell_igb_teleport_players_on_victory::FilterTargets(), spell_igb_burning_pitch_selector::FilterTargets(), spell_putricide_unbound_plague::FilterTargets(), spell_rotface_mutated_infection::FilterTargets(), spell_sindragosa_mystic_buffet::FilterTargets(), spell_the_lich_king_quake::FilterTargets(), spell_the_lich_king_necrotic_plague_jump::FilterTargets(), spell_dreamwalker_summoner::FilterTargets(), spell_grobbulus_poison::FilterTargets(), spell_kelthuzad_frost_blast::FilterTargets(), spell_sapphiron_frost_explosion::FilterTargets(), spell_eoe_ph3_surge_of_power::FilterTargets(), spell_yogg_saron_lunatic_gaze::FilterTargets(), spell_gurtogg_bloodboil::FilterTargets(), spell_mother_shahraz_fatal_attraction_dummy::FilterTargets(), spell_reliquary_of_souls_fixate::FilterTargets(), spell_lady_vashj_summons::FilterTargets(), spell_lurker_below_spout_cone::FilterTargets(), spell_morogrim_tidewalker_watery_grave::FilterTargets(), spell_blade_dance_targeting::FilterTargets(), spell_kael_pyroblast::FilterTargets(), spell_dru_t10_restoration_4p_bonus::FilterTargets(), spell_dru_wild_growth::FilterTargets(), spell_gen_select_target_count::FilterTargets(), spell_hun_target_self_and_pet::FilterTargets(), spell_pri_circle_of_healing::FilterTargets(), spell_pri_divine_hymn::FilterTargets(), spell_pri_hymn_of_hope::FilterTargets(), spell_rog_killing_spree::FilterTargets(), spell_blood_queen_pact_of_the_darkfallen_dmg_target::FilterTargets(), spell_sindragosa_unchained_magic::FilterTargets(), spell_the_lich_king_restore_soul::FilterTargets(), spell_leotheras_insidious_whisper::FilterTargets(), spell_tsh_shoot_flame_arrow::FilterTargets(), spell_pri_mind_sear::FilterTargets(), spell_warr_improved_spell_reflection_trigger::FilterTargets(), spell_deathbringer_blood_nova_targeting::FilterTargetsInitial(), spell_putricide_mutated_transformation_dmg::FilterTargetsInitial(), spell_ulduar_stone_grip_cast_target::FilterTargetsInitial(), spell_dk_raise_dead::GetGhoulSpellId(), spell_q9452_cast_net::HandleActiveObject(), spell_q4735_collect_rookery_egg::HandleActiveObject(), spell_mt_phoenix_burn::HandleAfterCast(), spell_apothecary_lingering_fumes::HandleAfterCast(), spell_cataclysm_breath::HandleAfterCast(), spell_herald_volzaj_insanity::HandleAfterCast(), spell_thaddius_polarity_shift::HandleAfterCast(), spell_illidari_council_empyreal_balance::HandleAfterCast(), spell_illidari_council_empyreal_equivalency::HandleAfterCast(), spell_dk_chains_of_ice::HandleAfterCast(), spell_dru_berserk::HandleAfterCast(), spell_mage_arcane_blast::HandleAfterCast(), spell_q13086_last_line_of_defence::HandleAfterCast(), spell_sha_totem_of_wrath::HandleAfterCast(), spell_brewfest_fill_keg::HandleAfterHit(), spell_brewfest_unfill_keg::HandleAfterHit(), spell_gen_leeching_swarm_dmg::HandleAfterHit(), spell_saronite_vapors_damage::HandleAfterHit(), spell_dk_blood_boil::HandleAfterHit(), spell_dk_scourge_strike::HandleAfterHit(), spell_rog_deadly_poison::HandleAfterHit(), spell_azjol_nerub_pound::HandleApplyAura(), spell_galdarah_impaling_charge::HandleApplyAura(), spell_warl_banish::HandleBanish(), spell_dk_death_grip::HandleBaseDummy(), spell_brewfest_toss_mug::HandleBeforeHit(), spell_rog_deadly_poison::HandleBeforeHit(), spell_alar_ember_blast::HandleCast(), spell_gen_charmed_unit_spell_cooldown::HandleCast(), spell_rotface_unstable_ooze_explosion_init::HandleCast(), spell_commander_sarannis_summon_reinforcements::HandleCast(), spell_gen_mounted_charge::HandleChargeEffect(), spell_dk_corpse_explosion::HandleCorpseExplosion(), spell_pri_shadow_word_death::HandleDamage(), spell_warr_bloodthirst::HandleDamage(), spell_dk_corpse_explosion::HandleDamage(), spell_dk_ghoul_explode::HandleDamage(), spell_freezing_circle::HandleDamage(), spell_electrical_storm_proc::HandleDamageCalc(), spell_oculus_touch_the_nightmare::HandleDamageCalc(), spell_pet_dk_gargoyle_strike::HandleDamageCalc(), spell_gordunni_trap::HandleDummy(), spell_panther_cage_key::HandleDummy(), spell_icc_shattered_bones::HandleDummy(), spell_corrupted_totems::HandleDummy(), spell_moroes_vanish::HandleDummy(), spell_karazhan_blink::HandleDummy(), spell_ooze_zap::HandleDummy(), spell_ooze_zap_channel_end::HandleDummy(), spell_saviana_conflagration_init::HandleDummy(), spell_igb_burning_pitch_selector::HandleDummy(), spell_igb_burning_pitch::HandleDummy(), spell_sindragosa_s_fury::HandleDummy(), spell_switch_infragreen_bomber_station::HandleDummy(), spell_charge_shield_bomber::HandleDummy(), spell_fight_fire_bomber::HandleDummy(), spell_anti_air_rocket_bomber::HandleDummy(), spell_q13007_iron_colossus::HandleDummy(), spell_illidan_found_target::HandleDummy(), spell_leotheras_chaos_blast::HandleDummy(), spell_morogrim_tidewalker_watery_grave::HandleDummy(), spell_morogrim_tidewalker_water_globule_new_target::HandleDummy(), spell_q10935_the_exorcism_of_colonel_jules::HandleDummy(), spell_gen_hate_to_zero::HandleDummy(), spell_gen_focused_bursts::HandleDummy(), spell_gen_oracle_wolvar_reputation::HandleDummy(), spell_gen_despawn_self::HandleDummy(), spell_item_lil_xt::HandleDummy(), spell_sha_healing_stream_totem::HandleDummy(), spell_shadowblink::HandleDummy(), spell_spawn_drakonid::HandleDummy(), spell_magmadar_lava_bomb::HandleDummy(), spell_send_mug_target_picker::HandleDummy(), spell_hallows_end_candy::HandleDummy(), spell_hallows_end_bucket_lands::HandleDummy(), spell_midsummer_summon_ahune_lieutenant::HandleDummy(), spell_pilgrims_bounty_pass_generic::HandleDummy(), spell_pilgrims_bounty_feast_on_generic::HandleDummy(), spell_mana_burn_area::HandleDummy(), spell_aggro_drones::HandleDummy(), spell_voljin_war_drums::HandleDummy(), spell_voodoo::HandleDummy(), spell_ahn_kahet_swarmer_aura::HandleDummy(), spell_sartharion_lava_strike::HandleDummy(), spell_halion_meteor_strike_targeting::HandleDummy(), spell_halion_twilight_division::HandleDummy(), spell_dred_raptor_call::HandleDummy(), spell_pos_slave_trigger_closest::HandleDummy(), spell_pos_rimefang_frost_nova::HandleDummy(), spell_drakkari_colossus_emerge::HandleDummy(), spell_drakkari_colossus_surge::HandleDummy(), spell_putricide_ooze_eruption_searcher::HandleDummy(), spell_thaddius_polarity_shift::HandleDummy(), spell_voa_flaming_cinder::HandleDummy(), spell_q12096_q12092_dummy::HandleDummy(), spell_vehicle_warhead_fuse::HandleDummy(), spell_warhead_detonate::HandleDummy(), spell_q12589_shoot_rjr::HandleDummy(), spell_mother_shahraz_fatal_attraction_dummy::HandleDummy(), spell_najentus_needle_spine::HandleDummy(), spell_ice_spear_target_picker::HandleDummy(), spell_capacitus_polarity_shift::HandleDummy(), spell_dk_raise_ally::HandleDummy(), spell_dk_death_coil::HandleDummy(), spell_dk_death_grip::HandleDummy(), spell_dk_death_strike::HandleDummy(), spell_dk_scourge_strike::HandleDummy(), spell_dru_starfall_dummy::HandleDummy(), spell_gen_cannibalize::HandleDummy(), spell_gen_dummy_trigger::HandleDummy(), spell_gen_gadgetzan_transporter_backfire::HandleDummy(), spell_gen_gnomish_transporter::HandleDummy(), spell_gen_threshalisk_charge::HandleDummy(), spell_hun_last_stand_pet::HandleDummy(), spell_hun_masters_call::HandleDummy(), spell_hun_readiness::HandleDummy(), spell_hun_scatter_shot::HandleDummy(), spell_hun_pet_carrion_feeder::HandleDummy(), spell_item_gnomish_universal_remote::HandleDummy(), spell_item_gnomish_shrink_ray::HandleDummy(), spell_item_trigger_spell::HandleDummy(), spell_item_deviate_fish::HandleDummy(), spell_item_flask_of_the_north::HandleDummy(), spell_item_gnomish_death_ray::HandleDummy(), spell_item_make_a_wish::HandleDummy(), spell_item_mingos_fortune_generator::HandleDummy(), spell_item_net_o_matic::HandleDummy(), spell_item_noggenfogger_elixir::HandleDummy(), spell_item_savory_deviate_delight::HandleDummy(), spell_item_six_demon_bag::HandleDummy(), spell_item_underbelly_elixir::HandleDummy(), spell_item_vanquished_clutches::HandleDummy(), spell_item_purify_helboar_meat::HandleDummy(), spell_item_reindeer_transformation::HandleDummy(), spell_item_nigh_invulnerability::HandleDummy(), spell_item_poultryizer::HandleDummy(), spell_item_socrethars_stone::HandleDummy(), spell_item_demon_broiled_surprise::HandleDummy(), spell_item_complete_raptor_capture::HandleDummy(), spell_item_brewfest_mount_transformation::HandleDummy(), spell_item_nitro_boots::HandleDummy(), spell_item_teach_language::HandleDummy(), spell_item_rocket_boots::HandleDummy(), spell_item_pygmy_oil::HandleDummy(), spell_item_unusual_compass::HandleDummy(), spell_item_chicken_cover::HandleDummy(), spell_item_refocus::HandleDummy(), spell_item_greatmothers_soulcatcher::HandleDummy(), spell_item_goblin_bomb::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_mage_polymorph_cast_visual::HandleDummy(), spell_mage_summon_water_elemental::HandleDummy(), spell_pal_blessing_of_faith::HandleDummy(), spell_pal_divine_storm_dummy::HandleDummy(), spell_pal_holy_shock::HandleDummy(), spell_pal_judgement_of_command::HandleDummy(), spell_pri_penance::HandleDummy(), spell_q10714_on_spirits_wings::HandleDummy(), spell_q11520_discovering_your_roots::HandleDummy(), spell_generic_quest_update_entry_SpellScript::HandleDummy(), spell_q5206_test_fetid_skull::HandleDummy(), spell_q6124_6129_apply_salve::HandleDummy(), spell_q11396_11399_scourging_crystal_controller::HandleDummy(), spell_q11587_arcane_prisoner_rescue::HandleDummy(), spell_q11730_ultrasonic_screwdriver::HandleDummy(), spell_q12634_despawn_fruit_tosser::HandleDummy(), spell_q12683_take_sputum_sample::HandleDummy(), spell_q12937_relief_for_the_fallen::HandleDummy(), spell_q12659_ahunaes_knife::HandleDummy(), spell_q9874_liquid_fire::HandleDummy(), spell_q13280_13283_plant_battle_standard::HandleDummy(), spell_q9452_cast_net::HandleDummy(), spell_q12277_wintergarde_mine_explosion::HandleDummy(), spell_q12066_bunny_kill_credit::HandleDummy(), spell_q11010_q11102_q11023_choose_loc::HandleDummy(), spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy::HandleDummy(), spell_q12308_escape_from_silverbrook::HandleDummy(), spell_q12641_death_comes_from_on_high::HandleDummy(), spell_rog_killing_spree::HandleDummy(), spell_rog_preparation::HandleDummy(), spell_rog_shiv::HandleDummy(), spell_sha_ancestral_awakening_proc::HandleDummy(), spell_sha_cleansing_totem_pulse::HandleDummy(), spell_sha_fire_nova::HandleDummy(), spell_sha_lava_lash::HandleDummy(), spell_sha_mana_spring_totem::HandleDummy(), spell_sha_mana_tide_totem::HandleDummy(), spell_warl_ritual_of_doom_effect::HandleDummy(), spell_warl_soulshatter::HandleDummy(), spell_warl_life_tap::HandleDummy(), spell_warr_last_stand::HandleDummy(), spell_warr_deep_wounds::HandleDummy(), spell_warr_charge::HandleDummy(), spell_warr_slam::HandleDummy(), spell_warr_concussion_blow::HandleDummy(), spell_warr_bloodthirst::HandleDummy(), spell_yogg_saron_destabilization_matrix::HandleDummyEffect(), spell_yogg_saron_titanic_storm::HandleDummyEffect(), spell_yogg_saron_insane_periodic_trigger::HandleDummyEffect(), spell_svala_ritual_strike::HandleDummyEffect(), spell_image_of_drakuru_reagent_check::HandleDummyEffect(), spell_herald_volzaj_insanity::HandleDummyEffect(), spell_talon_king_ikiss_blink::HandleDummyHitTarget(), spell_egg_explosion::HandleDummyHitTarget(), spell_icc_yd_summon_undead::HandleDummyLaunch(), spell_item_luffa::HandleEffect(), spell_warr_execute::HandleEffect(), spell_axe_flurry::HandleEffect(), spell_q11719_bloodspore_ruination_45997::HandleEffect(), spell_target_fissures::HandleEffect(), spell_kaelthas_mind_control::HandleEffect(), spell_item_elixir_of_shadows::HandleEffect(), spell_rog_vanish::HandleEffect(), spell_warr_overpower::HandleEffect(), spell_dream_fog_sleep::HandleEffect(), spell_pri_pain_and_suffering_proc::HandleEffectScriptEffect(), spell_item_mana_injector::HandleEnergize(), spell_icc_sprit_alarm::HandleEvent(), spell_icc_geist_alarm::HandleEvent(), spell_flamewreath::HandleFinish(), spell_midsummer_fling_torch::HandleFinish(), spell_midsummer_juggling_torch::HandleFinish(), spell_wintergrasp_rp_gg::HandleFinish(), spell_the_flag_of_ownership::HandleFinish(), spell_hun_volley_trigger::HandleFinish(), spell_q12014_steady_as_a_rock::HandleFinish(), spell_q5056_summon_shy_rotam::HandleFinish(), spell_dreamwalker_summoner::HandleForceCast(), spell_dreamwalker_summon_suppresser_effect::HandleForceCast(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_ioc_bomb_blast_criteria::HandleGameObjectDamage(), spell_cannibalize_heal::HandleHeal(), spell_item_crazy_alchemists_potion::HandleHeal(), spell_item_healing_injector::HandleHeal(), spell_sha_chain_heal::HandleHeal(), spell_warr_bloodthirst_heal::HandleHeal(), spell_summon_ragnaros::HandleHit(), spell_magtheridon_quake::HandleHit(), spell_hate_to_zero::HandleHit(), spell_obsidian_sanctum_flame_tsunami::HandleHit(), spell_assembly_meltdown::HandleInstaKill(), spell_item_toxic_wasteling::HandleJump(), spell_dru_typhoon::HandleKnockBack(), spell_mage_blast_wave::HandleKnockBack(), spell_sha_thunderstorm::HandleKnockBack(), spell_q12690_burst_at_the_seams::HandleKnockBack(), spell_hatch_eggs::HandleObjectAreaTargetSelect(), spell_gen_haunted::HandleOnEffectHit(), spell_item_summon_argent_knight::HandleOnEffectHit(), spell_egg_event::HandleOnHit(), spell_hakkar_power_down::HandleOnHit(), spell_random_aggro::HandleOnHit(), spell_delusions_of_jindo::HandleOnHit(), spell_enveloping_webs::HandleOnHit(), spell_arcane_vacuum::HandleOnHit(), spell_mark_of_frost_freeze::HandleOnHit(), spell_explode_trigger::HandleOnHit(), spell_voa_lightning_nova::HandleOnHit(), spell_blade_dance_targeting::HandleOnHit(), spell_class_call_handler::HandleOnHitRogue(), spell_zulfarrak_unlocking::HandleOpenLock(), spell_entropius_black_hole_effect::HandlePull(), spell_boss_magus_telestra_gravity_well::HandlePull(), spell_dk_raise_dead::HandleRaiseDead(), spell_rog_vanish_purge::HandleRootRemove(), spell_sartharion_lava_strike::HandleSchoolDamage(), spell_gen_mine_sweeper::HandleSchoolDMG(), spell_warl_shadowflame::HandleSchoolDMG(), spell_ragnaros_lava_burst_randomizer::HandleScript(), spell_ragnaros_summon_sons_of_flame::HandleScript(), spell_pvp_trinket_wotf_shared_cd::HandleScript(), spell_gen_bandage::HandleScript(), spell_pal_lay_on_hands::HandleScript(), spell_kormok_summon_bone_mages::HandleScript(), spell_kormok_summon_bone_minions::HandleScript(), spell_midsummer_fling_torch::HandleScript(), spell_energize_aoe::HandleScript(), spell_saviana_conflagration_throwback::HandleScript(), spell_taldaram_glittering_sparks::HandleScript(), spell_taldaram_summon_flame_ball::HandleScript(), spell_blood_queen_bloodbolt::HandleScript(), spell_igb_rocket_artillery::HandleScript(), spell_putricide_unstable_experiment::HandleScript(), spell_putricide_clear_aura_effect_value::HandleScript(), spell_sindragosa_icy_grip::HandleScript(), spell_frostwarden_handler_focus_fire::HandleScript(), spell_the_lich_king_valkyr_target_search::HandleScript(), spell_the_lich_king_vile_spirit_move_target_search::HandleScript(), spell_archavon_rock_shards::HandleScript(), spell_gen_create_lance::HandleScript(), spell_item_defibrillate::HandleScript(), spell_item_scroll_of_recall::HandleScript(), spell_gen_elemental_shield::HandleScript(), spell_gen_brood_power::HandleScript(), spell_shazzrah_gate_dummy::HandleScript(), spell_lich_king_whisper::HandleScript(), spell_apothecary_lingering_fumes::HandleScript(), spell_apothecary_validate_area::HandleScript(), spell_blight_worm_ingest::HandleScript(), spell_hallows_end_trick::HandleScript(), spell_hallows_end_put_costume::HandleScript(), spell_hallows_end_trick_or_treat::HandleScript(), spell_winter_veil_mistletoe::HandleScript(), spell_ayamiss_swarmer_teleport_trigger::HandleScript(), spell_ayamiss_swarmer_swarm::HandleScript(), spell_ayamiss_swarmer_start_loop::HandleScript(), spell_gen_ayamiss_swarmer_loop::HandleScript(), spell_moam_mana_drain_filter::HandleScript(), spell_moam_summon_mana_fiends::HandleScript(), spell_drain_mana::HandleScript(), spell_prince_taldaram_conjure_flame_sphere::HandleScript(), spell_mistress_kiss_area::HandleScript(), spell_novos_summon_minions::HandleScript(), spell_festergut_pungent_blight::HandleScript(), spell_putricide_unbound_plague::HandleScript(), spell_putricide_choking_gas_bomb::HandleScript(), spell_rotface_little_ooze_combine::HandleScript(), spell_rotface_large_ooze_combine::HandleScript(), spell_rotface_large_ooze_buff_combine::HandleScript(), spell_the_lich_king_cast_back_to_caster::HandleScript(), spell_xt002_gravity_bomb_damage::HandleScript(), spell_yogg_saron_target_selectors::HandleScript(), spell_q12237_rescue_villager::HandleScript(), spell_shredder_delivery::HandleScript(), spell_ahune_synch_health::HandleScript(), spell_the_black_stalker_levitation_pulse::HandleScript(), spell_the_black_stalker_someone_grab_me::HandleScript(), spell_the_flag_of_ownership::HandleScript(), spell_gen_pet_summoned::HandleScript(), spell_gen_elune_candle::HandleScript(), spell_gen_divine_storm_cd_reset::HandleScript(), spell_gen_profession_research::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_gen_ds_flush_knockback::HandleScript(), spell_hun_pet_heart_of_the_phoenix::HandleScript(), spell_item_dimensional_ripper_area52::HandleScript(), spell_item_book_of_glyph_mastery::HandleScript(), spell_item_eggnog::HandleScript(), spell_item_worn_troll_dice::HandleScript(), spell_q12805_lifeblood_dummy::HandleScript(), spell_q12735_song_of_cleansing::HandleScript(), spell_q13011_bear_flank_master::HandleScript(), spell_q12690_burst_at_the_seams::HandleScript(), spell_q12619_emblazon_runeblade_effect::HandleScript(), spell_q12919_gymers_grab::HandleScript(), spell_q12919_gymers_throw::HandleScript(), spell_ioc_gunship_portal::HandleScript2(), spell_q11670_it_was_the_orcs_honest::HandleScriptEffect(), spell_q12641_death_comes_from_on_high_summon_ghouls::HandleScriptEffect(), spell_felmyst_fog_of_corruption::HandleScriptEffect(), spell_kalecgos_spectral_realm_dummy::HandleScriptEffect(), spell_vem_knockback::HandleScriptEffect(), spell_azjol_nerub_fixate::HandleScriptEffect(), spell_marrowgar_coldflame_bonestorm::HandleScriptEffect(), spell_gurtogg_eject::HandleScriptEffect(), spell_illidan_draw_soul::HandleScriptEffect(), spell_illidan_cage_trap::HandleScriptEffect(), spell_black_temple_bloodbolt::HandleScriptEffect(), spell_lady_vashj_summon_sporebat::HandleScriptEffect(), spell_lady_vashj_spore_drop_effect::HandleScriptEffect(), spell_leotheras_whirlwind::HandleScriptEffect(), spell_leotheras_clear_consuming_madness::HandleScriptEffect(), spell_kaelthas_summon_weapons::HandleScriptEffect(), spell_kaelthas_gravity_lapse::HandleScriptEffect(), spell_kaelthas_nether_beam::HandleScriptEffect(), spell_kaelthas_summon_nether_vapor::HandleScriptEffect(), spell_gen_fixate::HandleScriptEffect(), spell_gen_knock_away::HandleScriptEffect(), spell_gen_throw_back::HandleScriptEffect(), spell_gen_clone::HandleScriptEffect(), spell_gen_clone_weapon::HandleScriptEffect(), spell_gen_break_shield::HandleScriptEffect(), spell_gen_mounted_charge::HandleScriptEffect(), spell_gen_throw_shield::HandleScriptEffect(), spell_item_sleepy_willy::HandleScriptEffect(), spell_item_lil_xt::HandleScriptEffect(), spell_item_feast::HandleScriptEffect(), spell_q12779_an_end_to_all_things::HandleScriptEffect(), spell_blood_siphon::HandleScriptEffect(), spell_brewfest_toss_mug::HandleScriptEffect(), spell_direbrew_summon_mole_machine_target_picker::HandleScriptEffect(), spell_request_second_mug::HandleScriptEffect(), spell_winter_veil_racer_slam_hit::HandleScriptEffect(), spell_volazj_whisper::HandleScriptEffect(), spell_novos_despawn_crystal_handler::HandleScriptEffect(), spell_trollgore_consume::HandleScriptEffect(), spell_trollgore_invader_taunt::HandleScriptEffect(), spell_dtk_summon_random_drakkari::HandleScriptEffect(), spell_drakkari_colossus_face_me::HandleScriptEffect(), spell_marrowgar_coldflame::HandleScriptEffect(), spell_gluth_decimate::HandleScriptEffect(), spell_arcane_chains_character_force_cast::HandleScriptEffect(), spell_q12227_outhouse_groans::HandleScriptEffect(), spell_q12227_camera_shake::HandleScriptEffect(), spell_deliver_gryphon::HandleScriptEffect(), spell_q12611_deathbolt::HandleScriptEffect(), spell_illidari_council_judgement::HandleScriptEffect(), spell_black_temple_summon_shadowfiends::HandleScriptEffect(), spell_ice_bombardment_dest_picker::HandleScriptEffect(), spell_tractor_beam_creator::HandleScriptEffect(), spell_kaelthas_kael_explodes::HandleScriptEffect(), spell_q10612_10613_the_fel_and_the_furious::HandleScriptEffect(), spell_dk_pestilence::HandleScriptEffect(), spell_dru_glyph_of_starfire::HandleScriptEffect(), spell_gen_tournament_duel::HandleScriptEffect(), spell_hun_chimera_shot::HandleScriptEffect(), spell_item_mirrens_drinking_hat::HandleScriptEffect(), spell_pal_guarded_by_the_light::HandleScriptEffect(), spell_pal_judgement::HandleScriptEffect(), spell_pal_seal_of_vengeance::HandleScriptEffect(), spell_pri_lightwell::HandleScriptEffect(), spell_q10720_the_smallest_creature::HandleScriptEffect(), spell_q12943_shadow_vault_decree::HandleScriptEffect(), spell_q1846_bending_shinbone::HandleScriptEffect(), spell_q14112_14145_chum_the_water::HandleScriptEffect(), spell_warl_demonic_empowerment::HandleScriptEffect(), spell_warl_everlasting_affliction::HandleScriptEffect(), spell_temple_of_atal_hakkar_awaken_the_soulflayer::HandleSendEvent(), spell_q12478_frostmourne_cavern::HandleSendEvent(), spell_q12620_the_lifewarden_wrath::HandleSendEvent(), spell_uldaman_sub_boss_agro_keepers::HandleSendEvent(), spell_uldaman_boss_agro_archaedas::HandleSendEvent(), spell_the_lich_king_quake::HandleSendEvent(), spell_q10036_torgos::HandleSendEvent(), spell_q10923_evil_draws_near_summon::HandleSendEvent(), spell_q9847_a_spirit_ally::HandleSendEvent(), spell_rog_vanish_purge::HandleSnareRemove(), spell_sindragosa_icy_grip_jump::HandleSpecial(), spell_marrowgar_bone_spike_graveyard::HandleSpikes(), spell_halion_damage_aoe_summon::HandleSummon(), spell_wintergrasp_create_vehicle::HandleSummon(), spell_item_summon_or_dismiss::HandleSummon(), spell_item_draenic_pale_ale::HandleSummon(), spell_capacitus_polarity_charge::HandleTargets(), spell_thaddius_pos_neg_charge::HandleTargets(), spell_mother_shahraz_fatal_attraction::HandleTeleportUnits(), spell_trigger_spell_from_caster::HandleTrigger(), spell_rimefang_icy_blast::HandleTriggerMissile(), spell_winter_veil_racer_rocket_slam::HandleTriggerSpell(), spell_pal_righteous_defense::HandleTriggerSpellHit(), spell_gahzranka_slam::HandleWipeThreat(), spell_svalna_revive_champion::Land(), spell_ioc_launch::Launch(), spell_threatening_gaze_charge::LaunchHit(), spell_mandokir_charge::LaunchHit(), spell_hate_to_zero::Load(), spell_malchezaar_enfeeble::Load(), spell_ayamiss_swarmer_swarm::Load(), spell_ayamiss_swarmer_start_loop::Load(), spell_gen_ayamiss_swarmer_loop::Load(), spell_herald_volzaj_insanity::Load(), spell_volazj_whisper::Load(), spell_halion_twilight_phasing::Load(), spell_taldaram_summon_flame_ball::Load(), spell_blood_queen_bloodbolt::Load(), spell_deathbringer_boiling_blood::Load(), spell_festergut_pungent_blight::Load(), spell_igb_check_for_players::Load(), spell_igb_gunship_fall_teleport::Load(), spell_igb_teleport_players_on_victory::Load(), spell_igb_cannon_blast::Load(), spell_putricide_ooze_channel::Load(), spell_sindragosa_s_fury::Load(), spell_the_lich_king_quake::Load(), spell_the_lich_king_vile_spirit_move_target_search::Load(), spell_the_lich_king_restore_soul::Load(), spell_dreamwalker_summoner::Load(), spell_dreamwalker_summon_suppresser_effect::Load(), spell_ioc_gunship_portal::Load(), spell_eoe_ph3_surge_of_power::Load(), spell_ulduar_stone_grip_cast_target::Load(), spell_shredder_delivery::Load(), spell_illidan_cage_trap::Load(), spell_illidari_council_empyreal_balance::Load(), spell_illidari_council_empyreal_equivalency::Load(), spell_dk_blood_boil::Load(), spell_dk_raise_dead::Load(), spell_dru_t10_restoration_4p_bonus::Load(), spell_gen_pet_summoned::Load(), spell_pvp_trinket_wotf_shared_cd::Load(), spell_gen_divine_storm_cd_reset::Load(), spell_gen_profession_research::Load(), spell_gen_oracle_wolvar_reputation::Load(), spell_gen_despawn_self::Load(), spell_hun_readiness::Load(), spell_hun_scatter_shot::Load(), spell_hun_pet_heart_of_the_phoenix::Load(), spell_hun_pet_carrion_feeder::Load(), spell_hun_target_self_and_pet::Load(), spell_item_feast::Load(), spell_item_deviate_fish::Load(), spell_item_make_a_wish::Load(), spell_item_noggenfogger_elixir::Load(), spell_item_savory_deviate_delight::Load(), spell_item_scroll_of_recall::Load(), spell_item_dimensional_ripper_area52::Load(), spell_item_underbelly_elixir::Load(), spell_item_book_of_glyph_mastery::Load(), spell_item_ashbringer::Load(), spell_item_purify_helboar_meat::Load(), spell_item_socrethars_stone::Load(), spell_item_demon_broiled_surprise::Load(), spell_item_teach_language::Load(), spell_item_rocket_boots::Load(), spell_item_healing_injector::Load(), spell_item_mana_injector::Load(), spell_item_chicken_cover::Load(), spell_item_worn_troll_dice::Load(), spell_mage_cold_snap::Load(), spell_pal_divine_storm::Load(), spell_pri_lightwell::Load(), spell_pri_penance::Load(), spell_q5206_test_fetid_skull::Load(), spell_q6124_6129_apply_salve::Load(), spell_q11730_ultrasonic_screwdriver::Load(), spell_q12937_relief_for_the_fallen::Load(), spell_q12659_ahunaes_knife::Load(), spell_q9874_liquid_fire::Load(), spell_q12805_lifeblood_dummy::Load(), spell_q9452_cast_net::Load(), spell_q13011_bear_flank_master::Load(), spell_q12690_burst_at_the_seams::Load(), spell_rog_deadly_poison::Load(), spell_rog_preparation::Load(), spell_rog_shiv::Load(), spell_warl_life_tap::Load(), spell_gen_random_target32::ModDest(), spell_gen_basic_campfire::ModDest(), spell_q12308_escape_from_silverbrook_summon_worgen::ModDest(), spell_gen_basic_campfire::ModifyCookingSkill(), spell_rotface_mutated_infection::NotifyTargets(), spell_blood_queen_vampiric_bite::OnCast(), spell_item_ashbringer::OnDummyEffect(), spell_blackrock_spire_call_of_vaelastrasz::OnEffect(), spell_bh_cleanse_quel_delar::OnEffect(), spell_ritual_of_power::OnEffect(), spell_pagles_point_cast::OnEffect(), spell_keeper_freya_summon_sanity_well::OnEffect(), spell_item_linken_boomerang::OnEffectLaunchTargetDisarm(), spell_item_linken_boomerang::OnEffectLaunchTargetStun(), spell_halion_twilight_phasing::Phase(), spell_black_temple_l5_arcane_charge::PrepareSpellScript(), spell_fire_festival_fortitude::PrepareSpellScript(), spell_gen_grow_flower_patch::PrepareSpellScript(), spell_gen_mod_radius_by_caster_scale::PrepareSpellScript(), spell_gen_planting_scourge_banner::PrepareSpellScript(), spell_gen_spectator_cheer_trigger::PrepareSpellScript(), spell_gen_use_spell_base_level_check::PrepareSpellScript(), spell_gen_vendor_bark_trigger::PrepareSpellScript(), spell_item_mind_amplify_dish::PrepareSpellScript(), spell_item_oracle_ablutions::PrepareSpellScript(), spell_item_titanium_seal_of_dalaran::PrepareSpellScript(), spell_item_venomhide_feed::PrepareSpellScript(), spell_q11198_take_down_tethyr::PrepareSpellScript(), spell_q11653_youre_not_so_big_now::PrepareSpellScript(), spell_q13369_fate_up_against_your_will::PrepareSpellScript(), spell_sha_lava_lash::PrepareSpellScript(), spell_bronjahm_magic_bane::RecalculateDamage(), spell_marrowgar_bone_storm::RecalculateDamage(), spell_wg_reduce_damage_by_distance::RecalculateDamage(), spell_pet_gen_valkyr_guardian_smite::RecalculateDamage(), spell_dk_death_and_decay::RecalculateDamage(), spell_dk_rune_of_the_fallen_crusader::RecalculateDamage(), spell_igb_gunship_fall_teleport::RelocateDest(), spell_igb_incinerating_blast::RemoveEnergy(), spell_gen_replenishment::RemoveInvalidTargets(), spell_halion_twilight_cutter::RemoveNotBetween(), spell_najentus_remove_spines::RemoveSpines(), spell_putricide_slime_puddle::ScaleRange(), spell_valanar_kinetic_bomb_summon::SelectDest(), spell_putricide_slime_puddle_spawn::SelectDest(), spell_sindragosa_s_fury::SelectDest(), spell_tsh_shadow_bolt::SelectRandomPlayer(), spell_igb_rocket_artillery::SelectRandomTarget(), spell_igb_explosion::SelectTarget(), spell_marrowgar_coldflame::SelectTarget(), spell_putricide_ooze_channel::SelectTarget(), spell_putricide_eat_ooze::SelectTarget(), spell_the_lich_king_valkyr_target_search::SelectTarget(), spell_xt002_gravity_bomb::SelectTarget(), spell_xt002_searing_light_spawn_life_spark::SelectTarget(), spell_murmur_thundering_storm::SelectTarget(), spell_kaelthas_mind_control::SelectTarget(), spell_gen_rallying_cry_of_the_dragonslayer::SelectTarget(), spell_item_fetch_ball::SelectTarget(), spell_warr_slam::SendMiss(), spell_warr_execute::SendMiss(), spell_azjol_nerub_impale_summon::SetDest(), spell_blood_council_summon_shadow_resonance::SetDest(), spell_mother_shahraz_fatal_attraction::SetDest(), spell_q10898_skywing::SetDest(), spell_dk_summon_gargoyle::SetDest(), spell_spawn_blood_pool::SetDest(), spell_item_dragon_kite_summon_lightning_bunny::SetDest(), spell_item_recall::SetDest(), spell_putricide_ooze_channel::StartAttack(), spell_igb_incinerating_blast::StoreEnergy(), spell_dk_ghoul_explode::Suicide(), spell_igb_check_for_players::TeleportPlayer(), spell_the_lich_king_life_siphon::TriggerHeal(), spell_pal_divine_storm::TriggerHeal(), spell_igb_check_for_players::TriggerWipe(), spell_item_venomhide_feed::UpdateTarget(), and spell_warr_victory_rush::VictoryRushHit().

◆ GetCastItem()

◆ GetEffectValue()

int32 SpellScript::GetEffectValue ( ) const
601{
602 if (!IsInEffectHook())
603 {
604 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetEffectValue was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
605 return 0;
606 }
607 return m_spell->damage;
608}
int32 damage
Definition: Spell.h:659
uint32 m_scriptSpellId
Definition: SpellScript.h:107
bool IsInEffectHook() const
Definition: SpellScript.cpp:396

References Spell::damage, IsInEffectHook(), LOG_ERROR, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, and m_spell.

Referenced by spell_dk_ghoul_thrash::CalcDamage(), spell_gen_eject_passenger::EjectPassenger(), spell_warr_bloodthirst::HandleDamage(), spell_dk_corpse_explosion::HandleDamage(), spell_ooze_zap::HandleDummy(), spell_igb_burning_pitch_selector::HandleDummy(), spell_igb_burning_pitch::HandleDummy(), spell_sindragosa_s_fury::HandleDummy(), spell_charge_shield_bomber::HandleDummy(), spell_mage_burnout_trigger::HandleDummy(), spell_sha_healing_stream_totem::HandleDummy(), spell_lich_king_whisper::HandleDummy(), spell_deathbringer_blood_link::HandleDummy(), spell_dk_raise_ally::HandleDummy(), spell_dk_death_coil::HandleDummy(), spell_dk_scourge_strike::HandleDummy(), spell_dru_starfall_dummy::HandleDummy(), spell_gen_dummy_trigger::HandleDummy(), spell_hun_masters_call::HandleDummy(), spell_pal_divine_storm_dummy::HandleDummy(), spell_pal_judgement_of_command::HandleDummy(), spell_sha_ancestral_awakening_proc::HandleDummy(), spell_sha_lava_lash::HandleDummy(), spell_sha_mana_spring_totem::HandleDummy(), spell_sha_mana_tide_totem::HandleDummy(), spell_warl_ritual_of_doom_effect::HandleDummy(), spell_warl_life_tap::HandleDummy(), spell_warr_last_stand::HandleDummy(), spell_warr_deep_wounds::HandleDummy(), spell_warr_charge::HandleDummy(), spell_warr_slam::HandleDummy(), spell_warr_concussion_blow::HandleDummy(), spell_warr_bloodthirst::HandleDummy(), spell_warr_execute::HandleEffect(), spell_item_mana_injector::HandleEnergize(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_pri_prayer_of_mending_heal::HandleHeal(), spell_icc_harvest_blight_specimen::HandleQuestComplete(), spell_energize_aoe::HandleScript(), spell_saviana_conflagration_throwback::HandleScript(), spell_taldaram_glittering_sparks::HandleScript(), spell_igb_rocket_artillery::HandleScript(), spell_putricide_clear_aura_effect_value::HandleScript(), spell_frostwarden_handler_focus_fire::HandleScript(), spell_the_lich_king_jump_remove_aura::HandleScript(), spell_the_lich_king_raging_spirit::HandleScript(), spell_the_lich_king_summon_spirit_bomb::HandleScript(), spell_icc_harvest_blight_specimen::HandleScript(), spell_wintergrasp_force_building::HandleScript(), spell_dk_death_gate::HandleScript(), spell_lich_king_whisper::HandleScript(), spell_mistress_kiss_area::HandleScript(), spell_festergut_pungent_blight::HandleScript(), spell_putricide_eat_ooze::HandleScript(), spell_the_lich_king_cast_back_to_caster::HandleScript(), spell_stinky_precious_decimate::HandleScript(), spell_yogg_saron_target_selectors::HandleScript(), spell_q12237_rescue_villager::HandleScript(), spell_q12805_lifeblood_dummy::HandleScript(), spell_q12619_emblazon_runeblade_effect::HandleScript(), spell_azjol_nerub_fixate::HandleScriptEffect(), spell_marrowgar_coldflame_bonestorm::HandleScriptEffect(), spell_black_temple_bloodbolt::HandleScriptEffect(), spell_gen_fixate::HandleScriptEffect(), spell_gen_throw_back::HandleScriptEffect(), spell_gen_clone::HandleScriptEffect(), spell_gen_clone_weapon::HandleScriptEffect(), spell_gen_throw_shield::HandleScriptEffect(), spell_item_sleepy_willy::HandleScriptEffect(), spell_item_lil_xt::HandleScriptEffect(), spell_q12698_the_gift_that_keeps_on_giving::HandleScriptEffect(), spell_q12779_an_end_to_all_things::HandleScriptEffect(), spell_trollgore_invader_taunt::HandleScriptEffect(), spell_marrowgar_coldflame::HandleScriptEffect(), spell_item_draenic_pale_ale::HandleSummon(), spell_q11198_take_down_tethyr::PrepareSpellScript(), and spell_q13369_fate_up_against_your_will::PrepareSpellScript().

◆ GetExplTargetDest()

WorldLocation const * SpellScript::GetExplTargetDest ( )
417{
418 if (m_spell->m_targets.HasDst())
419 return m_spell->m_targets.GetDstPos();
420 return nullptr;
421}
bool HasDst() const
Definition: Spell.h:167
WorldLocation const * GetDstPos() const
Definition: Spell.cpp:401
SpellCastTargets m_targets
Definition: Spell.h:530

References SpellCastTargets::GetDstPos(), SpellCastTargets::HasDst(), m_spell, and Spell::m_targets.

Referenced by spell_igb_incinerating_blast::CalculateDamage(), spell_valanar_kinetic_bomb::ChangeSummonPos(), spell_onslaught_or_call_bone_gryphon::ChangeSummonPos(), spell_rotface_unstable_ooze_explosion::CheckTarget(), spell_q13086_last_line_of_defence::HandleAfterCast(), spell_anti_air_rocket_bomber::HandleDummy(), spell_dk_death_grip::HandleDummy(), spell_midsummer_fling_torch::HandleFinish(), spell_midsummer_juggling_torch::HandleFinish(), spell_wintergrasp_rp_gg::HandleFinish(), spell_rimefang_icy_blast::HandleTriggerMissile(), spell_ioc_launch::Launch(), spell_the_lich_king_teleport_to_frostmourne_hc::ModDest(), spell_the_lich_king_summon_into_air::ModDestHeight(), spell_the_lich_king_vile_spirits_visual::ModDestHeight(), spell_halion_summon_exit_portals::OnSummon(), spell_algalon_cosmic_smash_damage::RecalculateDamage(), spell_wg_reduce_damage_by_distance::RecalculateDamage(), spell_icc_soul_missile::RelocateDest(), spell_gen_relocaste_dest::RelocateDest(), spell_valanar_kinetic_bomb_summon::SelectDest(), spell_putricide_slime_puddle_spawn::SelectDest(), and spell_sindragosa_s_fury::SelectDest().

◆ GetExplTargetGObj()

GameObject * SpellScript::GetExplTargetGObj ( )
439{
440 return m_spell->m_targets.GetGOTarget();
441}
GameObject * GetGOTarget() const
Definition: Spell.cpp:264

References SpellCastTargets::GetGOTarget(), m_spell, and Spell::m_targets.

◆ GetExplTargetItem()

Item * SpellScript::GetExplTargetItem ( )
444{
446}
Item * GetItemTarget() const
Definition: Spell.h:141

References SpellCastTargets::GetItemTarget(), m_spell, and Spell::m_targets.

◆ GetExplTargetUnit()

Unit * SpellScript::GetExplTargetUnit ( )
434{
436}
Unit * GetUnitTarget() const
Definition: Spell.cpp:232

References SpellCastTargets::GetUnitTarget(), m_spell, and Spell::m_targets.

Referenced by spell_q12589_shoot_rjr::CheckCast(), spell_q10190_battery_recharging_blaster::CheckCast(), spell_dk_death_coil::CheckCast(), spell_dk_death_grip::CheckCast(), spell_gen_bandage::CheckCast(), spell_hun_tame_beast::CheckCast(), spell_pal_holy_shock::CheckCast(), spell_pal_lay_on_hands::CheckCast(), spell_pal_righteous_defense::CheckCast(), spell_pri_penance::CheckCast(), spell_pri_power_word_shield::CheckCast(), spell_q11065_wrangle_some_aether_rays::CheckCast(), spell_rog_pickpocket::CheckCast(), spell_brewfest_relay_race_force_cast::CheckItem(), spell_ooze_zap::CheckRequirement(), spell_putricide_mutation_init::CheckRequirement(), spell_gen_disabled_above_level::CheckRequirement(), spell_gen_arcane_charge::CheckRequirement(), spell_putricide_mutation_init::CheckRequirementInternal(), spell_blood_queen_vampiric_bite::CheckTarget(), spell_pal_hand_of_sacrifice::CheckTarget(), spell_hun_masters_call::DoCheckCast(), spell_mark_of_the_faceless_drainhealth::FilterTargets(), spell_dru_starfall_aoe::FilterTargets(), spell_dru_t10_restoration_4p_bonus::FilterTargets(), spell_cataclysm_breath::HandleAfterCast(), spell_dk_chains_of_ice::HandleAfterCast(), spell_dk_death_grip::HandleBaseDummy(), spell_dk_pestilence::HandleScriptEffect(), spell_pal_seal_of_vengeance::HandleScriptEffect(), spell_gen_valthalak_amulet::PrepareSpellScript(), spell_gen_yehkinya_bramble::PrepareSpellScript(), spell_item_eye_of_grillok::PrepareSpellScript(), spell_item_gor_dreks_ointment::PrepareSpellScript(), and spell_item_scroll_of_retribution::PrepareSpellScript().

◆ GetExplTargetWorldObject()

WorldObject * SpellScript::GetExplTargetWorldObject ( )
429{
431}
WorldObject * GetObjectTarget() const
Definition: Spell.cpp:311

References SpellCastTargets::GetObjectTarget(), m_spell, and Spell::m_targets.

Referenced by spell_warr_intimidating_shout::FilterTargets().

◆ GetHitAura()

Aura * SpellScript::GetHitAura ( )
555{
556 if (!IsInTargetHook())
557 {
558 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetHitAura was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
559 return nullptr;
560 }
561 if (!m_spell->m_spellAura)
562 return nullptr;
564 return nullptr;
565 return m_spell->m_spellAura;
566}
bool IsRemoved() const
Definition: SpellAuras.h:161
Aura * m_spellAura
Definition: Spell.h:662
bool IsInTargetHook() const
Definition: SpellScript.cpp:378

References IsInTargetHook(), Aura::IsRemoved(), LOG_ERROR, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, m_spell, and Spell::m_spellAura.

Referenced by spell_the_lich_king_necrotic_plague_jump::AddMissingStack(), spell_warl_haunt::HandleAfterHit(), spell_gen_mount::HandleMount(), spell_gen_bonked::HandleScript(), spell_taldaram_ball_of_inferno_flame::ModAuraStack(), and spell_deathbringer_blood_power::ModAuraValue().

◆ GetHitCreature()

Creature * SpellScript::GetHitCreature ( )
459{
460 if (!IsInTargetHook())
461 {
462 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetHitCreature was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
463 return nullptr;
464 }
465 if (m_spell->unitTarget)
466 return m_spell->unitTarget->ToCreature();
467 else
468 return nullptr;
469}
Creature * ToCreature()
Definition: Object.h:205
Unit * unitTarget
Definition: Spell.h:655

References IsInTargetHook(), LOG_ERROR, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, m_spell, Object::ToCreature(), and Spell::unitTarget.

Referenced by spell_the_lich_king_trigger_vile_spirit::ActivateSpirit(), spell_dk_death_grip::EntryCheck(), spell_serpentshrine_cavern_serpentshrine_parasite_trigger::HandleApplyAura(), spell_dk_death_grip::HandleBaseDummy(), spell_q10935_the_exorcism_of_colonel_jules::HandleDummy(), spell_item_lil_xt::HandleDummy(), spell_aggro_drones::HandleDummy(), spell_q12096_q12092_dummy::HandleDummy(), spell_q12096_q12092_bark::HandleDummy(), spell_item_shimmering_vessel::HandleDummy(), spell_item_complete_raptor_capture::HandleDummy(), spell_item_impale_leviroth::HandleDummy(), spell_item_muisek_vessel::HandleDummy(), spell_q10714_on_spirits_wings::HandleDummy(), spell_generic_quest_update_entry_SpellScript::HandleDummy(), spell_q6124_6129_apply_salve::HandleDummy(), spell_q11396_11399_scourging_crystal_controller::HandleDummy(), spell_q11730_ultrasonic_screwdriver::HandleDummy(), spell_q12459_seeds_of_natures_wrath::HandleDummy(), spell_q12937_relief_for_the_fallen::HandleDummy(), spell_symbol_of_life_dummy::HandleDummy(), spell_q12659_ahunaes_knife::HandleDummy(), spell_q9874_liquid_fire::HandleDummy(), spell_q12277_wintergarde_mine_explosion::HandleDummy(), spell_q12066_bunny_kill_credit::HandleDummy(), spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy::HandleDummy(), spell_q12641_death_comes_from_on_high::HandleDummy(), spell_algalon_trigger_3_adds::HandleDummyEffect(), spell_halion_twilight_mending::HandleHealPct(), spell_q12726_song_of_wind_and_water::HandleHealPct(), spell_item_toxic_wasteling::HandleJump(), spell_q12690_burst_at_the_seams::HandleKnockBack(), spell_the_lich_king_jump::HandleScript(), spell_svalna_remove_spear::HandleScript(), spell_putricide_eat_ooze::HandleScript(), spell_rotface_little_ooze_combine::HandleScript(), spell_rotface_large_ooze_combine::HandleScript(), spell_rotface_large_ooze_buff_combine::HandleScript(), spell_ahune_minion_despawner::HandleScript(), spell_q12805_lifeblood_dummy::HandleScript(), spell_q12919_gymers_grab::HandleScript(), spell_illidan_parasitic_shadowfiend_trigger::HandleScriptEffect(), spell_illidan_cage_trap::HandleScriptEffect(), spell_item_sleepy_willy::HandleScriptEffect(), spell_item_lil_xt::HandleScriptEffect(), spell_death_knight_initiate_visual::HandleScriptEffect(), spell_winter_veil_racer_slam_hit::HandleScriptEffect(), spell_warl_demonic_empowerment::HandleScriptEffect(), and spell_valanar_kinetic_bomb_knockback::KnockIntoAir().

◆ GetHitDamage()

int32 SpellScript::GetHitDamage ( )
515{
516 if (!IsInTargetHook())
517 {
518 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetHitDamage was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
519 return 0;
520 }
521 return m_spell->m_damage;
522}
int32 m_damage
Definition: Spell.h:672

References IsInTargetHook(), LOG_ERROR, Spell::m_damage, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, and m_spell.

Referenced by spell_blood_council_shadow_prison_damage::AddExtraDamage(), spell_oculus_shock_lance::CalcDamage(), spell_krystallus_shatter_effect::CalculateDamage(), spell_gruul_shatter_effect::CalculateDamage(), spell_item_wraith_scythe_drain_life::CalculateDamage(), spell_loken_pulsing_shockwave::CalculateDamage(), spell_the_lich_king_defile::ChangeDamageAndGrow(), spell_gen_leeching_swarm_dmg::HandleAfterHit(), spell_saronite_vapors_damage::HandleAfterHit(), spell_dk_scourge_strike::HandleAfterHit(), spell_warl_haunt::HandleAfterHit(), spell_pri_shadow_word_death::HandleDamage(), spell_electrical_storm_proc::HandleDamageCalc(), spell_sha_lava_lash::HandleDummy(), spell_voa_lightning_nova::HandleOnHit(), spell_xt002_gravity_bomb_damage::HandleScript(), spell_pal_seal_of_vengeance::HandleScriptEffect(), spell_bronjahm_magic_bane::RecalculateDamage(), spell_marrowgar_bone_storm::RecalculateDamage(), spell_algalon_cosmic_smash_damage::RecalculateDamage(), spell_xt002_tympanic_tantrum::RecalculateDamage(), spell_wg_reduce_damage_by_distance::RecalculateDamage(), spell_pet_gen_valkyr_guardian_smite::RecalculateDamage(), spell_dk_death_and_decay::RecalculateDamage(), spell_gen_reduced_above_60::RecalculateDamage(), spell_gen_count_pct_from_max_hp::RecalculateDamage(), spell_marrowgar_bone_slice::SplitDamage(), spell_the_lich_king_life_siphon::TriggerHeal(), and spell_pal_divine_storm::TriggerHeal().

◆ GetHitDest()

◆ GetHitGObj()

◆ GetHitHeal()

int32 SpellScript::GetHitHeal ( )
535{
536 if (!IsInTargetHook())
537 {
538 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetHitHeal was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
539 return 0;
540 }
541 return m_spell->m_healing;
542}
int32 m_healing
Definition: Spell.h:673

References IsInTargetHook(), LOG_ERROR, Spell::m_healing, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, and m_spell.

Referenced by spell_item_healing_injector::HandleHeal(), spell_sha_chain_heal::HandleHeal(), and spell_illidari_council_circle_of_healing::HandleSharedRule().

◆ GetHitItem()

Item * SpellScript::GetHitItem ( )
485{
486 if (!IsInTargetHook())
487 {
488 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetHitItem was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
489 return nullptr;
490 }
491 return m_spell->itemTarget;
492}
Item * itemTarget
Definition: Spell.h:656

References IsInTargetHook(), Spell::itemTarget, LOG_ERROR, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, and m_spell.

Referenced by spell_q1846_bending_shinbone::HandleScriptEffect().

◆ GetHitPlayer()

Player * SpellScript::GetHitPlayer ( )
472{
473 if (!IsInTargetHook())
474 {
475 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetHitPlayer was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
476 return nullptr;
477 }
478 if (m_spell->unitTarget)
479 return m_spell->unitTarget->ToPlayer();
480 else
481 return nullptr;
482}
Player * ToPlayer()
Definition: Object.h:201

References IsInTargetHook(), LOG_ERROR, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, m_spell, Object::ToPlayer(), and Spell::unitTarget.

Referenced by spell_dk_raise_ally::CheckCast(), spell_eredar_twins_apply_touch::HandleApplyTouch(), spell_lich_king_whisper::HandleDummy(), spell_hallows_end_candy::HandleDummy(), spell_hallows_end_bucket_lands::HandleDummy(), spell_midsummer_torch_catch::HandleDummy(), spell_warhead_detonate::HandleDummy(), spell_dk_raise_ally::HandleDummy(), spell_q11010_q11102_q11023_aggro_check::HandleDummy(), spell_yogg_saron_insane_periodic_trigger::HandleDummyEffect(), spell_kaelthas_mind_control::HandleEffect(), spell_oscillating_field::HandleEffect(), spell_warr_overpower::HandleEffect(), spell_sindragosa_frost_breath::HandleInfusion(), spell_ulduar_squeezed_lifeless::HandleInstaKill(), spell_gen_mount::HandleMount(), spell_gen_mine_sweeper::HandleSchoolDMG(), spell_midsummer_fling_torch::HandleScript(), spell_the_lich_king_play_movie::HandleScript(), spell_wintergrasp_portal::HandleScript(), spell_gen_create_lance::HandleScript(), spell_gen_upper_deck_create_foam_sword::HandleScript(), spell_item_piccolo_of_the_flaming_fire::HandleScript(), spell_q10041_q10040_who_are_they::HandleScript(), spell_warr_vigilance_trigger::HandleScript(), spell_lich_king_whisper::HandleScript(), spell_hallows_end_trick::HandleScript(), spell_hallows_end_put_costume::HandleScript(), spell_hallows_end_trick_or_treat::HandleScript(), spell_hallows_end_tricky_treat::HandleScript(), spell_winter_veil_mistletoe::HandleScript(), spell_ioc_launch::HandleScript(), spell_frog_kiss::HandleScript(), spell_gen_5000_gold::HandleScript(), spell_the_flag_of_ownership::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_gen_bonked::HandleScript(), spell_gen_spirit_of_competition_participant::HandleScript(), spell_gen_spirit_of_competition_winner::HandleScript(), spell_gen_jubling_cooldown::HandleScript(), spell_q13011_bear_flank_master::HandleScript(), spell_kiljaeden_power_of_the_blue_flight::HandleScriptEffect(), spell_yogg_saron_sanity_reduce::HandleScriptEffect(), spell_lady_vashj_remove_tainted_cores::HandleScriptEffect(), spell_kaelthas_gravity_lapse::HandleScriptEffect(), spell_razelikh_teleport_group::HandleScriptEffect(), spell_blood_siphon::HandleScriptEffect(), spell_pilgrims_bounty_turkey_tracker::HandleScriptEffect(), spell_winter_wondervolt_trap::HandleScriptEffect(), spell_volazj_whisper::HandleScriptEffect(), spell_gen_mine_sweeper::HandleScriptEffect(), spell_gen_tournament_duel::HandleScriptEffect(), spell_ioc_launch::Launch(), spell_item_branns_communicator::PrepareSpellScript(), and spell_algalon_supermassive_fail::RecalculateDamage().

◆ GetHitUnit()

Unit * SpellScript::GetHitUnit ( )
449{
450 if (!IsInTargetHook())
451 {
452 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::GetHitUnit was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
453 return nullptr;
454 }
455 return m_spell->unitTarget;
456}

References IsInTargetHook(), LOG_ERROR, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, m_spell, and Spell::unitTarget.

Referenced by spell_blood_council_shadow_prison_damage::AddExtraDamage(), spell_the_lich_king_necrotic_plague_jump::AddMissingStack(), spell_sha_bloodlust::ApplyDebuff(), spell_sha_heroism::ApplyDebuff(), spell_oculus_shock_lance::CalcDamage(), spell_krystallus_shatter_effect::CalculateDamage(), spell_gruul_shatter_effect::CalculateDamage(), spell_item_wraith_scythe_drain_life::CalculateDamage(), spell_loken_pulsing_shockwave::CalculateDamage(), spell_the_lich_king_necrotic_plague_jump::CheckAura(), spell_baltharus_enervating_brand_trigger::CheckDistance(), spell_gen_eject_passenger::EjectPassenger(), spell_saronite_vapors_damage::HandleAfterHit(), spell_dk_blood_boil::HandleAfterHit(), spell_pri_mana_burn::HandleAfterHit(), spell_rog_deadly_poison::HandleAfterHit(), spell_azjol_nerub_pound::HandleApplyAura(), spell_galdarah_impaling_charge::HandleApplyAura(), spell_warr_intervene::HandleApplyAura(), spell_warl_banish::HandleBanish(), spell_dk_death_grip::HandleBaseDummy(), spell_brewfest_toss_mug::HandleBeforeHit(), spell_rog_deadly_poison::HandleBeforeHit(), spell_rotface_unstable_ooze_explosion_init::HandleCast(), spell_gen_mounted_charge::HandleChargeEffect(), spell_dk_corpse_explosion::HandleCorpseExplosion(), spell_warr_bloodthirst::HandleDamage(), spell_thaddius_pos_neg_charge::HandleDamage(), spell_capacitus_polarity_charge::HandleDamage(), spell_rajaxx_thundercrash::HandleDamageCalc(), spell_moroes_vanish::HandleDummy(), spell_karazhan_blink::HandleDummy(), spell_kalecgos_spectral_blast_dummy::HandleDummy(), spell_ooze_zap::HandleDummy(), spell_ooze_zap_channel_end::HandleDummy(), spell_saviana_conflagration_init::HandleDummy(), spell_igb_burning_pitch_selector::HandleDummy(), spell_igb_burning_pitch::HandleDummy(), spell_sindragosa_s_fury::HandleDummy(), spell_illidan_glaive_throw::HandleDummy(), spell_illidan_found_target::HandleDummy(), spell_illidari_council_empyreal_balance::HandleDummy(), spell_illidari_council_empyreal_equivalency::HandleDummy(), spell_leotheras_chaos_blast::HandleDummy(), spell_morogrim_tidewalker_watery_grave::HandleDummy(), spell_morogrim_tidewalker_water_globule_new_target::HandleDummy(), spell_gen_hate_to_zero::HandleDummy(), spell_gen_focused_bursts::HandleDummy(), spell_item_powerful_anti_venom::HandleDummy(), spell_item_strong_anti_venom::HandleDummy(), spell_item_anti_venom::HandleDummy(), spell_mage_burnout_trigger::HandleDummy(), spell_sha_healing_stream_totem::HandleDummy(), spell_magmadar_lava_bomb::HandleDummy(), spell_send_mug_target_picker::HandleDummy(), spell_hallows_end_bucket_lands::HandleDummy(), spell_pilgrims_bounty_pass_generic::HandleDummy(), spell_mana_burn_area::HandleDummy(), spell_voljin_war_drums::HandleDummy(), spell_voodoo::HandleDummy(), spell_sartharion_lava_strike::HandleDummy(), spell_halion_meteor_strike_targeting::HandleDummy(), spell_pos_slave_trigger_closest::HandleDummy(), spell_pos_rimefang_frost_nova::HandleDummy(), spell_drakkari_colossus_surge::HandleDummy(), spell_deathbringer_blood_link::HandleDummy(), spell_putricide_ooze_eruption_searcher::HandleDummy(), spell_thaddius_polarity_shift::HandleDummy(), spell_voa_flaming_cinder::HandleDummy(), spell_q12589_shoot_rjr::HandleDummy(), spell_najentus_needle_spine::HandleDummy(), spell_ice_spear_target_picker::HandleDummy(), spell_capacitus_polarity_shift::HandleDummy(), spell_dk_death_coil::HandleDummy(), spell_dk_death_grip::HandleDummy(), spell_dk_death_strike::HandleDummy(), spell_dk_scourge_strike::HandleDummy(), spell_dru_starfall_dummy::HandleDummy(), spell_gen_dummy_trigger::HandleDummy(), spell_gen_spirit_healer_res::HandleDummy(), spell_hun_masters_call::HandleDummy(), spell_item_gnomish_universal_remote::HandleDummy(), spell_item_gnomish_shrink_ray::HandleDummy(), spell_item_net_o_matic::HandleDummy(), spell_item_six_demon_bag::HandleDummy(), spell_item_poultryizer::HandleDummy(), spell_item_chicken_cover::HandleDummy(), spell_item_greatmothers_soulcatcher::HandleDummy(), spell_item_skyguard_blasting_charges::HandleDummy(), spell_pal_blessing_of_faith::HandleDummy(), spell_pal_divine_storm_dummy::HandleDummy(), spell_pal_holy_shock::HandleDummy(), spell_pal_judgement_of_command::HandleDummy(), spell_pri_penance::HandleDummy(), spell_q11396_11399_scourging_crystal_controller_dummy::HandleDummy(), spell_q11587_arcane_prisoner_rescue::HandleDummy(), spell_rog_killing_spree::HandleDummy(), spell_rog_shiv::HandleDummy(), spell_sha_ancestral_awakening_proc::HandleDummy(), spell_sha_cleansing_totem_pulse::HandleDummy(), spell_sha_mana_spring_totem::HandleDummy(), spell_sha_mana_tide_totem::HandleDummy(), spell_warl_soulshatter::HandleDummy(), spell_warl_life_tap::HandleDummy(), spell_warr_deep_wounds::HandleDummy(), spell_warr_slam::HandleDummy(), spell_yogg_saron_destabilization_matrix::HandleDummyEffect(), spell_yogg_saron_titanic_storm::HandleDummyEffect(), spell_brewfest_apple_trap::HandleDummyEffect(), spell_brewfest_add_mug::HandleDummyEffect(), spell_svala_ritual_strike::HandleDummyEffect(), spell_talon_king_ikiss_blink::HandleDummyHitTarget(), spell_egg_explosion::HandleDummyHitTarget(), spell_warr_execute::HandleEffect(), spell_mark_of_nature::HandleEffect(), spell_axe_flurry::HandleEffect(), spell_target_fissures::HandleEffect(), spell_dream_fog_sleep::HandleEffect(), spell_bwl_shadowflame::HandleEffectScriptEffect(), spell_pri_pain_and_suffering_proc::HandleEffectScriptEffect(), spell_halion_blazing_aura::HandleForceCast(), spell_dreamwalker_summoner::HandleForceCast(), spell_dreamwalker_summon_suppresser_effect::HandleForceCast(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_sha_chain_heal::HandleHeal(), spell_lady_vashj_summons::HandleHit(), spell_magtheridon_debris_target_selector::HandleHit(), spell_garr_frenzy::HandleHit(), spell_red_sky_effect::HandleHit(), spell_obsidian_sanctum_flame_tsunami::HandleHit(), spell_item_massive_seaforium_charge::HandleItemRemove(), spell_chapter5_rebuke::HandleLeapBack(), spell_random_aggro::HandleOnHit(), spell_enveloping_webs::HandleOnHit(), spell_arcane_vacuum::HandleOnHit(), spell_mark_of_frost_freeze::HandleOnHit(), spell_mutate_explode_bug::HandleOnHit(), spell_summon_toxin_slime::HandleOnHit(), spell_voa_lightning_nova::HandleOnHit(), spell_shockwave_knockback::HandleOnHit(), spell_teron_gorefiend_shadow_of_death_remove::HandleOnHit(), spell_blade_dance_targeting::HandleOnHit(), spell_warr_mocking_blow::HandleOnHit(), spell_class_call_handler::HandleOnHitRogue(), spell_class_call_handler::HandleOnHitWarlock(), spell_blood_queen_vampiric_bite::HandlePresence(), spell_item_magic_dust::HandlePreventAura(), spell_entropius_black_hole_effect::HandlePull(), spell_boss_magus_telestra_gravity_well::HandlePull(), spell_icc_harvest_blight_specimen::HandleQuestComplete(), spell_dk_raise_dead::HandleRaiseDead(), spell_kiljaeden_flame_dart::HandleSchoolDamage(), spell_sartharion_lava_strike::HandleSchoolDamage(), spell_najentus_hurl_spine::HandleSchoolDamage(), spell_warl_shadowflame::HandleSchoolDMG(), spell_gen_bandage::HandleScript(), spell_pal_lay_on_hands::HandleScript(), spell_eredar_twins_blaze::HandleScript(), spell_item_create_heart_candy::HandleScript(), spell_saviana_conflagration_throwback::HandleScript(), spell_blood_queen_bloodbolt::HandleScript(), spell_blood_queen_presence_of_the_darkfallen::HandleScript(), spell_igb_rocket_artillery::HandleScript(), spell_putricide_clear_aura_effect_value::HandleScript(), spell_sindragosa_icy_grip::HandleScript(), spell_frostwarden_handler_focus_fire::HandleScript(), spell_the_lich_king_jump::HandleScript(), spell_the_lich_king_jump_remove_aura::HandleScript(), spell_the_lich_king_raging_spirit::HandleScript(), spell_the_lich_king_valkyr_target_search::HandleScript(), spell_the_lich_king_vile_spirit_move_target_search::HandleScript(), spell_the_lich_king_summon_spirit_bomb::HandleScript(), spell_dreamwalker_summon_portal::HandleScript(), spell_dreamwalker_twisted_nightmares::HandleScript(), spell_icc_harvest_blight_specimen::HandleScript(), spell_archavon_rock_shards::HandleScript(), spell_q24545_aod_special::HandleScript(), spell_wintergrasp_force_building::HandleScript(), spell_dk_death_gate::HandleScript(), spell_gen_netherbloom::HandleScript(), spell_gen_nightmare_vine::HandleScript(), spell_warr_shattering_throw::HandleScript(), spell_shazzrah_gate_dummy::HandleScript(), spell_apothecary_lingering_fumes::HandleScript(), spell_apothecary_validate_area::HandleScript(), spell_apothecary_throw_cologne::HandleScript(), spell_apothecary_throw_perfume::HandleScript(), spell_blight_worm_ingest::HandleScript(), spell_moam_mana_drain_filter::HandleScript(), spell_drain_mana::HandleScript(), spell_mistress_kiss_area::HandleScript(), spell_tharon_ja_clear_gift_of_tharon_ja::HandleScript(), spell_festergut_gastric_bloat::HandleScript(), spell_putricide_slime_puddle::HandleScript(), spell_putricide_unbound_plague::HandleScript(), spell_the_lich_king_cast_back_to_caster::HandleScript(), spell_frost_giant_death_plague::HandleScript(), spell_stinky_precious_decimate::HandleScript(), spell_krystallus_shatter::HandleScript(), spell_ignis_grab_initial::HandleScript(), spell_xt002_gravity_bomb_damage::HandleScript(), spell_yogg_saron_target_selectors::HandleScript(), spell_q12237_rescue_villager::HandleScript(), spell_shango_tracks::HandleScript(), spell_ahune_synch_health::HandleScript(), spell_despawn_underbog_mushrooms::HandleScript(), spell_the_black_stalker_levitate::HandleScript(), spell_the_black_stalker_someone_grab_me::HandleScript(), spell_the_black_stalker_magnetic_pull::HandleScript(), spell_gen_clear_debuffs::HandleScript(), spell_gen_remove_flight_auras::HandleScript(), spell_gen_elune_candle::HandleScript(), spell_gen_teleporting::HandleScript(), spell_gen_ds_flush_knockback::HandleScript(), spell_gen_set_health::HandleScript(), spell_item_brittle_armor::HandleScript(), spell_item_mercurial_shield::HandleScript(), spell_item_eggnog::HandleScript(), spell_item_worn_troll_dice::HandleScript(), spell_q12274_a_fall_from_grace_costume::HandleScript(), spell_q10651_q10692_book_of_fel_names::HandleScript(), spell_q12641_death_comes_from_on_high_summon_ghouls::HandleScriptEffect(), spell_brutallus_burn::HandleScriptEffect(), spell_felmyst_fog_of_corruption::HandleScriptEffect(), spell_kiljaeden_sinister_reflection::HandleScriptEffect(), spell_batrider_bomb::HandleScriptEffect(), spell_vem_knockback::HandleScriptEffect(), spell_azjol_nerub_fixate::HandleScriptEffect(), spell_yogg_saron_empowering_shadows::HandleScriptEffect(), spell_gurtogg_eject::HandleScriptEffect(), spell_illidan_draw_soul::HandleScriptEffect(), spell_illidan_flame_burst::HandleScriptEffect(), spell_black_template_free_friend::HandleScriptEffect(), spell_black_temple_bloodbolt::HandleScriptEffect(), spell_lady_vashj_spore_drop_effect::HandleScriptEffect(), spell_leotheras_clear_consuming_madness::HandleScriptEffect(), spell_tsh_shoot_flame_arrow::HandleScriptEffect(), spell_gen_fixate::HandleScriptEffect(), spell_gen_knock_away::HandleScriptEffect(), spell_gen_throw_back::HandleScriptEffect(), spell_gen_clone::HandleScriptEffect(), spell_gen_clone_weapon::HandleScriptEffect(), spell_gen_break_shield::HandleScriptEffect(), spell_gen_mounted_charge::HandleScriptEffect(), spell_gen_throw_shield::HandleScriptEffect(), spell_warl_create_healthstone::HandleScriptEffect(), spell_q12698_the_gift_that_keeps_on_giving::HandleScriptEffect(), spell_q12779_an_end_to_all_things::HandleScriptEffect(), spell_brewfest_toss_mug::HandleScriptEffect(), spell_direbrew_summon_mole_machine_target_picker::HandleScriptEffect(), spell_request_second_mug::HandleScriptEffect(), spell_pilgrims_bounty_food::HandleScriptEffect(), spell_winter_veil_shoot_air_rifle::HandleScriptEffect(), spell_halion_clear_debuffs::HandleScriptEffect(), spell_novos_despawn_crystal_handler::HandleScriptEffect(), spell_trollgore_consume::HandleScriptEffect(), spell_trollgore_invader_taunt::HandleScriptEffect(), spell_drakkari_colossus_face_me::HandleScriptEffect(), spell_galdarah_transform::HandleScriptEffect(), spell_marrowgar_coldflame::HandleScriptEffect(), spell_gluth_decimate::HandleScriptEffect(), spell_arcane_chains_character_force_cast::HandleScriptEffect(), spell_q12611_deathbolt::HandleScriptEffect(), spell_q12823_remove_collapsing_cave_aura::HandleScriptEffect(), spell_illidari_council_judgement::HandleScriptEffect(), spell_slippery_floor_periodic::HandleScriptEffect(), spell_gruul_ground_slam::HandleScriptEffect(), spell_gruul_shatter::HandleScriptEffect(), spell_vazruden_fireball::HandleScriptEffect(), spell_vazruden_call_nazan::HandleScriptEffect(), spell_magtheridon_blaze::HandleScriptEffect(), spell_kaelthas_remove_enchanted_weapons::HandleScriptEffect(), spell_dk_pestilence::HandleScriptEffect(), spell_dru_glyph_of_starfire::HandleScriptEffect(), spell_gen_tournament_duel::HandleScriptEffect(), spell_gen_remove_impairing_auras::HandleScriptEffect(), spell_hun_chimera_shot::HandleScriptEffect(), spell_hun_invigoration::HandleScriptEffect(), spell_hun_masters_call::HandleScriptEffect(), spell_item_goblin_weather_machine::HandleScriptEffect(), spell_pal_judgement::HandleScriptEffect(), spell_pri_lightwell::HandleScriptEffect(), spell_q11026_a11051_banish_the_demons::HandleScriptEffect(), spell_q10720_the_smallest_creature::HandleScriptEffect(), spell_q10769_dissension_amongst_the_ranks::HandleScriptEffect(), spell_warl_everlasting_affliction::HandleScriptEffect(), spell_illidari_council_circle_of_healing::HandleSharedRule(), spell_sindragosa_icy_grip_jump::HandleSpecial(), spell_mother_shahraz_fatal_attraction::HandleTeleportUnits(), spell_trigger_spell_from_caster::HandleTrigger(), spell_pal_righteous_defense::HandleTriggerSpellHit(), spell_gahzranka_slam::HandleWipeThreat(), spell_threatening_gaze_charge::LaunchHit(), spell_mandokir_charge::LaunchHit(), spell_rotface_mutated_infection::NotifyTargets(), spell_blood_queen_vampiric_bite::OnCast(), spell_item_linken_boomerang::OnEffectLaunchTargetDisarm(), spell_item_linken_boomerang::OnEffectLaunchTargetStun(), spell_dru_tiger_s_fury::OnHit(), spell_black_temple_l5_arcane_charge::PrepareSpellScript(), spell_item_direbrew_remote::PrepareSpellScript(), spell_item_mind_amplify_dish::PrepareSpellScript(), spell_item_runescroll_of_fortitude::PrepareSpellScript(), spell_item_toy_train_set::PrepareSpellScript(), spell_q11198_take_down_tethyr::PrepareSpellScript(), spell_q11653_youre_not_so_big_now::PrepareSpellScript(), spell_bronjahm_magic_bane::RecalculateDamage(), spell_marrowgar_bone_storm::RecalculateDamage(), spell_algalon_cosmic_smash_damage::RecalculateDamage(), spell_xt002_tympanic_tantrum::RecalculateDamage(), spell_wg_reduce_damage_by_distance::RecalculateDamage(), spell_murmur_sonic_boom_effect::RecalculateDamage(), spell_pet_gen_valkyr_guardian_smite::RecalculateDamage(), spell_dk_death_and_decay::RecalculateDamage(), spell_gen_reduced_above_60::RecalculateDamage(), spell_gen_count_pct_from_max_hp::RecalculateDamage(), spell_igb_teleport_to_enemy_ship::RelocateTransportOffset(), spell_igb_below_zero::RemovePassengers(), spell_gen_eject_all_passengers::RemoveVehicleAuras(), spell_warr_slam::SendMiss(), spell_warr_execute::SendMiss(), spell_putricide_ooze_channel::StartAttack(), spell_dk_ghoul_explode::Suicide(), spell_igb_check_for_players::TeleportPlayer(), spell_the_lich_king_life_siphon::TriggerHeal(), spell_pal_divine_storm::TriggerHeal(), and spell_warr_victory_rush::VictoryRushHit().

◆ GetOriginalCaster()

◆ GetSpell()

◆ GetSpellInfo()

SpellInfo const * SpellScript::GetSpellInfo ( )
412{
413 return m_spell->GetSpellInfo();
414}
SpellInfo const * GetSpellInfo() const
Definition: Spell.h:579

References Spell::GetSpellInfo(), and m_spell.

Referenced by spell_blood_council_shadow_prison_damage::AddExtraDamage(), spell_krystallus_shatter_effect::CalculateDamage(), spell_gruul_shatter_effect::CalculateDamage(), spell_igb_incinerating_blast::CalculateDamage(), spell_igb_cannon_blast::CalculatePower(), spell_the_lich_king_necrotic_plague_jump::CheckAura(), spell_eredar_twins_handle_touch::CheckCast(), spell_q12237_rescue_villager::CheckCast(), spell_q12237_drop_off_villager::CheckCast(), spell_mage_ice_barrier::CheckCast(), spell_pri_power_word_shield::CheckCast(), spell_rog_pickpocket::CheckCast(), spell_sha_spirit_walk::CheckCast(), spell_warl_create_healthstone::CheckCast(), spell_warl_life_tap::CheckCast(), spell_sha_fire_nova::CheckFireTotem(), spell_gen_cannibalize::CheckIfCorpseNear(), spell_hun_pet_carrion_feeder::CheckIfCorpseNear(), spell_brewfest_relay_race_force_cast::CheckItem(), spell_ooze_zap::CheckRequirement(), spell_putricide_mutation_init::CheckRequirement(), spell_gen_profession_research::CheckRequirement(), spell_item_book_of_glyph_mastery::CheckRequirement(), spell_q11670_it_was_the_orcs_honest::CheckTarget(), spell_rotface_unstable_ooze_explosion::CheckTarget(), spell_marrowgar_bone_slice::CountTargets(), spell_class_call_handler::FilterTargets(), spell_huhuran_poison_bolt::FilterTargets(), spell_energize_aoe::FilterTargets(), spell_blood_queen_swarming_shadows_floor_dmg::FilterTargets(), spell_deathbringer_boiling_blood::FilterTargets(), spell_rotface_mutated_infection::FilterTargets(), spell_q24545_aod_special::FilterTargets(), spell_lady_vashj_summons::FilterTargets(), spell_pal_glyph_of_holy_light::FilterTargets(), spell_sindragosa_ice_tomb_trap::FilterTargets(), spell_ulduar_stone_grip_cast_target::FilterTargetsInitial(), spell_dk_raise_dead::GetGhoulSpellId(), spell_warl_banish::HandleBanish(), spell_gen_charmed_unit_spell_cooldown::HandleCast(), spell_gen_mounted_charge::HandleChargeEffect(), spell_warr_bloodthirst::HandleDamage(), spell_dk_corpse_explosion::HandleDamage(), spell_dk_ghoul_explode::HandleDamage(), spell_gordunni_trap::HandleDummy(), spell_sindragosa_s_fury::HandleDummy(), spell_switch_infragreen_bomber_station::HandleDummy(), spell_anti_air_rocket_bomber::HandleDummy(), spell_q13007_iron_colossus::HandleDummy(), spell_gen_focused_bursts::HandleDummy(), spell_gen_oracle_wolvar_reputation::HandleDummy(), spell_gen_despawn_self::HandleDummy(), spell_q13086_last_line_of_defence::HandleDummy(), spell_pilgrims_bounty_pass_generic::HandleDummy(), spell_pilgrims_bounty_feast_on_generic::HandleDummy(), spell_dk_death_strike::HandleDummy(), spell_gen_threshalisk_charge::HandleDummy(), spell_item_brewfest_mount_transformation::HandleDummy(), spell_pal_holy_shock::HandleDummy(), spell_pri_penance::HandleDummy(), spell_q12683_take_sputum_sample::HandleDummy(), spell_sha_fire_nova::HandleDummy(), spell_warr_deep_wounds::HandleDummy(), spell_warr_execute::HandleEffect(), spell_icc_sprit_alarm::HandleEvent(), spell_midsummer_fling_torch::HandleFinish(), spell_the_flag_of_ownership::HandleFinish(), spell_halion_blazing_aura::HandleForceCast(), spell_dreamwalker_summoner::HandleForceCast(), spell_dreamwalker_summon_suppresser_effect::HandleForceCast(), spell_ioc_bomb_blast_criteria::HandleGameObjectDamage(), spell_lady_vashj_summons::HandleHit(), spell_hatch_eggs::HandleObjectAreaTargetSelect(), spell_warr_mocking_blow::HandleOnHit(), spell_entropius_black_hole_effect::HandlePull(), spell_boss_magus_telestra_gravity_well::HandlePull(), spell_dk_raise_dead::HandleRaiseDead(), spell_warl_shadowflame::HandleSchoolDMG(), spell_pvp_trinket_wotf_shared_cd::HandleScript(), spell_pal_lay_on_hands::HandleScript(), spell_blood_queen_presence_of_the_darkfallen::HandleScript(), spell_putricide_unstable_experiment::HandleScript(), spell_dreamwalker_summon_portal::HandleScript(), spell_dreamwalker_twisted_nightmares::HandleScript(), spell_q24545_aod_special::HandleScript(), spell_item_scroll_of_recall::HandleScript(), spell_festergut_gastric_bloat::HandleScript(), spell_putricide_choking_gas_bomb::HandleScript(), spell_shango_tracks::HandleScript(), spell_gen_profession_research::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_gen_set_health::HandleScript(), spell_item_book_of_glyph_mastery::HandleScript(), spell_q11670_it_was_the_orcs_honest::HandleScriptEffect(), spell_yogg_saron_sanity_reduce::HandleScriptEffect(), spell_gen_break_shield::HandleScriptEffect(), spell_gen_mounted_charge::HandleScriptEffect(), spell_item_feast::HandleScriptEffect(), spell_warl_create_healthstone::HandleScriptEffect(), spell_winter_veil_shoot_air_rifle::HandleScriptEffect(), spell_volazj_whisper::HandleScriptEffect(), spell_halion_clear_debuffs::HandleScriptEffect(), spell_gen_mine_sweeper::HandleScriptEffect(), spell_sindragosa_icy_grip_jump::HandleSpecial(), spell_halion_damage_aoe_summon::HandleSummon(), spell_putricide_mutated_transformation::HandleSummon(), spell_wintergrasp_create_vehicle::HandleSummon(), spell_item_summon_or_dismiss::HandleSummon(), spell_item_draenic_pale_ale::HandleSummon(), spell_capacitus_polarity_charge::HandleTargets(), spell_thaddius_pos_neg_charge::HandleTargets(), spell_mage_arcane_blast::HandleTriggerSpell(), spell_threatening_gaze_charge::LaunchHit(), spell_taldaram_summon_flame_ball::Load(), spell_pal_divine_storm::Load(), spell_taldaram_ball_of_inferno_flame::ModAuraStack(), spell_gen_random_target32::ModDest(), spell_q12308_escape_from_silverbrook_summon_worgen::ModDest(), spell_the_lich_king_summon_into_air::ModDestHeight(), spell_halion_summon_exit_portals::OnSummon(), spell_black_temple_l5_arcane_charge::PrepareSpellScript(), spell_gen_use_spell_base_level_check::PrepareSpellScript(), spell_item_mind_amplify_dish::PrepareSpellScript(), spell_algalon_supermassive_fail::RecalculateDamage(), spell_wg_reduce_damage_by_distance::RecalculateDamage(), spell_dk_death_and_decay::RecalculateDamage(), spell_the_lich_king_valkyr_target_search::SelectTarget(), and spell_midsummer_fling_torch::ThrowNextTorch().

◆ GetSpellValue()

◆ GetTriggeringSpell()

◆ IsInCheckCastHook()

bool SpellScript::IsInCheckCastHook ( ) const
375{
377}
@ SPELL_SCRIPT_HOOK_CHECK_CAST
Definition: SpellScript.h:169

References _SpellScript::m_currentScriptState, and SPELL_SCRIPT_HOOK_CHECK_CAST.

Referenced by SetCustomCastResultMessage().

◆ IsInEffectHook()

bool SpellScript::IsInEffectHook ( ) const

◆ IsInHitPhase()

bool SpellScript::IsInHitPhase ( ) const
392{
394}
#define HOOK_SPELL_HIT_START
Definition: SpellScript.h:175
#define HOOK_SPELL_HIT_END
Definition: SpellScript.h:176

References HOOK_SPELL_HIT_END, HOOK_SPELL_HIT_START, and _SpellScript::m_currentScriptState.

Referenced by PreventHitDefaultEffect(), and PreventHitEffect().

◆ IsInTargetHook()

bool SpellScript::IsInTargetHook ( ) const
379{
380 switch (m_currentScriptState)
381 {
387 return true;
388 }
389 return false;
390}
@ SPELL_SCRIPT_HOOK_AFTER_HIT
Definition: SpellScript.h:165
@ SPELL_SCRIPT_HOOK_BEFORE_HIT
Definition: SpellScript.h:163
@ SPELL_SCRIPT_HOOK_EFFECT_LAUNCH_TARGET
Definition: SpellScript.h:160
@ SPELL_SCRIPT_HOOK_HIT
Definition: SpellScript.h:164

References _SpellScript::m_currentScriptState, SPELL_SCRIPT_HOOK_AFTER_HIT, SPELL_SCRIPT_HOOK_BEFORE_HIT, SPELL_SCRIPT_HOOK_EFFECT_HIT_TARGET, SPELL_SCRIPT_HOOK_EFFECT_LAUNCH_TARGET, and SPELL_SCRIPT_HOOK_HIT.

Referenced by GetHitAura(), GetHitCreature(), GetHitDamage(), GetHitGObj(), GetHitHeal(), GetHitItem(), GetHitPlayer(), GetHitUnit(), PreventHitAura(), SetHitDamage(), and SetHitHeal().

◆ PreventHitAura()

void SpellScript::PreventHitAura ( )
569{
570 if (!IsInTargetHook())
571 {
572 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::PreventHitAura was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
573 return;
574 }
575 if (m_spell->m_spellAura)
577}
virtual void Remove(AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)=0

References IsInTargetHook(), LOG_ERROR, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, m_spell, Spell::m_spellAura, and Aura::Remove().

Referenced by spell_gen_mount::HandleMount(), and spell_item_magic_dust::HandlePreventAura().

◆ PreventHitDamage()

void SpellScript::PreventHitDamage ( )
inline
436{ SetHitDamage(0); }
void SetHitDamage(int32 damage)
Definition: SpellScript.cpp:524

References SetHitDamage().

Referenced by spell_red_sky_effect::HandleHit().

◆ PreventHitDefaultEffect()

void SpellScript::PreventHitDefaultEffect ( SpellEffIndex  effIndex)
591{
592 if (!IsInHitPhase() && !IsInEffectHook())
593 {
594 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::PreventHitDefaultEffect was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
595 return;
596 }
597 m_hitPreventDefaultEffectMask |= 1 << effIndex;
598}
bool IsInHitPhase() const
Definition: SpellScript.cpp:391

References IsInEffectHook(), IsInHitPhase(), LOG_ERROR, m_hitPreventDefaultEffectMask, _SpellScript::m_scriptName, and _SpellScript::m_scriptSpellId.

Referenced by spell_rotface_unstable_ooze_explosion::CheckTarget(), spell_hodir_shatter_chest::DestroyWinterCache(), spell_madrigosa_activate_barrier::HandleActivateObject(), spell_madrigosa_deactivate_barrier::HandleActivateObject(), spell_item_light_lamp::HandleActivateObject(), spell_q9452_cast_net::HandleActiveObject(), spell_serpentshrine_cavern_serpentshrine_parasite_trigger::HandleApplyAura(), spell_corrupted_totems::HandleDummy(), spell_moroes_vanish::HandleDummy(), spell_karazhan_blink::HandleDummy(), spell_kalecgos_spectral_blast_dummy::HandleDummy(), spell_ooze_zap::HandleDummy(), spell_ooze_zap_channel_end::HandleDummy(), spell_saviana_conflagration_init::HandleDummy(), spell_igb_burning_pitch_selector::HandleDummy(), spell_igb_burning_pitch::HandleDummy(), spell_sindragosa_s_fury::HandleDummy(), spell_switch_infragreen_bomber_station::HandleDummy(), spell_charge_shield_bomber::HandleDummy(), spell_fight_fire_bomber::HandleDummy(), spell_anti_air_rocket_bomber::HandleDummy(), spell_q13007_iron_colossus::HandleDummy(), spell_illidari_council_empyreal_balance::HandleDummy(), spell_illidari_council_empyreal_equivalency::HandleDummy(), spell_leotheras_chaos_blast::HandleDummy(), spell_morogrim_tidewalker_watery_grave::HandleDummy(), spell_morogrim_tidewalker_water_globule_new_target::HandleDummy(), spell_q10935_the_exorcism_of_colonel_jules::HandleDummy(), spell_gen_hate_to_zero::HandleDummy(), spell_gen_focused_bursts::HandleDummy(), spell_item_lil_xt::HandleDummy(), spell_item_powerful_anti_venom::HandleDummy(), spell_item_strong_anti_venom::HandleDummy(), spell_item_anti_venom::HandleDummy(), spell_mage_burnout_trigger::HandleDummy(), spell_deathbringer_blood_link::HandleDummy(), spell_algalon_trigger_3_adds::HandleDummyEffect(), spell_yogg_saron_destabilization_matrix::HandleDummyEffect(), spell_yogg_saron_titanic_storm::HandleDummyEffect(), spell_yogg_saron_insane_periodic_trigger::HandleDummyEffect(), spell_talon_king_ikiss_blink::HandleDummyHitTarget(), spell_item_luffa::HandleEffect(), spell_mark_of_nature::HandleEffect(), spell_icc_sprit_alarm::HandleEvent(), spell_icc_geist_alarm::HandleEvent(), spell_halion_blazing_aura::HandleForceCast(), spell_dreamwalker_summoner::HandleForceCast(), spell_dreamwalker_summon_suppresser_effect::HandleForceCast(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_item_toxic_wasteling::HandleJump(), spell_dru_typhoon::HandleKnockBack(), spell_mage_blast_wave::HandleKnockBack(), spell_sha_thunderstorm::HandleKnockBack(), spell_gen_mount::HandleMount(), spell_gen_haunted::HandleOnEffectHit(), spell_item_summon_argent_knight::HandleOnEffectHit(), spell_item_freeze_rookery_egg::HandleOpenObject(), spell_item_skyguard_blasting_charges::HandleOpenObject(), spell_entropius_black_hole_effect::HandlePull(), spell_boss_magus_telestra_gravity_well::HandlePull(), spell_kormok_summon_bone_mages::HandleScript(), spell_kormok_summon_bone_minions::HandleScript(), spell_eredar_twins_blaze::HandleScript(), spell_item_create_heart_candy::HandleScript(), spell_midsummer_fling_torch::HandleScript(), spell_energize_aoe::HandleScript(), spell_saviana_conflagration_throwback::HandleScript(), spell_taldaram_glittering_sparks::HandleScript(), spell_taldaram_summon_flame_ball::HandleScript(), spell_blood_queen_bloodbolt::HandleScript(), spell_blood_queen_presence_of_the_darkfallen::HandleScript(), spell_igb_rocket_artillery::HandleScript(), spell_putricide_unstable_experiment::HandleScript(), spell_putricide_clear_aura_effect_value::HandleScript(), spell_sindragosa_icy_grip::HandleScript(), spell_frostwarden_handler_focus_fire::HandleScript(), spell_the_lich_king_jump::HandleScript(), spell_the_lich_king_jump_remove_aura::HandleScript(), spell_the_lich_king_play_movie::HandleScript(), spell_the_lich_king_raging_spirit::HandleScript(), spell_the_lich_king_valkyr_target_search::HandleScript(), spell_the_lich_king_vile_spirit_move_target_search::HandleScript(), spell_the_lich_king_summon_spirit_bomb::HandleScript(), spell_dreamwalker_summon_portal::HandleScript(), spell_dreamwalker_twisted_nightmares::HandleScript(), spell_icc_harvest_blight_specimen::HandleScript(), spell_svalna_remove_spear::HandleScript(), spell_ioc_gunship_portal::HandleScript(), spell_archavon_rock_shards::HandleScript(), spell_q24545_aod_special::HandleScript(), spell_wintergrasp_force_building::HandleScript(), spell_wintergrasp_portal::HandleScript(), spell_dk_death_gate::HandleScript(), spell_gen_create_lance::HandleScript(), spell_gen_netherbloom::HandleScript(), spell_gen_nightmare_vine::HandleScript(), spell_item_defibrillate::HandleScript(), spell_item_piccolo_of_the_flaming_fire::HandleScript(), spell_item_scroll_of_recall::HandleScript(), spell_q10041_q10040_who_are_they::HandleScript(), spell_warr_shattering_throw::HandleScript(), spell_warr_vigilance_trigger::HandleScript(), spell_ioc_gunship_portal::HandleScript2(), spell_brutallus_burn::HandleScriptEffect(), spell_felmyst_fog_of_corruption::HandleScriptEffect(), spell_kalecgos_spectral_realm_dummy::HandleScriptEffect(), spell_kiljaeden_sinister_reflection::HandleScriptEffect(), spell_kiljaeden_power_of_the_blue_flight::HandleScriptEffect(), spell_batrider_bomb::HandleScriptEffect(), spell_vem_knockback::HandleScriptEffect(), spell_azjol_nerub_fixate::HandleScriptEffect(), spell_marrowgar_coldflame_bonestorm::HandleScriptEffect(), spell_yogg_saron_sanity_reduce::HandleScriptEffect(), spell_yogg_saron_empowering_shadows::HandleScriptEffect(), spell_illidan_draw_soul::HandleScriptEffect(), spell_illidan_parasitic_shadowfiend_trigger::HandleScriptEffect(), spell_black_template_free_friend::HandleScriptEffect(), spell_lady_vashj_remove_tainted_cores::HandleScriptEffect(), spell_lady_vashj_summon_sporebat::HandleScriptEffect(), spell_lady_vashj_spore_drop_effect::HandleScriptEffect(), spell_leotheras_whirlwind::HandleScriptEffect(), spell_leotheras_clear_consuming_madness::HandleScriptEffect(), spell_tsh_shoot_flame_arrow::HandleScriptEffect(), spell_gen_fixate::HandleScriptEffect(), spell_gen_knock_away::HandleScriptEffect(), spell_gen_throw_back::HandleScriptEffect(), spell_gen_clone::HandleScriptEffect(), spell_gen_clone_weapon::HandleScriptEffect(), spell_gen_throw_shield::HandleScriptEffect(), spell_item_sleepy_willy::HandleScriptEffect(), spell_item_toxic_wasteling::HandleScriptEffect(), spell_item_lil_xt::HandleScriptEffect(), spell_item_feast::HandleScriptEffect(), spell_temple_of_atal_hakkar_awaken_the_soulflayer::HandleSendEvent(), spell_q12478_frostmourne_cavern::HandleSendEvent(), spell_q12620_the_lifewarden_wrath::HandleSendEvent(), spell_sindragosa_icy_grip_jump::HandleSpecial(), spell_marrowgar_bone_spike_graveyard::HandleSpikes(), spell_zulfarrak_summon_zulfarrak_zombies::HandleSummon(), spell_halion_damage_aoe_summon::HandleSummon(), spell_putricide_mutated_transformation::HandleSummon(), spell_item_summon_or_dismiss::HandleSummon(), spell_item_draenic_pale_ale::HandleSummon(), spell_rimefang_icy_blast::HandleTriggerMissile(), spell_gnomeregan_radiation_bolt::HandleTriggerSpell(), spell_mage_arcane_blast::HandleTriggerSpell(), spell_pal_righteous_defense::HandleTriggerSpellHit(), spell_pal_righteous_defense::HandleTriggerSpellLaunch(), spell_item_ashbringer::OnDummyEffect(), spell_item_linken_boomerang::OnEffectHitTargetDisarm(), spell_item_linken_boomerang::OnEffectHitTargetStun(), spell_item_linken_boomerang::OnEffectLaunchTargetDisarm(), spell_item_linken_boomerang::OnEffectLaunchTargetStun(), spell_item_branns_communicator::PrepareSpellScript(), spell_item_direbrew_remote::PrepareSpellScript(), spell_item_mind_amplify_dish::PrepareSpellScript(), spell_item_oracle_ablutions::PrepareSpellScript(), spell_item_runescroll_of_fortitude::PrepareSpellScript(), spell_item_titanium_seal_of_dalaran::PrepareSpellScript(), spell_item_toy_train_set::PrepareSpellScript(), spell_q11198_take_down_tethyr::PrepareSpellScript(), spell_q11653_youre_not_so_big_now::PrepareSpellScript(), spell_q13369_fate_up_against_your_will::PrepareSpellScript(), spell_threatening_gaze_charge::PrepareSpellScript(), PreventHitEffect(), and spell_igb_cannon_blast::PreventPowerGainOnHit().

◆ PreventHitEffect()

void SpellScript::PreventHitEffect ( SpellEffIndex  effIndex)
580{
581 if (!IsInHitPhase() && !IsInEffectHook())
582 {
583 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::PreventHitEffect was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
584 return;
585 }
586 m_hitPreventEffectMask |= 1 << effIndex;
587 PreventHitDefaultEffect(effIndex);
588}
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590

References IsInEffectHook(), IsInHitPhase(), LOG_ERROR, m_hitPreventEffectMask, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, and PreventHitDefaultEffect().

Referenced by spell_igb_incinerating_blast::CalculateDamage(), spell_rotface_unstable_ooze_explosion_init::HandleCast(), spell_illidan_glaive_throw::HandleDummy(), spell_illidan_found_target::HandleDummy(), spell_q13086_last_line_of_defence::HandleDummy(), spell_chapter5_rebuke::HandleLeapBack(), spell_obsidian_sanctum_flame_tsunami_leap::HandleLeapBack(), spell_q12641_death_comes_from_on_high_summon_ghouls::HandleScriptEffect(), spell_gurtogg_eject::HandleScriptEffect(), spell_illidan_flame_burst::HandleScriptEffect(), spell_illidan_cage_trap::HandleScriptEffect(), spell_black_temple_bloodbolt::HandleScriptEffect(), spell_kaelthas_summon_weapons::HandleScriptEffect(), spell_kaelthas_gravity_lapse::HandleScriptEffect(), spell_kaelthas_nether_beam::HandleScriptEffect(), spell_kaelthas_summon_nether_vapor::HandleScriptEffect(), spell_wintergrasp_create_vehicle::HandleSummon(), and spell_winter_veil_racer_rocket_slam::HandleTriggerSpell().

◆ PreventHitHeal()

void SpellScript::PreventHitHeal ( )
inline
441{ SetHitHeal(0); }
void SetHitHeal(int32 heal)
Definition: SpellScript.cpp:544

References SetHitHeal().

◆ SetCustomCastResultMessage()

◆ SetEffectValue()

void SpellScript::SetEffectValue ( int32  value)

◆ SetExplTargetDest()

void SpellScript::SetExplTargetDest ( WorldLocation loc)

◆ SetHitDamage()

void SpellScript::SetHitDamage ( int32  damage)
525{
526 if (!IsInTargetHook())
527 {
528 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::SetHitDamage was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
529 return;
530 }
531 m_spell->m_damage = damage;
532}

References IsInTargetHook(), LOG_ERROR, Spell::m_damage, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, and m_spell.

Referenced by spell_blood_council_shadow_prison_damage::AddExtraDamage(), spell_oculus_shock_lance::CalcDamage(), spell_krystallus_shatter_effect::CalculateDamage(), spell_gruul_shatter_effect::CalculateDamage(), spell_item_wraith_scythe_drain_life::CalculateDamage(), spell_loken_pulsing_shockwave::CalculateDamage(), spell_the_lich_king_defile::ChangeDamageAndGrow(), spell_warr_bloodthirst::HandleDamage(), spell_thaddius_pos_neg_charge::HandleDamage(), spell_capacitus_polarity_charge::HandleDamage(), spell_freezing_circle::HandleDamage(), spell_electrical_storm_proc::HandleDamageCalc(), spell_rajaxx_thundercrash::HandleDamageCalc(), spell_oculus_touch_the_nightmare::HandleDamageCalc(), spell_sha_lava_lash::HandleDummy(), spell_warr_concussion_blow::HandleDummy(), spell_voa_lightning_nova::HandleOnHit(), spell_warr_mocking_blow::HandleOnHit(), spell_pal_seal_of_vengeance::HandleScriptEffect(), spell_black_temple_l5_arcane_charge::PrepareSpellScript(), PreventHitDamage(), spell_bronjahm_magic_bane::RecalculateDamage(), spell_marrowgar_bone_storm::RecalculateDamage(), spell_algalon_cosmic_smash_damage::RecalculateDamage(), spell_xt002_tympanic_tantrum::RecalculateDamage(), spell_wg_reduce_damage_by_distance::RecalculateDamage(), spell_murmur_sonic_boom_effect::RecalculateDamage(), spell_dk_death_and_decay::RecalculateDamage(), spell_gen_reduced_above_60::RecalculateDamage(), spell_gen_count_pct_from_max_hp::RecalculateDamage(), and spell_marrowgar_bone_slice::SplitDamage().

◆ SetHitHeal()

void SpellScript::SetHitHeal ( int32  heal)
545{
546 if (!IsInTargetHook())
547 {
548 LOG_ERROR("spells.scripts", "Script: `{}` Spell: `{}`: function SpellScript::SetHitHeal was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
549 return;
550 }
551 m_spell->m_healing = heal;
552}

References IsInTargetHook(), LOG_ERROR, Spell::m_healing, _SpellScript::m_scriptName, _SpellScript::m_scriptSpellId, and m_spell.

Referenced by spell_cannibalize_heal::HandleHeal(), spell_item_healing_injector::HandleHeal(), spell_sha_chain_heal::HandleHeal(), and PreventHitHeal().

Member Data Documentation

◆ AfterCast

◆ AfterHit

◆ BeforeCast

◆ BeforeHit

◆ m_hitPreventDefaultEffectMask

uint8 SpellScript::m_hitPreventDefaultEffectMask
private

◆ m_hitPreventEffectMask

uint8 SpellScript::m_hitPreventEffectMask
private

◆ m_spell

◆ OnCast

◆ OnCheckCast

HookList<CheckCastHandler> SpellScript::OnCheckCast

Referenced by spell_item_gift_of_the_harvester::Register(), spell_eredar_twins_handle_touch::Register(), spell_kalecgos_spectral_realm_dummy::Register(), spell_brewfest_toss_mug::Register(), spell_brewfest_relay_race_force_cast::Register(), spell_ooze_zap::Register(), spell_blood_queen_vampiric_bite::Register(), spell_putricide_mutation_init::Register(), spell_yogg_saron_in_the_maws_of_the_old_god::Register(), spell_q12237_rescue_villager::Register(), spell_q12237_drop_off_villager::Register(), spell_call_wintergarde_gryphon::Register(), spell_renew_skirmisher::Register(), spell_q12589_shoot_rjr::Register(), spell_wintergrasp_water::Register(), spell_q10190_battery_recharging_blaster::Register(), spell_challenge_veraku::Register(), spell_dk_raise_ally::Register(), spell_dk_death_coil::Register(), spell_dk_death_gate::Register(), spell_dk_death_grip::Register(), spell_dk_death_pact::Register(), spell_dk_raise_dead::Register(), spell_dru_dash::Register(), spell_dru_savage_roar::Register(), spell_dru_survival_instincts::Register(), spell_gen_disabled_above_level::Register(), spell_gen_grow_flower_patch::Register(), spell_gen_use_spell_base_level_check::Register(), spell_gen_proc_above_75::Register(), spell_gen_cannibalize::Register(), spell_gen_profession_research::Register(), spell_gen_allow_cast_from_item_only::Register(), spell_gen_vehicle_scaling::Register(), spell_gen_summon_tournament_mount::Register(), spell_gen_bandage::Register(), spell_gen_arcane_charge::Register(), spell_gen_valthalak_amulet::Register(), spell_gen_planting_scourge_banner::Register(), spell_gen_yehkinya_bramble::Register(), spell_hun_check_pet_los::Register(), spell_hun_masters_call::Register(), spell_hun_pet_heart_of_the_phoenix::Register(), spell_hun_pet_carrion_feeder::Register(), spell_hun_disengage::Register(), spell_hun_tame_beast::Register(), spell_hun_bestial_wrath::Register(), spell_item_book_of_glyph_mastery::Register(), spell_item_map_of_the_geyser_fields::Register(), spell_item_demon_broiled_surprise::Register(), spell_item_rocket_boots::Register(), spell_item_snowman::Register(), spell_item_venomhide_feed::Register(), spell_item_scroll_of_retribution::Register(), spell_item_eye_of_grillok::Register(), spell_item_gor_dreks_ointment::Register(), spell_item_skyguard_blasting_charges::Register(), spell_item_luffa::Register(), spell_mage_ice_barrier::Register(), spell_pal_hand_of_sacrifice::Register(), spell_pal_holy_shock::Register(), spell_pal_lay_on_hands::Register(), spell_pal_righteous_defense::Register(), spell_pri_penance::Register(), spell_pri_power_word_shield::Register(), spell_q11065_wrangle_some_aether_rays::Register(), spell_q12943_shadow_vault_decree::Register(), spell_q11670_it_was_the_orcs_honest::Register(), spell_q13369_fate_up_against_your_will::Register(), spell_q9452_cast_net::Register(), spell_q11010_q11102_q11023_q11008_check_fly_mount::Register(), spell_q4735_collect_rookery_egg::Register(), spell_rog_killing_spree::Register(), spell_rog_pickpocket::Register(), spell_sha_spirit_walk::Register(), spell_sha_fire_nova::Register(), spell_warl_ritual_of_summoning::Register(), spell_warl_create_healthstone::Register(), and spell_warl_life_tap::Register().

◆ OnDestinationTargetSelect

◆ OnEffectHit

HookList<EffectHandler> SpellScript::OnEffectHit

Referenced by _Validate(), spell_gnomeregan_radiation_bolt::Register(), spell_temple_of_atal_hakkar_awaken_the_soulflayer::Register(), spell_midsummer_summon_ahune_lieutenant::Register(), spell_zulfarrak_summon_zulfarrak_zombies::Register(), spell_halion_damage_aoe_summon::Register(), spell_valanar_kinetic_bomb::Register(), spell_igb_incinerating_blast::Register(), spell_igb_rocket_artillery_explosion::Register(), spell_putricide_mutated_transformation::Register(), spell_rotface_unstable_ooze_explosion::Register(), spell_rimefang_icy_blast::Register(), spell_the_lich_king_quake::Register(), spell_the_lich_king_summon_into_air::Register(), spell_the_lich_king_teleport_to_frostmourne_hc::Register(), spell_icc_sprit_alarm::Register(), spell_icc_geist_alarm::Register(), spell_svalna_revive_champion::Register(), spell_hodir_shatter_chest::Register(), spell_q11719_bloodspore_ruination_45997::Register(), spell_q12478_frostmourne_cavern::Register(), spell_onslaught_or_call_bone_gryphon::Register(), spell_q12620_the_lifewarden_wrath::Register(), spell_wintergrasp_create_vehicle::Register(), spell_ice_bombardment_dest_picker::Register(), spell_the_black_stalker_levitation_pulse::Register(), spell_dk_bloodworms::Register(), spell_gen_haunted::Register(), spell_gen_cannibalize::Register(), spell_gen_oracle_wolvar_reputation::Register(), spell_gen_basic_campfire::Register(), spell_gen_threshalisk_charge::Register(), spell_hun_pet_carrion_feeder::Register(), spell_item_summon_or_dismiss::Register(), spell_item_draenic_pale_ale::Register(), spell_item_summon_argent_knight::Register(), spell_item_trigger_spell::Register(), spell_item_deviate_fish::Register(), spell_item_flask_of_the_north::Register(), spell_item_make_a_wish::Register(), spell_item_mingos_fortune_generator::Register(), spell_item_noggenfogger_elixir::Register(), spell_item_savory_deviate_delight::Register(), spell_item_underbelly_elixir::Register(), spell_item_vanquished_clutches::Register(), spell_item_ashbringer::Register(), spell_item_goblin_bomb::Register(), spell_mage_cold_snap::Register(), spell_mage_summon_water_elemental::Register(), spell_q5206_test_fetid_skull::Register(), spell_q12634_despawn_fruit_tosser::Register(), spell_q12683_take_sputum_sample::Register(), spell_q13280_13283_plant_battle_standard::Register(), spell_q9452_cast_net::Register(), spell_q11010_q11102_q11023_choose_loc::Register(), spell_q12308_escape_from_silverbrook::Register(), spell_q12619_emblazon_runeblade_effect::Register(), spell_q4735_collect_rookery_egg::Register(), spell_q9847_a_spirit_ally::Register(), spell_warl_ritual_of_doom_effect::Register(), spell_warr_last_stand::Register(), and spell_warr_bloodthirst::Register().

◆ OnEffectHitTarget

HookList<EffectHandler> SpellScript::OnEffectHitTarget

Referenced by _Validate(), spell_gen_elemental_shield::Register(), spell_gen_brood_power::Register(), spell_corrupted_totems::Register(), spell_shadowblink::Register(), spell_spawn_drakonid::Register(), spell_bwl_shadowflame::Register(), spell_garr_frenzy::Register(), spell_magmadar_lava_bomb::Register(), spell_hate_to_zero::Register(), spell_shazzrah_gate_dummy::Register(), spell_moroes_vanish::Register(), spell_karazhan_blink::Register(), spell_q12641_death_comes_from_on_high_summon_ghouls::Register(), spell_q12698_the_gift_that_keeps_on_giving::Register(), spell_death_knight_initiate_visual::Register(), spell_lich_king_whisper::Register(), spell_q12779_an_end_to_all_things::Register(), spell_kormok_summon_bone_mages::Register(), spell_kormok_summon_bone_minions::Register(), spell_apothecary_lingering_fumes::Register(), spell_apothecary_validate_area::Register(), spell_apothecary_throw_cologne::Register(), spell_apothecary_throw_perfume::Register(), spell_madrigosa_activate_barrier::Register(), spell_madrigosa_deactivate_barrier::Register(), spell_brutallus_burn::Register(), spell_eredar_twins_blaze::Register(), spell_felmyst_fog_of_corruption::Register(), spell_kalecgos_spectral_blast_dummy::Register(), spell_kalecgos_spectral_realm_dummy::Register(), spell_kiljaeden_sinister_reflection::Register(), spell_kiljaeden_flame_dart::Register(), spell_kiljaeden_power_of_the_blue_flight::Register(), spell_entropius_black_hole_effect::Register(), spell_razelikh_teleport_group::Register(), spell_blight_worm_ingest::Register(), spell_electrical_storm_proc::Register(), spell_gahzranka_slam::Register(), spell_blood_siphon::Register(), spell_batrider_bomb::Register(), spell_mandokir_charge::Register(), spell_threatening_gaze_charge::Register(), spell_axe_flurry::Register(), spell_brewfest_apple_trap::Register(), spell_brewfest_toss_mug::Register(), spell_brewfest_add_mug::Register(), spell_direbrew_summon_mole_machine_target_picker::Register(), spell_send_mug_target_picker::Register(), spell_request_second_mug::Register(), spell_hallows_end_trick::Register(), spell_hallows_end_put_costume::Register(), spell_hallows_end_trick_or_treat::Register(), spell_hallows_end_candy::Register(), spell_hallows_end_tricky_treat::Register(), spell_hallows_end_bucket_lands::Register(), spell_item_create_heart_candy::Register(), spell_midsummer_fling_torch::Register(), spell_midsummer_torch_catch::Register(), spell_pilgrims_bounty_pass_generic::Register(), spell_pilgrims_bounty_feast_on_generic::Register(), spell_pilgrims_bounty_turkey_tracker::Register(), spell_pilgrims_bounty_food::Register(), spell_winter_veil_mistletoe::Register(), spell_winter_wondervolt_trap::Register(), spell_winter_veil_racer_slam_hit::Register(), spell_winter_veil_shoot_air_rifle::Register(), spell_red_sky_effect::Register(), spell_cannibalize_heal::Register(), spell_ayamiss_swarmer_teleport_trigger::Register(), spell_ayamiss_swarmer_swarm::Register(), spell_ayamiss_swarmer_start_loop::Register(), spell_gen_ayamiss_swarmer_loop::Register(), spell_egg_explosion::Register(), spell_moam_mana_drain_filter::Register(), spell_moam_summon_mana_fiends::Register(), spell_rajaxx_thundercrash::Register(), spell_drain_mana::Register(), spell_vem_knockback::Register(), spell_mana_burn_area::Register(), spell_aggro_drones::Register(), spell_voljin_war_drums::Register(), spell_voodoo::Register(), spell_ooze_zap::Register(), spell_ooze_zap_channel_end::Register(), spell_energize_aoe::Register(), spell_zulfarrak_unlocking::Register(), spell_ahn_kahet_swarmer_aura::Register(), spell_volazj_whisper::Register(), spell_prince_taldaram_conjure_flame_sphere::Register(), spell_azjol_nerub_pound::Register(), spell_azjol_nerub_fixate::Register(), spell_sartharion_lava_strike::Register(), spell_obsidian_sanctum_flame_tsunami::Register(), spell_obsidian_sanctum_flame_tsunami_leap::Register(), spell_halion_meteor_strike_targeting::Register(), spell_halion_blazing_aura::Register(), spell_halion_clear_debuffs::Register(), spell_halion_twilight_division::Register(), spell_halion_twilight_mending::Register(), spell_saviana_conflagration_init::Register(), spell_saviana_conflagration_throwback::Register(), spell_mistress_kiss_area::Register(), spell_dred_raptor_call::Register(), spell_novos_despawn_crystal_handler::Register(), spell_novos_summon_minions::Register(), spell_tharon_ja_clear_gift_of_tharon_ja::Register(), spell_trollgore_consume::Register(), spell_trollgore_invader_taunt::Register(), spell_dtk_summon_random_drakkari::Register(), spell_pos_slave_trigger_closest::Register(), spell_pos_rimefang_frost_nova::Register(), spell_drakkari_colossus_emerge::Register(), spell_drakkari_colossus_surge::Register(), spell_drakkari_colossus_face_me::Register(), spell_galdarah_impaling_charge::Register(), spell_galdarah_transform::Register(), spell_taldaram_glittering_sparks::Register(), spell_taldaram_summon_flame_ball::Register(), spell_blood_queen_bloodbolt::Register(), spell_blood_queen_vampiric_bite::Register(), spell_blood_queen_presence_of_the_darkfallen::Register(), spell_deathbringer_blood_link::Register(), spell_festergut_pungent_blight::Register(), spell_festergut_gastric_bloat::Register(), spell_igb_teleport_to_enemy_ship::Register(), spell_igb_check_for_players::Register(), spell_igb_cannon_blast::Register(), spell_igb_burning_pitch_selector::Register(), spell_igb_burning_pitch::Register(), spell_igb_rocket_artillery::Register(), spell_marrowgar_coldflame::Register(), spell_marrowgar_bone_spike_graveyard::Register(), spell_marrowgar_coldflame_bonestorm::Register(), spell_putricide_slime_puddle::Register(), spell_putricide_unstable_experiment::Register(), spell_putricide_ooze_eruption_searcher::Register(), spell_putricide_unbound_plague::Register(), spell_putricide_choking_gas_bomb::Register(), spell_putricide_clear_aura_effect_value::Register(), spell_putricide_eat_ooze::Register(), spell_putricide_regurgitated_ooze::Register(), spell_rotface_little_ooze_combine::Register(), spell_rotface_large_ooze_combine::Register(), spell_rotface_large_ooze_buff_combine::Register(), spell_rotface_unstable_ooze_explosion_init::Register(), spell_sindragosa_s_fury::Register(), spell_sindragosa_icy_grip::Register(), spell_frostwarden_handler_order_whelp::Register(), spell_frostwarden_handler_focus_fire::Register(), spell_the_lich_king_jump::Register(), spell_the_lich_king_jump_remove_aura::Register(), spell_the_lich_king_play_movie::Register(), spell_the_lich_king_raging_spirit::Register(), spell_the_lich_king_valkyr_target_search::Register(), spell_the_lich_king_cast_back_to_caster::Register(), spell_the_lich_king_vile_spirit_move_target_search::Register(), spell_the_lich_king_summon_spirit_bomb::Register(), spell_dreamwalker_summon_portal::Register(), spell_dreamwalker_twisted_nightmares::Register(), spell_dreamwalker_summoner::Register(), spell_dreamwalker_summon_suppresser_effect::Register(), spell_frost_giant_death_plague::Register(), spell_icc_harvest_blight_specimen::Register(), spell_svalna_remove_spear::Register(), spell_stinky_precious_decimate::Register(), spell_ioc_bomb_blast_criteria::Register(), spell_ioc_gunship_portal::Register(), spell_ioc_launch::Register(), spell_gluth_decimate::Register(), spell_thaddius_pos_neg_charge::Register(), spell_thaddius_polarity_shift::Register(), spell_boss_magus_telestra_gravity_well::Register(), spell_oculus_touch_the_nightmare::Register(), spell_loken_pulsing_shockwave::Register(), spell_krystallus_shatter::Register(), spell_algalon_trigger_3_adds::Register(), spell_assembly_meltdown::Register(), spell_ignis_grab_initial::Register(), spell_ulduar_squeezed_lifeless::Register(), spell_xt002_gravity_bomb_damage::Register(), spell_yogg_saron_destabilization_matrix::Register(), spell_yogg_saron_titanic_storm::Register(), spell_yogg_saron_insane_periodic_trigger::Register(), spell_yogg_saron_sanity_reduce::Register(), spell_yogg_saron_empowering_shadows::Register(), spell_yogg_saron_target_selectors::Register(), spell_svala_ritual_strike::Register(), spell_archavon_rock_shards::Register(), spell_voa_flaming_cinder::Register(), spell_arcane_chains_character_force_cast::Register(), spell_q12237_rescue_villager::Register(), spell_q24545_aod_special::Register(), spell_q12096_q12092_dummy::Register(), spell_q12096_q12092_bark::Register(), spell_q12227_outhouse_groans::Register(), spell_q12227_camera_shake::Register(), spell_shredder_delivery::Register(), spell_vehicle_warhead_fuse::Register(), spell_warhead_detonate::Register(), spell_frog_kiss::Register(), spell_switch_infragreen_bomber_station::Register(), spell_charge_shield_bomber::Register(), spell_fight_fire_bomber::Register(), spell_deliver_gryphon::Register(), spell_q12726_song_of_wind_and_water::Register(), spell_q12589_shoot_rjr::Register(), spell_shango_tracks::Register(), spell_q12611_deathbolt::Register(), spell_q13007_iron_colossus::Register(), spell_q12823_remove_collapsing_cave_aura::Register(), spell_wintergrasp_force_building::Register(), spell_wintergrasp_portal::Register(), spell_talon_king_ikiss_blink::Register(), spell_gurtogg_eject::Register(), spell_illidan_draw_soul::Register(), spell_illidan_parasitic_shadowfiend_trigger::Register(), spell_illidan_glaive_throw::Register(), spell_illidan_flame_burst::Register(), spell_illidan_found_target::Register(), spell_illidan_cage_trap::Register(), spell_illidari_council_empyreal_balance::Register(), spell_illidari_council_empyreal_equivalency::Register(), spell_illidari_council_circle_of_healing::Register(), spell_illidari_council_judgement::Register(), spell_mother_shahraz_fatal_attraction::Register(), spell_mother_shahraz_fatal_attraction_dummy::Register(), spell_najentus_needle_spine::Register(), spell_najentus_hurl_spine::Register(), spell_black_template_free_friend::Register(), spell_black_temple_bloodbolt::Register(), spell_black_temple_summon_shadowfiends::Register(), spell_lady_vashj_remove_tainted_cores::Register(), spell_lady_vashj_summon_sporebat::Register(), spell_lady_vashj_spore_drop_effect::Register(), spell_leotheras_whirlwind::Register(), spell_leotheras_chaos_blast::Register(), spell_leotheras_clear_consuming_madness::Register(), spell_morogrim_tidewalker_watery_grave::Register(), spell_morogrim_tidewalker_water_globule_new_target::Register(), spell_serpentshrine_cavern_serpentshrine_parasite_trigger::Register(), spell_ahune_synch_health::Register(), spell_ice_spear_target_picker::Register(), spell_slippery_floor_periodic::Register(), spell_ahune_minion_despawner::Register(), spell_despawn_underbog_mushrooms::Register(), spell_the_black_stalker_levitate::Register(), spell_the_black_stalker_someone_grab_me::Register(), spell_the_black_stalker_magnetic_pull::Register(), spell_gruul_ground_slam::Register(), spell_tractor_beam_creator::Register(), spell_gruul_shatter::Register(), spell_vazruden_fireball::Register(), spell_vazruden_call_nazan::Register(), spell_magtheridon_blaze::Register(), spell_target_fissures::Register(), spell_tsh_shoot_flame_arrow::Register(), spell_commander_sarannis_summon_reinforcements::Register(), spell_kaelthas_summon_weapons::Register(), spell_kaelthas_mind_control::Register(), spell_kaelthas_gravity_lapse::Register(), spell_kaelthas_nether_beam::Register(), spell_kaelthas_summon_nether_vapor::Register(), spell_kaelthas_remove_enchanted_weapons::Register(), spell_kaelthas_kael_explodes::Register(), spell_capacitus_polarity_charge::Register(), spell_capacitus_polarity_shift::Register(), spell_oscillating_field::Register(), spell_q10935_the_exorcism_of_colonel_jules::Register(), spell_q10612_10613_the_fel_and_the_furious::Register(), spell_pet_dk_gargoyle_strike::Register(), spell_dk_raise_ally::Register(), spell_dk_corpse_explosion::Register(), spell_dk_death_coil::Register(), spell_dk_death_gate::Register(), spell_dk_death_grip::Register(), spell_dk_death_strike::Register(), spell_dk_ghoul_explode::Register(), spell_dk_pestilence::Register(), spell_dk_raise_dead::Register(), spell_dk_scourge_strike::Register(), spell_dru_glyph_of_starfire::Register(), spell_dru_starfall_dummy::Register(), spell_dru_typhoon::Register(), spell_gen_5000_gold::Register(), spell_the_flag_of_ownership::Register(), spell_gen_mine_sweeper::Register(), spell_gen_fixate::Register(), spell_gen_knock_away::Register(), spell_gen_hate_to_zero::Register(), spell_gen_focused_bursts::Register(), spell_gen_throw_back::Register(), spell_gen_clear_debuffs::Register(), spell_gen_create_lance::Register(), spell_gen_netherbloom::Register(), spell_gen_nightmare_vine::Register(), spell_gen_pet_summoned::Register(), spell_gen_remove_flight_auras::Register(), spell_gen_elune_candle::Register(), spell_gen_teleporting::Register(), spell_gen_divine_storm_cd_reset::Register(), spell_gen_profession_research::Register(), spell_gen_clone::Register(), spell_gen_clone_weapon::Register(), spell_gen_seaforium_blast::Register(), spell_gen_dummy_trigger::Register(), spell_gen_spirit_healer_res::Register(), spell_gen_gadgetzan_transporter_backfire::Register(), spell_gen_gnomish_transporter::Register(), spell_gen_dalaran_disguise::Register(), spell_gen_break_shield::Register(), spell_gen_mounted_charge::Register(), spell_gen_throw_shield::Register(), spell_gen_tournament_duel::Register(), spell_gen_ds_flush_knockback::Register(), spell_gen_despawn_self::Register(), spell_gen_mount::Register(), spell_gen_upper_deck_create_foam_sword::Register(), spell_gen_bonked::Register(), spell_gen_spectator_cheer_trigger::Register(), spell_gen_vendor_bark_trigger::Register(), spell_gen_eject_passenger::Register(), spell_gen_remove_impairing_auras::Register(), spell_freezing_circle::Register(), spell_gen_spirit_of_competition_participant::Register(), spell_gen_spirit_of_competition_winner::Register(), spell_gen_jubling_cooldown::Register(), spell_gen_set_health::Register(), spell_hun_chimera_shot::Register(), spell_hun_invigoration::Register(), spell_hun_last_stand_pet::Register(), spell_hun_masters_call::Register(), spell_hun_readiness::Register(), spell_hun_scatter_shot::Register(), spell_hun_pet_heart_of_the_phoenix::Register(), spell_item_massive_seaforium_charge::Register(), spell_item_titanium_seal_of_dalaran::Register(), spell_item_mind_amplify_dish::Register(), spell_item_runescroll_of_fortitude::Register(), spell_item_branns_communicator::Register(), spell_item_magic_dust::Register(), spell_item_toy_train_set::Register(), spell_item_sleepy_willy::Register(), spell_item_toxic_wasteling::Register(), spell_item_lil_xt::Register(), spell_item_crazy_alchemists_potion::Register(), spell_item_feast::Register(), spell_item_gnomish_universal_remote::Register(), spell_item_powerful_anti_venom::Register(), spell_item_strong_anti_venom::Register(), spell_item_anti_venom::Register(), spell_item_gnomish_shrink_ray::Register(), spell_item_goblin_weather_machine::Register(), spell_item_light_lamp::Register(), spell_item_oracle_ablutions::Register(), spell_item_direbrew_remote::Register(), spell_item_brittle_armor::Register(), spell_item_defibrillate::Register(), spell_item_gnomish_death_ray::Register(), spell_item_mercurial_shield::Register(), spell_item_net_o_matic::Register(), spell_item_piccolo_of_the_flaming_fire::Register(), spell_item_scroll_of_recall::Register(), spell_item_dimensional_ripper_area52::Register(), spell_item_six_demon_bag::Register(), spell_item_book_of_glyph_mastery::Register(), spell_item_shimmering_vessel::Register(), spell_item_purify_helboar_meat::Register(), spell_item_reindeer_transformation::Register(), spell_item_nigh_invulnerability::Register(), spell_item_poultryizer::Register(), spell_item_socrethars_stone::Register(), spell_item_demon_broiled_surprise::Register(), spell_item_complete_raptor_capture::Register(), spell_item_impale_leviroth::Register(), spell_item_brewfest_mount_transformation::Register(), spell_item_nitro_boots::Register(), spell_item_teach_language::Register(), spell_item_rocket_boots::Register(), spell_item_healing_injector::Register(), spell_item_mana_injector::Register(), spell_item_pygmy_oil::Register(), spell_item_unusual_compass::Register(), spell_item_chicken_cover::Register(), spell_item_refocus::Register(), spell_item_muisek_vessel::Register(), spell_item_greatmothers_soulcatcher::Register(), spell_item_eggnog::Register(), spell_item_linken_boomerang::Register(), spell_item_mirrens_drinking_hat::Register(), spell_item_freeze_rookery_egg::Register(), spell_item_elixir_of_shadows::Register(), spell_item_worn_troll_dice::Register(), spell_item_skyguard_blasting_charges::Register(), spell_item_luffa::Register(), spell_mage_burnout_trigger::Register(), spell_mage_blast_wave::Register(), spell_mage_polymorph_cast_visual::Register(), spell_pal_blessing_of_faith::Register(), spell_pal_divine_storm_dummy::Register(), spell_pal_guarded_by_the_light::Register(), spell_pal_holy_shock::Register(), spell_pal_judgement::Register(), spell_pal_judgement_of_command::Register(), spell_pal_righteous_defense::Register(), spell_pal_seal_of_vengeance::Register(), spell_pri_lightwell::Register(), spell_pri_pain_and_suffering_proc::Register(), spell_pri_penance::Register(), spell_image_of_drakuru_reagent_check::Register(), spell_q11026_a11051_banish_the_demons::Register(), spell_q10714_on_spirits_wings::Register(), spell_q10720_the_smallest_creature::Register(), spell_q12943_shadow_vault_decree::Register(), spell_q10769_dissension_amongst_the_ranks::Register(), spell_q11520_discovering_your_roots::Register(), spell_q12274_a_fall_from_grace_costume::Register(), spell_q13369_fate_up_against_your_will::Register(), spell_q11198_take_down_tethyr::Register(), spell_q11653_youre_not_so_big_now::Register(), spell_generic_quest_update_entry_SpellScript::Register(), spell_q1846_bending_shinbone::Register(), spell_q6124_6129_apply_salve::Register(), spell_q11396_11399_scourging_crystal_controller::Register(), spell_q11396_11399_scourging_crystal_controller_dummy::Register(), spell_q11587_arcane_prisoner_rescue::Register(), spell_q11730_ultrasonic_screwdriver::Register(), spell_q12459_seeds_of_natures_wrath::Register(), spell_q12937_relief_for_the_fallen::Register(), spell_q10041_q10040_who_are_they::Register(), spell_symbol_of_life_dummy::Register(), spell_q12659_ahunaes_knife::Register(), spell_q9874_liquid_fire::Register(), spell_q12805_lifeblood_dummy::Register(), spell_q14112_14145_chum_the_water::Register(), spell_q9452_cast_net::Register(), spell_q12277_wintergarde_mine_explosion::Register(), spell_q12066_bunny_kill_credit::Register(), spell_q12735_song_of_cleansing::Register(), spell_q11010_q11102_q11023_aggro_check::Register(), spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy::Register(), spell_q13011_bear_flank_master::Register(), spell_q12690_burst_at_the_seams::Register(), spell_q12641_death_comes_from_on_high::Register(), spell_q12919_gymers_grab::Register(), spell_q12919_gymers_throw::Register(), spell_q10651_q10692_book_of_fel_names::Register(), spell_rog_killing_spree::Register(), spell_rog_preparation::Register(), spell_rog_shiv::Register(), spell_rog_vanish_purge::Register(), spell_rog_vanish::Register(), spell_sha_ancestral_awakening_proc::Register(), spell_sha_chain_heal::Register(), spell_sha_cleansing_totem_pulse::Register(), spell_sha_fire_nova::Register(), spell_sha_healing_stream_totem::Register(), spell_sha_lava_lash::Register(), spell_sha_mana_spring_totem::Register(), spell_sha_mana_tide_totem::Register(), spell_sha_thunderstorm::Register(), spell_warl_shadowflame::Register(), spell_warl_demonic_empowerment::Register(), spell_warl_create_healthstone::Register(), spell_warl_everlasting_affliction::Register(), spell_warl_soulshatter::Register(), spell_warl_life_tap::Register(), spell_warr_intervene::Register(), spell_warr_deep_wounds::Register(), spell_warr_charge::Register(), spell_warr_slam::Register(), spell_warr_execute::Register(), spell_warr_concussion_blow::Register(), spell_warr_bloodthirst::Register(), spell_warr_overpower::Register(), spell_warr_shattering_throw::Register(), spell_warr_vigilance_trigger::Register(), spell_dream_fog_sleep::Register(), and spell_mark_of_nature::Register().

◆ OnEffectLaunch

◆ OnEffectLaunchTarget

◆ OnHit

HookList<HitHandler> SpellScript::OnHit

Referenced by spell_class_call_handler::Register(), spell_egg_event::Register(), spell_hakkar_power_down::Register(), spell_random_aggro::Register(), spell_delusions_of_jindo::Register(), spell_enveloping_webs::Register(), spell_arcane_vacuum::Register(), spell_mark_of_frost_freeze::Register(), spell_mutate_explode_bug::Register(), spell_explode_trigger::Register(), spell_summon_toxin_slime::Register(), spell_baltharus_enervating_brand_trigger::Register(), spell_halion_twilight_phasing::Register(), spell_bronjahm_magic_bane::Register(), spell_blood_council_shadow_prison_damage::Register(), spell_marrowgar_bone_storm::Register(), spell_marrowgar_bone_slice::Register(), spell_the_lich_king_necrotic_plague_jump::Register(), spell_the_lich_king_defile::Register(), spell_the_lich_king_trigger_vile_spirit::Register(), spell_oculus_shock_lance::Register(), spell_krystallus_shatter_effect::Register(), spell_algalon_cosmic_smash_damage::Register(), spell_algalon_supermassive_fail::Register(), spell_xt002_tympanic_tantrum::Register(), spell_voa_lightning_nova::Register(), spell_wg_reduce_damage_by_distance::Register(), spell_shockwave_knockback::Register(), spell_murmur_sonic_boom_effect::Register(), spell_teron_gorefiend_shadow_of_death_remove::Register(), spell_black_temple_l5_arcane_charge::Register(), spell_lady_vashj_summons::Register(), spell_gruul_shatter_effect::Register(), spell_magtheridon_quake::Register(), spell_magtheridon_debris_target_selector::Register(), spell_blade_dance_targeting::Register(), spell_pet_gen_valkyr_guardian_smite::Register(), spell_dk_death_and_decay::Register(), spell_dk_rune_of_the_fallen_crusader::Register(), spell_gen_reduced_above_60::Register(), spell_gen_count_pct_from_max_hp::Register(), spell_item_wraith_scythe_drain_life::Register(), spell_pri_shadow_word_death::Register(), and spell_warr_mocking_blow::Register().

◆ OnObjectAreaTargetSelect

HookList<ObjectAreaTargetSelectHandler> SpellScript::OnObjectAreaTargetSelect

Referenced by _Validate(), spell_suppression_aura::Register(), spell_class_call_handler::Register(), spell_class_call_polymorph::Register(), spell_shazzrah_gate_dummy::Register(), spell_nightbane_fireball_barrage::Register(), spell_malchezaar_enfeeble::Register(), spell_flamewreath::Register(), spell_apothecary_validate_area::Register(), spell_felmyst_open_brutallus_back_doors::Register(), spell_kalecgos_spectral_blast_dummy::Register(), spell_kiljaeden_sinister_reflection::Register(), spell_kiljaeden_sinister_reflection_clone::Register(), spell_kiljaeden_dragon_breath::Register(), spell_gahzranka_slam::Register(), spell_blood_siphon::Register(), spell_chain_burn::Register(), spell_hatch_eggs::Register(), spell_axe_flurry::Register(), spell_brewfest_apple_trap::Register(), spell_brewfest_toss_mug::Register(), spell_send_mug_target_picker::Register(), spell_fire_festival_fortitude::Register(), spell_anetheron_sleep::Register(), spell_azgalor_doom::Register(), spell_mark_of_kazrogal::Register(), spell_moam_mana_drain_filter::Register(), spell_crystal_weakness::Register(), spell_aq_shadow_storm::Register(), spell_vem_vengeance::Register(), spell_cthun_dark_glare::Register(), spell_huhuran_poison_bolt::Register(), spell_skeram_arcane_explosion::Register(), spell_mutate_explode_bug::Register(), spell_energize_aoe::Register(), spell_ahn_kahet_swarmer_aura::Register(), spell_herald_volzaj_insanity::Register(), spell_halion_twilight_cutter::Register(), spell_eadric_radiance::Register(), spell_toc5_light_rain::Register(), spell_mistress_kiss_area::Register(), spell_bronjahm_soulstorm_targeting::Register(), spell_garfrost_permafrost::Register(), spell_blood_queen_pact_of_the_darkfallen::Register(), spell_blood_queen_pact_of_the_darkfallen_dmg_target::Register(), spell_blood_queen_bloodbolt::Register(), spell_blood_queen_swarming_shadows_floor_dmg::Register(), spell_deathbringer_blood_nova_targeting::Register(), spell_deathbringer_boiling_blood::Register(), spell_igb_check_for_players::Register(), spell_igb_explosion::Register(), spell_igb_teleport_players_on_victory::Register(), spell_igb_burning_pitch_selector::Register(), spell_igb_rocket_artillery::Register(), spell_marrowgar_coldflame::Register(), spell_marrowgar_bone_slice::Register(), spell_putricide_slime_puddle::Register(), spell_putricide_tear_gas_effect::Register(), spell_putricide_ooze_channel::Register(), spell_putricide_unbound_plague::Register(), spell_putricide_mutated_transformation_dmg::Register(), spell_putricide_eat_ooze::Register(), spell_rotface_mutated_infection::Register(), spell_sindragosa_s_fury::Register(), spell_sindragosa_unchained_magic::Register(), spell_sindragosa_ice_tomb_filter::Register(), spell_sindragosa_ice_tomb_trap::Register(), spell_sindragosa_mystic_buffet::Register(), spell_frostwarden_handler_order_whelp::Register(), spell_the_lich_king_quake::Register(), spell_the_lich_king_necrotic_plague_jump::Register(), spell_the_lich_king_shadow_trap_periodic::Register(), spell_the_lich_king_ice_burst_target_search::Register(), spell_the_lich_king_defile::Register(), spell_the_lich_king_valkyr_target_search::Register(), spell_the_lich_king_vile_spirit_move_target_search::Register(), spell_the_lich_king_vile_spirit_damage_target_search::Register(), spell_the_lich_king_restore_soul::Register(), spell_dreamwalker_summoner::Register(), spell_frost_giant_death_plague::Register(), spell_svalna_revive_champion::Register(), spell_gothik_shadow_bolt_volley::Register(), spell_grobbulus_poison::Register(), spell_kelthuzad_frost_blast::Register(), spell_sapphiron_frost_explosion::Register(), spell_thaddius_pos_neg_charge::Register(), spell_eoe_ph3_surge_of_power::Register(), spell_boss_magus_telestra_gravity_well::Register(), spell_algalon_trigger_3_adds::Register(), spell_algalon_big_bang::Register(), spell_auriaya_sentinel_blast::Register(), spell_mark_of_the_faceless_drainhealth::Register(), spell_hodir_periodic_icicle::Register(), spell_hodir_flash_freeze::Register(), spell_ulduar_stone_grip_cast_target::Register(), spell_kologarn_stone_shout::Register(), spell_xt002_tympanic_tantrum::Register(), spell_xt002_gravity_bomb::Register(), spell_xt002_searing_light_spawn_life_spark::Register(), spell_yogg_saron_brain_link::Register(), spell_yogg_saron_destabilization_matrix::Register(), spell_yogg_saron_titanic_storm::Register(), spell_yogg_saron_lunatic_gaze::Register(), spell_yogg_saron_insane_periodic_trigger::Register(), spell_q24545_aod_special::Register(), spell_talon_king_ikiss_blink::Register(), spell_murmur_thundering_storm::Register(), spell_gurtogg_bloodboil::Register(), spell_illidan_shadow_prison::Register(), spell_mother_shahraz_fatal_attraction::Register(), spell_mother_shahraz_fatal_attraction_dummy::Register(), spell_reliquary_of_souls_fixate::Register(), spell_lady_vashj_summons::Register(), spell_leotheras_insidious_whisper::Register(), spell_lurker_below_spout_cone::Register(), spell_morogrim_tidewalker_watery_grave::Register(), spell_morogrim_tidewalker_water_globule_new_target::Register(), spell_ice_spear_target_picker::Register(), spell_magtheridon_debris_target_selector::Register(), spell_tsh_shoot_flame_arrow::Register(), spell_blade_dance_targeting::Register(), spell_kaelthas_mind_control::Register(), spell_kael_pyroblast::Register(), spell_capacitus_polarity_charge::Register(), spell_dk_wandering_plague::Register(), spell_dk_aotd_taunt::Register(), spell_dk_corpse_explosion::Register(), spell_dk_death_pact::Register(), spell_dk_raise_dead::Register(), spell_dk_rune_tap_party::Register(), spell_dru_starfall_aoe::Register(), spell_dru_starfall_dummy::Register(), spell_dru_t10_restoration_4p_bonus::Register(), spell_dru_wild_growth::Register(), spell_the_flag_of_ownership::Register(), spell_gen_rallying_cry_of_the_dragonslayer::Register(), spell_gen_select_target_count::Register(), spell_gen_replenishment::Register(), spell_hun_volley_trigger::Register(), spell_hun_target_self_and_pet::Register(), spell_item_sleepy_willy::Register(), spell_item_fetch_ball::Register(), spell_item_echoes_of_light::Register(), spell_pal_seal_of_command::Register(), spell_pal_divine_storm_dummy::Register(), spell_pal_glyph_of_holy_light::Register(), spell_pri_circle_of_healing::Register(), spell_pri_divine_hymn::Register(), spell_pri_hymn_of_hope::Register(), spell_pri_mind_sear::Register(), spell_rog_killing_spree::Register(), spell_sha_ancestral_awakening_proc::Register(), spell_sha_bloodlust::Register(), spell_sha_earthen_power::Register(), spell_sha_heroism::Register(), spell_warr_improved_spell_reflection_trigger::Register(), spell_warr_intimidating_shout::Register(), spell_dream_fog_sleep::Register(), and spell_mark_of_nature::Register().

◆ OnObjectTargetSelect