TrinityCore
SpellScript Class Reference

#include <SpellScript.h>

Inherits SpellScriptBase.

Inherited by SanityReduction, spell_a_trip_to_ironforge_quest_complete::spell_a_trip_to_ironforge_quest_complete_SpellScript, spell_abomination_mutated_transformation, spell_accepting_felsaber_gift, spell_ahn_kahet_swarm, spell_ahnkahet_yogg_saron_whisper, spell_ahune_minion_despawner, spell_ahune_synch_health, spell_alexstrasza_bunny_destroy_platform_boom_visual, spell_alexstrasza_bunny_destroy_platform_event, spell_algalon_big_bang, spell_algalon_cosmic_smash, spell_algalon_cosmic_smash_damage, spell_algalon_trigger_3_adds, spell_altar_altercation_destroying, spell_altar_altercation_summon_ariok, spell_alysrazor_aggro_closest::spell_alysrazor_aggro_closest_SpellScript, spell_alysrazor_cosmetic_egg_xplosion::spell_alysrazor_cosmetic_egg_xplosion_SpellScript, spell_alysrazor_fieroblast::spell_alysrazor_fieroblast_SpellScript, spell_alysrazor_turn_monstrosity::spell_alysrazor_turn_monstrosity_SpellScript, spell_anduin_rain_of_despair_player_selector, spell_anduin_soul_lost_soul, spell_anduin_wrynn_beacon_of_hope, spell_anduin_wrynn_blasphemy, spell_anduin_wrynn_fragment_of_hope, spell_anduin_wrynn_grim_reflections, spell_anduin_wrynn_hopebreaker, spell_anduin_wrynn_hopebreaker_damage, spell_anduin_wrynn_hopelessness, spell_anduin_wrynn_kingsmourne_hungers, spell_anduin_wrynn_lost_soul_mirror_image, spell_anduin_wrynn_soul_despawn, spell_anduin_wrynn_wicked_star_selector, spell_anhuur_disable_beacon_beams, spell_anhuur_shield_of_light, spell_anraphet_alpha_beams, spell_anraphet_omega_stance_summon, spell_anub_ar_skirmisher_fixate, spell_apothecary_lingering_fumes, spell_apothecary_throw_cologne, spell_apothecary_throw_perfume, spell_apothecary_validate_area, spell_arcane_chains_character_force_cast, spell_arcane_overload, spell_archavon_rock_shards, spell_archimonde_drain_world_tree_dummy::spell_archimonde_drain_world_tree_dummy_SpellScript, spell_argaloth_fel_firestorm_forcecast, spell_assembly_meltdown::spell_assembly_meltdown_SpellScript, spell_auriaya_agro_creator, spell_auriaya_feral_essence_removal, spell_auriaya_feral_rush, spell_auriaya_sentinel_blast, spell_auriaya_strenght_of_the_pack, spell_auto_repair::spell_auto_repair_SpellScript, spell_azuremyst_isle_cast_fishing_net, spell_baleroc_blades_of_baleroc, spell_baleroc_countdown_aoe_dummy, spell_baleroc_countdown_proximity_check, spell_baleroc_decimating_strike, spell_baleroc_shards_of_torment_target_search, spell_baleroc_torment, spell_baleroc_torment_target_search, spell_baleroc_tormented_spread, spell_baltharus_enervating_brand_trigger, spell_beesbees::spell_beesbees_SpellScript, spell_black_knight_ghoul_explode, spell_black_knight_ghoul_explode_risen_ghoul, spell_blackheart_incite_chaos, spell_blood_council_shadow_prison_damage, spell_blood_mirror_selector, spell_blood_queen_bloodbolt, spell_blood_queen_pact_of_the_darkfallen, spell_blood_queen_pact_of_the_darkfallen_dmg_target, spell_blood_queen_twilight_bloodbolt, spell_blood_queen_vampiric_bite, spell_boralus_find_cyrus_objective_complete, spell_borean_tundra_arcane_prisoner_rescue, spell_borean_tundra_deliver_kodo, spell_borean_tundra_dispel_freed_soldier_debuff, spell_borean_tundra_kodo_delivered, spell_borean_tundra_nerubar_web_random_unit_not_on_quest, spell_borean_tundra_nerubar_web_random_unit_not_on_quest_dummy, spell_borean_tundra_nerubar_web_random_unit_on_quest_dummy, spell_borean_tundra_neural_needle, spell_borean_tundra_prototype_neural_needle, spell_brewfest_botm_empty_bottle_throw_resolve, spell_brewfest_botm_jungle_madness, spell_brewfest_botm_teach_language, spell_brewfest_botm_weak_alcohol, spell_brewfest_dismount_ram, spell_brewfest_mount_transformation, spell_brewfest_relay_race_intro_force_player_to_throw, spell_brewfest_relay_race_turn_in, spell_bronjahm_consume_soul, spell_bronjahm_magic_bane, spell_bronjahm_soulstorm_targeting, spell_brutallus_stomp, spell_capacitus_polarity_charge, spell_capacitus_polarity_shift, spell_chains_of_woe_1::spell_chains_of_woe_1_SpellScript, spell_chains_of_woe_4::spell_chains_of_woe_4_SpellScript, spell_chapter1_runeforging_credit, spell_clear_all, spell_commander_sarannis_summon_reinforcements, spell_crash_landed_generic< StaticCaptainNPCId >, spell_creeping_rot_selector, spell_cyanigosa_arcane_vacuum, spell_dark_slash, spell_darkfallen_blood_mirror, spell_death_knight_devour_humanoid, spell_death_knight_initiate_visual, spell_deathbringer_blood_link, spell_deathbringer_blood_nova, spell_deathbringer_blood_nova_targeting, spell_deathbringer_blood_power, spell_deathbringer_boiling_blood, spell_deathbringer_remove_marks, spell_deathbringer_rune_of_blood, spell_deathwhisper_summon_spirits, spell_defender_of_azeroth_death_gate_selector, spell_defender_of_azeroth_speak_with_mograine, spell_deliver_stolen_horse, spell_despawn_sailor_memory, spell_destroy_karangs_banner::spell_destroy_karangs_banner_SpellScript, spell_detonate_teleporter, spell_devourer_of_souls_mirrored_soul, spell_devourer_of_souls_mirrored_soul_target_selector, spell_dh_blade_dance, spell_dh_blade_dance_damage, spell_dh_glide, spell_dh_sigil_of_chains, spell_direbrew_summon_mole_machine_target_picker, spell_dk_army_transform, spell_dk_blood_boil, spell_dk_death_coil, spell_dk_death_gate, spell_dk_death_grip_initial, spell_dk_death_strike, spell_dk_festering_strike, spell_dk_ghoul_explode, spell_dk_glyph_of_scourge_strike_script, spell_dk_howling_blast, spell_dk_pet_geist_transform, spell_dk_pet_skeleton_transform, spell_dk_raise_dead, spell_dracthyr_login, spell_dracthyr_summon_dervishian, spell_dragonblight_bombard_the_ballistae_fx_master, spell_dragonblight_call_out_injured_soldier, spell_dragonblight_cancel_banshees_magic_mirror, spell_dragonblight_cancel_scarlet_raven_priest_image, spell_dragonblight_fill_blood_unholy_frost_gem, spell_dragonblight_high_executor_branding_iron, spell_dragonblight_moti_hourglass_cast_see_invis_on_master, spell_dragonblight_moti_mirror_image_script_effect, spell_dragonblight_scarlet_raven_priest_image_master, spell_dragonblight_surge_needle_teleporter, spell_dragonblight_warsong_battle_standard, spell_drakos_magic_pull, spell_dream_fog_sleep::spell_dream_fog_sleep_SpellScript, spell_dreamwalker_guardian_spirit_restriction, spell_dreamwalker_summon_dream_portal, spell_dreamwalker_summon_nightmare_portal, spell_dreamwalker_summon_suppresser_effect, spell_dreamwalker_summoner, spell_dreamwalker_twisted_nightmares, spell_dru_base_transformer, spell_dru_efflorescence, spell_dru_efflorescence_heal, spell_dru_embrace_of_the_dream_effect, spell_dru_entangling_roots, spell_dru_ferocious_bite, spell_dru_germination, spell_dru_inner_peace, spell_dru_innervate, spell_dru_moonfire, spell_dru_savage_roar, spell_dru_skull_bash, spell_dru_spring_blossoms, spell_dru_starfall_dummy, spell_dru_sunfire, spell_dru_t10_restoration_4p_bonus, spell_dru_thrash, spell_dru_travel_form_dummy, spell_dru_wild_growth, spell_dru_yseras_gift_group_heal, spell_durotar_summon_zuni, spell_dustwallow_marsh_salvage_wreckage, spell_eadric_radiance::spell_eadric_radiance_SpellScript, spell_earthrager_ptah_flame_bolt, spell_eastern_plaguelands_test_fetid_skull, spell_egg_event, spell_egg_explosion::spell_egg_explosion_SpellScript, spell_elementium_spike_shield::spell_elementium_spike_shield_SpellScript, spell_energize_aoe, spell_erupting_fissure, spell_ethereal_pet_aura_remove, spell_ethereal_pet_onsummon, spell_evo_azure_strike, spell_evo_glide, spell_evo_living_flame, spell_evo_pyre, spell_explosive_brand, spell_faction_champion_death_grip, spell_fatal_strike, spell_fathomlord_karathress_tidal_surge, spell_fel_streak_visual, spell_festergut_gastric_bloat, spell_festergut_pungent_blight, spell_firelands_fiery_torment, spell_firelands_smouldering, spell_firelands_smouldering_aura, spell_fixate, spell_fjord_mindless_abomination_explosion_fx_master, spell_fjord_mindless_abomination_ping_master, spell_fjord_rivenwood_captives_not_on_quest, spell_fjord_rivenwood_captives_on_quest, spell_fjord_the_cleansing_mirror_image_script_effect, spell_fjord_the_cleansing_on_death_cast_on_master, spell_fjord_the_cleansing_shrine_cast, spell_fjord_the_way_to_his_heart_anuniaq_net, spell_fjord_the_way_to_his_heart_quest_complete, spell_fjord_the_way_to_his_heart_reverse_cast, spell_follow_that_gyrocopter_quest_start::spell_follow_that_gyrocopter_quest_start_SpellScript, spell_force_of_earth::spell_force_of_earth_SpellScript, spell_free_webbed, spell_free_webbed_on_quest, spell_freed_killcredit_set_them_free< CreatureId >, spell_freezing_circle, spell_freezing_cloud_area_left, spell_freezing_cloud_area_right, spell_freya_attuned_to_nature_dose_reduction::spell_freya_attuned_to_nature_dose_reduction_SpellScript, spell_freya_iron_roots::spell_freya_iron_roots_SpellScript, spell_friendish_soul_explosion, spell_frost_giant_death_plague, spell_frostwarden_handler_focus_fire, spell_frostwarden_handler_order_whelp, spell_gal_darah_clear_puncture, spell_gal_darah_impaling_charge, spell_gal_darah_stampede_charge, spell_garfrost_permafrost, spell_garothi_annihilation_selector, spell_garothi_annihilation_triggered, spell_garothi_cannon_chooser, spell_garothi_decimation_selector, spell_garothi_eradication, spell_garothi_fel_bombardment_selector, spell_garothi_searing_barrage_dummy, spell_garothi_searing_barrage_selector, spell_gatewatcher_subboss_trigger, spell_gen_5000_gold, spell_gen_allow_cast_from_item_only, spell_gen_ancestral_call, spell_gen_anchor_here, spell_gen_anetheron_summon_towering_infernal, spell_gen_azgalor_rain_of_fire_hellfire_citadel, spell_gen_bandage, spell_gen_bloodlust, spell_gen_bonked, spell_gen_break_shield, spell_gen_cannibalize, spell_gen_cannon_blast, spell_gen_chaos_blast, 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_darkflight, spell_gen_decay_over_time_spell, spell_gen_decimatus_transformation_sickness, spell_gen_despawn_all_summons_owned_by_caster, spell_gen_despawn_self, spell_gen_despawn_target, spell_gen_divine_storm_cd_reset, spell_gen_ds_flush_knockback, spell_gen_eject_all_passengers, spell_gen_eject_passenger, spell_gen_eject_passenger_with_seatId, spell_gen_eject_passengers_3_8, spell_gen_feast, spell_gen_fishing, spell_gen_gadgetzan_transporter_backfire, spell_gen_gnomish_transporter, spell_gen_hate_to_50, spell_gen_hate_to_75, spell_gen_hate_to_zero, spell_gen_hate_to_zero_caster_target, spell_gen_increase_stats_buff, spell_gen_landmine_knockback_achievement, spell_gen_major_healing_cooldown_modifier, spell_gen_mark_of_kazrogal_hellfire, spell_gen_mounted_charge, spell_gen_netherbloom, spell_gen_nightmare_vine, spell_gen_oracle_wolvar_reputation, spell_gen_orc_disguise, spell_gen_pet_summoned, spell_gen_pet_wait, spell_gen_player_say, spell_gen_profession_research, spell_gen_pvp_trinket, spell_gen_random_aggro_taunt, spell_gen_remove_flight_auras, spell_gen_remove_impairing_auras, spell_gen_replenishment, spell_gen_reverse_cast_target_to_caster_triggered, spell_gen_running_wild, spell_gen_seaforium_blast, spell_gen_skinning, spell_gen_spectator_cheer_trigger, spell_gen_spirit_heal_aoe, spell_gen_spirit_healer_res, spell_gen_stand, spell_gen_submerged, spell_gen_summon_tournament_mount, spell_gen_teleporting, spell_gen_throw_shield, spell_gen_tournament_duel, spell_gen_trigger_exclude_caster_aura_spell, spell_gen_trigger_exclude_target_aura_spell, spell_gen_two_forms, spell_gen_upper_deck_create_foam_sword, spell_gen_vendor_bark_trigger, spell_gen_wg_water, spell_gen_whisper_to_controller, spell_gen_whisper_to_controller_random, spell_general_vezax_mark_of_the_faceless_leech::spell_general_vezax_mark_of_the_faceless_leech_SpellScript, spell_generic_quest_update_entry_SpellScript, spell_generic_remove_empowered_blood, spell_gift_of_the_harvester, spell_gluth_decimate, spell_gluth_zombiechow_search, spell_gothik_shadow_bolt_volley, spell_grab_on, spell_gravity_well_damage::spell_gravity_well_damage_SpellScript, spell_gravity_well_damage_nearby::spell_gravity_well_damage_nearby_SpellScript, spell_gravity_well_pull::spell_gravity_well_pull_SpellScript, spell_gruul_shatter::spell_gruul_shatter_SpellScript, spell_gruul_shatter_effect::spell_gruul_shatter_effect_SpellScript, spell_guardians_breath, spell_guardians_breath_color_selector, spell_gurtogg_bloodboil_bloodboil, spell_gurtogg_bloodboil_insignificance, spell_hadronox_web_doors, spell_halion_blazing_aura::spell_halion_blazing_aura_SpellScript, spell_halion_clear_debuffs::spell_halion_clear_debuffs_SpellScript, spell_halion_damage_aoe_summon::spell_halion_damage_aoe_summon_SpellScript, spell_halion_spawn_living_embers::spell_halion_spawn_living_embers_SpellScript, spell_halion_summon_exit_portals::spell_halion_summon_exit_portals_SpellScript, spell_halion_twilight_cutter::spell_halion_twilight_cutter_SpellScript, spell_halion_twilight_phasing::spell_halion_twilight_phasing_SpellScript, spell_hallow_end_candy, spell_hallow_end_trick, spell_hallow_end_trick_or_treat, spell_hallow_end_tricky_treat, spell_hallow_end_wand, spell_headless_horseman_command_head_request_body, spell_headless_horseman_head_is_dead, spell_headless_horseman_head_reposition, spell_headless_horseman_return_head, spell_headless_horseman_send_head, spell_headless_horseman_sprouting, spell_headless_horseman_wisp_teleport, spell_headlong_charge_trigger, spell_heigan_eruption, spell_hellfire_peninsula_send_vengeance, spell_hellfire_peninsula_send_vengeance_to_player, spell_hor_evasion::spell_hor_evasion_SpellScript, spell_hor_quel_delars_will, spell_hor_start_halls_of_reflection_quest_ae::spell_hor_start_halls_of_reflection_quest_ae_SpellScript, spell_hun_exhilaration, spell_hun_last_stand_pet, spell_hun_latent_poison_damage, spell_hun_latent_poison_injectors_damage, spell_hun_latent_poison_injectors_trigger, spell_hun_latent_poison_trigger, spell_hun_masters_call, spell_hun_multi_shot, spell_hun_pet_heart_of_the_phoenix, spell_hun_posthaste, spell_hun_rapid_fire_damage, spell_hun_scatter_shot, spell_hun_steady_shot, spell_hun_tame_beast, spell_husam_bad_intentions, spell_husam_detonate_traps, spell_husam_hurl, spell_husam_land_mine_player_search_effect, spell_husam_shockwave, spell_husam_shockwave_summon_search, spell_icc_harvest_blight_specimen, spell_icc_soul_missile, spell_icc_spirit_alarm, spell_ice_bombardment_dest_picker, spell_ice_spear_target_picker, spell_icecrown_chum_the_water, spell_icecrown_pound_drum, spell_icecrown_summon_freed_crusader, spell_icecrown_summon_tualiq_proxy, spell_icecrown_the_ocular_on_death, spell_icecrown_through_the_eye_kill_credit_to_master, spell_icehowl_arctic_breath, spell_icehowl_trample, spell_ichoron_merge, spell_igb_below_zero, spell_igb_burning_pitch, spell_igb_burning_pitch_selector, spell_igb_cannon_blast, spell_igb_check_for_players, 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_illidan_agonizing_flames, spell_illidan_akama_teleport, spell_illidan_cage_teleport, spell_illidan_cage_trap, spell_illidan_despawn_akama, spell_illidan_draw_soul, spell_illidan_find_target, spell_illidan_flame_blast, spell_illidan_flame_burst, spell_illidan_return_glaives, spell_illidan_throw_warglaive, spell_illidari_council_empyreal_balance, spell_illidari_council_empyreal_equivalency, spell_illidari_council_judgement, spell_impale, spell_ingvar_summon_banshee, spell_ioc_gunship_portal, spell_ioc_launch, spell_ioc_seaforium_blast_credit, spell_item_ashbringer, spell_item_bastion_of_might, spell_item_blessing_of_faith, spell_item_book_of_glyph_mastery, spell_item_bracing_chill_search_jump_target, spell_item_brittle_armor, spell_item_chicken_cover, spell_item_complete_raptor_capture, spell_item_crazy_alchemists_potion, spell_item_deadly_precision_dummy, spell_item_decahedral_dwarven_dice, spell_item_defibrillate::spell_item_defibrillate_SpellScript, spell_item_demon_broiled_surprise, spell_item_deviate_fish, spell_item_dimensional_ripper_area52, spell_item_dimensional_ripper_everlook, spell_item_echoes_of_light, spell_item_echoing_blades_damage, spell_item_eggnog, spell_item_feast, spell_item_flask_of_the_north, spell_item_gift_of_the_harvester, spell_item_gnomish_death_ray, spell_item_goblin_bomb_dispenser, spell_item_goblin_weather_machine, spell_item_greatmothers_soulcatcher, spell_item_hourglass_sand, spell_item_impale_leviroth, spell_item_lifegiving_gem, spell_item_mad_alchemists_potion, spell_item_make_a_wish, spell_item_map_of_the_geyser_fields, spell_item_mercurial_shield, spell_item_mind_control_cap, 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_boosts, spell_item_noggenfogger_elixir, spell_item_phial_of_the_arcane_tempest_damage, spell_item_piccolo_of_the_flaming_fire, spell_item_poultryizer, spell_item_purify_helboar_meat, spell_item_pygmy_oil, spell_item_red_rider_air_rifle, spell_item_rocket_boots, spell_item_runic_healing_injector, spell_item_savory_deviate_delight, spell_item_scroll_of_recall, spell_item_seeping_scourgewing_aoe_check, spell_item_six_demon_bag, spell_item_socrethars_stone, spell_item_strength_in_numbers, spell_item_taunt_flag_targeting, spell_item_toy_train_set_pulse, spell_item_trigger_spell::spell_item_trigger_spell_SpellScript, spell_item_ultrasafe_transporter, spell_item_underbelly_elixir, spell_item_universal_remote, spell_item_unusual_compass, spell_item_vanquished_clutches, spell_item_wormhole_pandaria, spell_item_worn_troll_dice, spell_jaws_of_death_claw_swipe_pct_damage, spell_jormungars_burning_bile, spell_jormungars_snakes_spray, spell_kael_gravity_lapse, spell_kaelthas_remove_weapons, spell_kaelthas_summon_weapons, spell_kalecgos_spectral_blast, spell_kalecgos_spectral_realm_trigger, spell_kalecgos_tap_check, spell_knockback_charge_enhanced_training, spell_knockback_hint_q56034, spell_kologarn_stone_shout::spell_kologarn_stone_shout_SpellScript, spell_kologarn_summon_focused_eyebeam::spell_kologarn_summon_focused_eyebeam_SpellScript, spell_koralon_meteor_fists_damage, spell_kormok_summon_bone_mages::spell_kormok_summon_bone_magesSpellScript, spell_kormok_summon_bone_minions::spell_kormok_summon_bone_minionsSpellScript, spell_krick_pursuit, spell_krystallus_shatter, spell_krystallus_shatter_effect, spell_kultiras_skip_intro, spell_ley_line_sprouts, spell_lich_king_teleport_corpse, spell_lick_selector_guarm, spell_lockmaw_scent_of_blood, spell_loken_pulsing_shockwave, spell_loosen_grip< StacksToLose >, spell_love_is_in_the_air_cancel_service_uniform, spell_love_is_in_the_air_create_heart_candy, spell_love_is_in_the_air_fragrant_air_analysis, spell_love_is_in_the_air_perfume_cologne_immune, spell_low_health::spell_low_health_SpellScript, spell_low_health_trigger, spell_lunar_festival_elune_candle, spell_mage_alter_time_active, spell_mage_arcane_barrage, spell_mage_arcane_charge_clear, spell_mage_arcane_explosion, spell_mage_blizzard_damage, spell_mage_cauterize, spell_mage_cold_snap, spell_mage_comet_storm, spell_mage_comet_storm_damage, spell_mage_cone_of_cold, spell_mage_conjure_refreshment, spell_mage_ethereal_blink_triggered, spell_mage_firestarter, spell_mage_flurry, spell_mage_flurry_damage, spell_mage_frostbolt, spell_mage_ice_block, spell_mage_ice_lance, spell_mage_ice_lance_damage, spell_mage_living_bomb, spell_mage_living_bomb_explosion, spell_mage_polymorph_visual, spell_mage_ray_of_frost, spell_mage_ring_of_frost_freeze, spell_mage_supernova, spell_mage_water_elemental_freeze, spell_magtheridon_blaze_target, spell_magus_telestra_summon_clones, spell_malygos_arcane_storm, spell_malygos_random_portal, spell_malygos_surge_of_power_25, spell_malygos_surge_of_power_warning_selector_25, spell_malygos_vortex_dummy, spell_mandokir_decapitate, spell_mandokir_devastating_slam, spell_mandokir_ohgan_orders, spell_mandokir_reanimate_ohgan, spell_mandokir_spirit_vengeance_cancel, spell_mardum_baleful_beaming_gaze_selector, spell_mardum_coloss_infernal_smash_selector, spell_mark_of_kazrogal::spell_mark_of_kazrogal_SpellScript, spell_mark_of_nature::spell_mark_of_nature_SpellScript, 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_fling_torch_catch, spell_midsummer_fling_torch_missed, spell_midsummer_fling_torch_triggered, spell_midsummer_juggle_torch, spell_midsummer_torch_catch, spell_midsummer_torch_target_picker, spell_midsummer_torch_toss_land, spell_mimiron_bomb_bot::spell_mimiron_bomb_bot_SpellScript, spell_mimiron_clear_fires::spell_mimiron_clear_fires_SpellScript, spell_mimiron_despawn_assault_bots::spell_mimiron_despawn_assault_bots_SpellScript, spell_mimiron_fire_search::spell_mimiron_fire_search_SpellScript, spell_mimiron_magnetic_core::spell_mimiron_magnetic_core_SpellScript, spell_mimiron_magnetic_core_summon, spell_mimiron_napalm_shell::spell_mimiron_napalm_shell_SpellScript, spell_mimiron_plasma_blast::spell_mimiron_plasma_blast_SpellScript, spell_mimiron_proximity_explosion::spell_mimiron_proximity_explosion_SpellScript, spell_mimiron_proximity_mines::spell_mimiron_proximity_mines_SpellScript, spell_mimiron_proximity_trigger::spell_mimiron_proximity_trigger_SpellScript, spell_mimiron_rocket_strike::spell_mimiron_rocket_strike_SpellScript, spell_mimiron_rocket_strike_damage::spell_mimiron_rocket_strike_damage_SpellScript, spell_mimiron_rocket_strike_target_select::spell_mimiron_rocket_strike_target_select_SpellScript, spell_mimiron_self_repair::spell_mimiron_self_repair_SpellScript, spell_mimiron_summon_assault_bot_target::spell_mimiron_summon_assault_bot_target_SpellScript, spell_mimiron_summon_fire_bot_target::spell_mimiron_summon_fire_bot_target_SpellScript, spell_mimiron_summon_flames_spread::spell_mimiron_summon_flames_spread_SpellScript, spell_mimiron_summon_frost_bomb_target::spell_mimiron_summon_frost_bomb_target_SpellScript, spell_mimiron_summon_junk_bot_target::spell_mimiron_summon_junk_bot_target_SpellScript, spell_mistress_kiss_area, spell_mixed_elements< SpellId1, SpellId2 >, spell_monk_life_cocoon, spell_monk_provoke, spell_monk_roll, spell_mother_shahraz_fatal_attraction, spell_mother_shahraz_fatal_attraction_link, spell_multi_headed_damage_guarm, spell_murmur_sonic_boom, spell_murmur_sonic_boom_effect, spell_murmur_thundering_storm, spell_muru_darkness, spell_nagrand_fire_bomb_damage_missile, spell_nagrand_fire_bomb_target_summon_effect, spell_nagrand_fire_bomb_target_summon_trigger, spell_najentus_needle_spine, spell_nether_dragon_essence_2::spell_nether_dragon_essence_2_SpellScript, spell_nexus_lord_align_disk_aggro, spell_novos_summon_minions, spell_occuthar_eyes_of_occuthar::spell_occuthar_eyes_of_occuthar_SpellScript, spell_occuthar_eyes_of_occuthar_vehicle::spell_occuthar_eyes_of_occuthar_vehicle_SpellScript, spell_occuthar_focused_fire::spell_occuthar_focused_fire_SpellScript, spell_oculus_call_ruby_emerald_amber_drake, spell_oculus_shock_lance, spell_oculus_touch_the_nightmare, spell_ooze_zap, spell_ooze_zap_channel_end, spell_ormorok_summon_crystal_spikes, spell_oscillating_field::spell_oscillating_field_SpellScript, spell_pal_blessing_of_protection, spell_pal_blinding_light, spell_pal_divine_shield, spell_pal_divine_steed, spell_pal_divine_storm, spell_pal_glyph_of_holy_light, spell_pal_hammer_of_the_righteous, spell_pal_holy_prism, spell_pal_holy_prism_selector, spell_pal_holy_shock, spell_pal_holy_shock_damage_visual, spell_pal_holy_shock_heal_visual, spell_pal_judgment, spell_pal_lay_on_hands, spell_pal_light_hammer_init_summon, spell_pal_moment_of_glory, spell_pal_shield_of_the_righteous, spell_pal_templar_s_verdict, spell_palehoof_awaken_gortok, spell_palehoof_awaken_subboss, spell_palehoof_crazed_effect, spell_paletress_summon_memory::spell_paletress_summon_memory_SpellScript, spell_paralyze_pinnacle, spell_pet_gen_lich_pet_aura_remove, spell_pet_gen_lich_pet_focus, spell_pet_gen_lich_pet_onsummon, spell_pilgrims_bounty_feast_on, spell_pilgrims_bounty_on_plate, spell_pilgrims_bounty_turkey_tracker, spell_pilgrims_bounty_well_fed, spell_place_seaforium_charge, spell_pos_ice_shards, spell_pot_check, spell_powering_up, spell_pri_abyssal_reverie, spell_pri_angelic_feather_trigger, spell_pri_atonement_effect, spell_pri_benediction, spell_pri_circle_of_healing, spell_pri_dark_indulgence, spell_pri_divine_service, spell_pri_divine_star_shadow, spell_pri_essence_devourer_heal, spell_pri_evangelism, spell_pri_focused_mending, spell_pri_halo_shadow, spell_pri_holy_10_1_class_set_4pc, spell_pri_holy_word_salvation, spell_pri_holy_word_salvation_cooldown_reduction, spell_pri_leap_of_faith_effect_trigger, spell_pri_levitate, spell_pri_lights_wrath, spell_pri_pain_transformation, spell_pri_penance, spell_pri_phantasm, spell_pri_power_of_the_dark_side_damage_bonus, spell_pri_power_of_the_dark_side_healing_bonus, spell_pri_power_word_radiance, spell_pri_power_word_solace, spell_pri_prayer_of_mending, spell_pri_prayer_of_mending_SpellScriptBase, spell_pri_purge_the_wicked, spell_pri_purge_the_wicked_dummy, spell_pri_rapture, spell_pri_schism, spell_pri_shadow_covenant, spell_pri_shadow_mend, spell_pri_vampiric_embrace_target, spell_prince_taldaram_conjure_flame_sphere, spell_prince_taldaram_flame_sphere_summon, spell_pursue::spell_pursue_SpellScript, spell_putricide_choking_gas_bomb, spell_putricide_choking_gas_filter, 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_aura, spell_putricide_unbound_plague, spell_putricide_unstable_experiment, spell_pvp_trinket_wotf_shared_cd< TriggeredSpellId >, spell_q11010_q11102_q11023_aggro_check, spell_q11010_q11102_q11023_choose_loc, spell_q11010_q11102_q11023_q11008_check_fly_mount, spell_q11306_failed_mix_43376, spell_q11306_failed_mix_43378, spell_q11306_mixing_blood, spell_q11306_mixing_vrykul_blood, spell_q11396_11399_scourging_crystal_controller, spell_q11396_11399_scourging_crystal_controller_dummy, spell_q11653_shortening_blaster, spell_q11719_bloodspore_ruination_45997, spell_q11730_ultrasonic_screwdriver, spell_q11896_weakness_to_lightning_46444, spell_q12066_bunny_kill_credit, spell_q12096_q12092_bark, spell_q12096_q12092_dummy, spell_q12308_escape_from_silverbrook, spell_q12308_escape_from_silverbrook_summon_worgen, spell_q12372_cast_from_gossip_trigger, spell_q12372_destabilize_azure_dragonshrine_dummy, spell_q12414_hand_over_reins, spell_q12459_seeds_of_natures_wrath, spell_q12527_zuldrak_rat, 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_recall_eye_of_acherus, spell_q12659_ahunaes_knife, spell_q12661_q12669_q12676_q12677_q12713_summon_stefan, spell_q12688_detonate_1, spell_q12688_detonate_2, spell_q12690_burst_at_the_seams_52510, spell_q12805_lifeblood_dummy, spell_q12847_summon_soul_moveto_bunny, spell_q12919_gymers_grab, spell_q12919_gymers_throw, spell_q13086_cannons_target, spell_q13264_q13276_q13288_q13289_area_restrict_abom, spell_q13264_q13276_q13288_q13289_assign_credit_to_master, spell_q13264_q13276_q13288_q13289_burst_at_the_seams_59576, spell_q13280_13283_jump_jets, 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_q13400_illidan_kill_master, spell_q13665_q13790_bested_trigger, spell_q14100_q14111_make_player_destroy_totems, spell_q14386_call_attack_mastiffs, spell_q28813_get_our_boys_back_dummy::spell_q28813_get_our_boys_back_dummy_SpellScript, spell_q28813_set_health_random::spell_q28813_set_health_random_SpellScript, spell_q6124_6129_apply_salve, spell_quest_portal_with_condition, spell_quest_uther_grom_tribute, spell_rajaxx_thundercrash, spell_random_ingredient, spell_random_lightning_visual_effect, spell_razelikh_teleport_group, spell_razorscale_firebolt, spell_razorscale_flame_breath, spell_razorscale_summon_iron_dwarves, spell_re_sizing_q56034, spell_re_sizing_q59941, spell_reliquary_of_souls_frenzy, spell_remnant_of_a_fallen_king_army_of_the_dead, spell_remnant_of_a_fallen_king_remorseless_winter_damage, spell_remnant_of_a_fallen_king_soul_reaper, spell_remove_kargath_executioner::spell_remove_kargath_executioner_SpellScript, spell_request_second_mug, spell_resizer_hit_one_two_q56034_q59941, spell_resizer_hit_three_q56034, spell_rimefang_icy_blast, spell_roaring_leap_selector, spell_rog_backstab, spell_rog_deadly_poison, spell_rog_envenom, spell_rog_eviscerate, spell_rog_killing_spree, spell_rog_pickpocket, spell_rog_roll_the_bones, spell_rog_shadowstrike, spell_rog_sinister_strike, spell_rog_symbols_of_death, spell_rog_tricks_of_the_trade, spell_rog_vanish, spell_rotface_large_ooze_buff_combine, spell_rotface_large_ooze_combine, spell_rotface_little_ooze_combine, spell_rotface_mutated_infection, spell_rotface_ooze_flood, spell_rotface_slime_spray, spell_rotface_unstable_ooze_explosion, spell_rotface_unstable_ooze_explosion_init, spell_rotface_vile_gas_trigger, spell_ruby_life_pools_storm_infusion, spell_ruby_sanctum_rallying_shout, spell_ruumbos_silly_dance::spell_ruumbos_silly_dance_SpellScript, spell_s81028_s80650_stalactite::spell_s81028_s80650_stalactite_SpellScript, spell_s81035_stalactite::spell_s81035_stalactite_SpellScript, spell_s92300_crystal_storm::spell_s92300_crystal_storm_SpellScript, spell_s92306_crystal_storm::spell_s92306_crystal_storm_SpellScript, spell_sanguine_feast_selector, spell_sapphiron_despawn_buffet, spell_sapphiron_summon_blizzard, spell_sappy_burst, spell_saviana_conflagration_init, spell_saviana_conflagration_throwback, spell_sc_quake::spell_sc_quake_SpellScript, spell_sc_twilight_documents::spell_sc_twilight_documents_SpellScript, spell_scene_linger_northbound, spell_scion_of_eternity_arcane_barrage, spell_seismic_shard::spell_seismic_shard_SpellScript, spell_seismic_shard_change_seat::spell_seismic_shard_change_seat_SpellScript, spell_send_mug_target_picker, spell_sha_ancestral_guidance_heal, spell_sha_chain_lightning, spell_sha_chain_lightning_overload, spell_sha_crash_lightning, spell_sha_downpour, spell_sha_earth_shock, spell_sha_earthquake, spell_sha_earthquake_tick, spell_sha_elemental_blast, spell_sha_flametongue_weapon, spell_sha_healing_rain, spell_sha_healing_rain_target_limit, spell_sha_healing_stream_totem_heal, spell_sha_lava_burst, spell_sha_lava_crit_chance, spell_sha_lava_surge_proc, spell_sha_lightning_bolt, spell_sha_lightning_bolt_overload, spell_sha_liquid_magma_totem, spell_sha_mastery_elemental_overload_proc, spell_sha_path_of_flames_spread, spell_sha_restorative_mists, spell_sha_windfury_weapon, spell_sha_windspeakers_lava_resurgence, spell_shadow_portal::spell_shadow_portal_SpellScript, spell_shadow_portal_rooms::spell_shadow_portal_rooms_SpellScript, spell_shadowmoon_quest_credit_crazed_colossus, spell_shazzrah_gate_dummy, spell_sholazar_flight_to_sholazar, spell_sholazar_lightning_strike, spell_sholazar_song_of_cleansing, spell_sholazar_sputum_collected, spell_sholazar_take_sputum_sample, spell_shredder_delivery, spell_siege_cannon::spell_siege_cannon_SpellScript, spell_silverpine_despawn_all_summons_steel_thunder, spell_silverpine_forsaken_trooper_masterscript_fenris_isle, spell_silverpine_forsaken_trooper_masterscript_high_command, spell_silverpine_free_webbed_victim_random, spell_silverpine_notify_agatha, spell_silverpine_pick_up_orc_crate, spell_silverpine_release_diseased_mutant_bush_chicken, spell_silverpine_summon_fenris_keep_actors, spell_sindragosa_frost_breath, spell_sindragosa_ice_tomb_target, spell_sindragosa_icy_grip, spell_sindragosa_mystic_buffet, spell_sindragosa_s_fury, spell_sindragosa_unchained_magic, spell_skadi_launch_harpoon, spell_skadi_poisoned_spear, spell_skadi_reset_check, spell_skeram_arcane_explosion::spell_skeram_arcane_explosion_SpellScript, spell_skeram_true_fulfillment::spell_skeram_true_fulfillment_SpellScript, spell_skyguard_flare, spell_slippery_floor_periodic, spell_snufflenose_command::spell_snufflenose_commandSpellScript, spell_soul_fragment_anger, spell_spawn_blood_pool, spell_spirit_totem, spell_stalactite_mod_dest_height::spell_stalactite_mod_dest_height_SpellScript, spell_stinky_precious_decimate, spell_storm_peaks_bear_flank_master, spell_storm_peaks_call_of_earth, spell_storm_peaks_mammoth_explosion_master, spell_storm_peaks_remove_collapsing_cave_aura, spell_storm_peaks_unstable_explosive_detonation, spell_stratholme_crusader_strike, spell_subjugator_korul_darkness_calls::spell_subjugator_korul_darkness_calls_SpellScript, spell_summon_battle_pet, spell_summon_blood_elves_script, spell_summon_combat_trainer, spell_summon_darkmaul_plains_questgivers_q55879, spell_summon_guardian_q56034_q59941, spell_summon_leader_northbound, spell_summon_random_drakkari, spell_summon_sparring_partner, spell_summon_survivor_beach, spell_summon_wave_south::spell_summon_wave_south_SpellScript, spell_summon_wave_west::spell_summon_wave_west_SpellScript, spell_svalna_remove_spear, spell_svalna_revive_champion, spell_swipe_honey::spell_swipe_honey_SpellScript, spell_taint_of_ghuun, spell_taldaram_ball_of_inferno_flame, spell_taldaram_glittering_sparks, spell_taldaram_summon_flame_ball, spell_talon_king_ikiss_blink, spell_telash_absolute_zero_cast, spell_telash_absolute_zero_damage, spell_telash_activate_vault_rune, spell_telash_frost_bomb_cast, spell_terokkar_cancel_shadowy_disguise, spell_terokkar_free_webbed, spell_terokkar_free_webbed_on_quest, spell_terokkar_shadowy_disguise_cast_from_questgiver, spell_teron_gorefiend_shadow_of_death_remove, spell_thaddius_magnetic_pull, spell_thaddius_polarity_charge, spell_thaddius_polarity_shift, 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_black_stalker_summon_spore_strider, spell_the_lich_king_cast_back_to_caster, spell_the_lich_king_defile, spell_the_lich_king_harvest_souls_teleport, 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_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_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_thorim_arena_leap::spell_thorim_arena_leap_SpellScript, spell_thorim_charge_orb::spell_thorim_charge_orb_SpellScript, spell_thorim_frostbolt_volley::spell_thorim_frostbolt_volley_SpellScript, spell_thorim_lightning_charge::spell_thorim_lightning_charge_SpellScript, spell_thorim_runic_smash::spell_thorim_runic_smash_SpellScript, spell_thorim_stormhammer::spell_thorim_stormhammer_SpellScript, spell_thorim_stormhammer_boomerang::spell_thorim_stormhammer_boomerang_SpellScript, spell_thorim_stormhammer_sif::spell_thorim_stormhammer_sif_SpellScript, spell_toc_bloodlust, spell_toc_heroism, spell_toravon_random_aggro, spell_torghast_dimensional_blade, spell_torghast_potent_potion_calc, spell_torghast_yelshirs_powerglove, spell_trigger_ariok_altar_altercation, spell_trigger_spell_from_caster, spell_trollgore_consume, spell_trollgore_invader_taunt, spell_tutorial_health_dnt, spell_tyrannus_rimefang_icy_blast, spell_ulduar_cancel_stone_grip::spell_ulduar_cancel_stone_gripSpellScript, spell_ulduar_rubble_summon::spell_ulduar_rubble_summonSpellScript, spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript, spell_ulduar_stone_grip_cast_target::spell_ulduar_stone_grip_cast_target_SpellScript, spell_ulduar_teleporter, spell_undercity_bending_shinbone, spell_unlocking_zuluheds_chains::spell_unlocking_zuluheds_chains_SpellScript, spell_valanar_kinetic_bomb, spell_valanar_kinetic_bomb_knockback, spell_validated_quest_accept_briarpatch_alliance, spell_validated_quest_accept_briarpatch_horde, spell_varos_energize_core_area_enemy, spell_varos_energize_core_area_entry, spell_vehicle_throw_passenger::spell_vehicle_throw_passenger_SpellScript, spell_vehicle_warhead_fuse, spell_violet_hold_teleport_player, spell_volatile_foam, spell_volatile_foam_initial, spell_volatile_foam_selector< ExcludeSpellId >, spell_volazj_whisper, spell_voljin_war_drums, spell_volkhan_shattering_stomp, spell_volkhan_temper_dummy, spell_voodoo, spell_vp_slipstream, spell_vp_slipstream_shortcut, spell_warhead_detonate, spell_warl_banish, spell_warl_burning_rush, spell_warl_chaos_bolt, spell_warl_create_healthstone, spell_warl_devour_magic, spell_warl_haunt, spell_warl_healthstone_heal, spell_warl_immolate, spell_warl_random_sayaad, spell_warl_sayaad_precast_disorientation, spell_warl_seduction, spell_warl_seed_of_corruption, spell_warl_shadow_bolt, spell_warl_soul_swap, spell_warl_soul_swap_dot_marker, spell_warl_soul_swap_exhale, spell_warl_soulshatter, spell_warl_strengthen_pact_incubus, spell_warl_strengthen_pact_succubus, spell_warl_summon_sayaad, spell_warr_bloodthirst, spell_warr_charge, spell_warr_charge_effect, spell_warr_colossus_smash, spell_warr_heroic_leap, spell_warr_heroic_leap_jump, spell_warr_impending_victory, spell_warr_intimidating_shout, spell_warr_mortal_strike, spell_warr_rallying_cry, spell_warr_shield_block, spell_warr_shield_charge, spell_warr_shockwave, spell_warr_storm_bolt, spell_warr_victory_rush, spell_wild_eruption, spell_winter_veil_mistletoe, spell_winter_veil_px_238_winter_wondervolt, spell_winter_veil_reindeer_transformation, spell_wintergrasp_defender_teleport, spell_wintergrasp_defender_teleport_trigger, spell_wintergrasp_force_building, spell_wintergrasp_grab_passenger, spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger, spell_wyrmrest_skytalon_summon_red_dragon_buddy, spell_xevozz_summon_players, spell_xt002_energy_orb, spell_xt002_gravity_bomb_damage, spell_xt002_heart_overload_periodic, spell_xt002_tympanic_tantrum, spell_yogg_saron_boil_ominously::spell_yogg_saron_boil_ominously_SpellScript, spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_SpellScript, spell_yogg_saron_cancel_illusion_room_aura::spell_yogg_saron_cancel_illusion_room_aura_SpellScript, spell_yogg_saron_empowering_shadows_missile::spell_yogg_saron_empowering_shadows_missile_SpellScript, spell_yogg_saron_empowering_shadows_range_check::spell_yogg_saron_empowering_shadows_range_check_SpellScript, spell_yogg_saron_in_the_maws_of_the_old_god::spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript, spell_yogg_saron_induce_madness::spell_yogg_saron_induce_madness_SpellScript, spell_yogg_saron_insane_periodic::spell_yogg_saron_insane_periodic_SpellScript, spell_yogg_saron_lunge::spell_yogg_saron_lunge_SpellScript, spell_yogg_saron_match_health::spell_yogg_saron_match_health_SpellScript, spell_yogg_saron_revealed_tentacle::spell_yogg_saron_revealed_tentacle_SpellScript, spell_yogg_saron_sanity::spell_yogg_saron_sanity_SpellScript, spell_yogg_saron_shattered_illusion::spell_yogg_saron_shattered_illusion_SpellScript, spell_yogg_saron_target_selectors::spell_yogg_saron_target_selectors_SpellScript, spell_yogg_saron_titanic_storm::spell_yogg_saron_titanic_storm_SpellScript, spell_ysida_saved_credit, spell_zuldrak_chains_of_the_scourge, spell_zuldrak_cocooned_not_on_quest, spell_zuldrak_cocooned_on_quest, spell_zuldrak_drop_disguise, and spell_zuldrak_scourgewagon_explosion.

Classes

class  BeforeHitHandler
 
class  CastHandler
 
class  CheckCastHandler
 
class  DamageAndHealingCalcHandler
 
class  DestinationTargetSelectHandler
 
class  EffectBase
 
class  EffectHandler
 
class  HitHandler
 
class  ObjectAreaTargetSelectHandler
 
class  ObjectTargetSelectHandler
 
class  OnCalcCritChanceHandler
 
class  OnCalculateResistAbsorbHandler
 
class  TargetHook
 

Public Member Functions

 SpellScript ()
 
 ~SpellScript ()
 
bool _Validate (SpellInfo const *entry) override
 
bool _Load (Spell *spell)
 
void _InitHit ()
 
bool _IsEffectPrevented (SpellEffIndex effIndex) const
 
bool _IsDefaultEffectPrevented (SpellEffIndex effIndex) const
 
void _PrepareScriptCall (SpellScriptHookType hookType)
 
void _FinishScriptCall ()
 
bool IsInCheckCastHook () const
 
bool IsAfterTargetSelectionPhase () const
 
bool IsInTargetHook () const
 
bool IsInModifiableHook () const
 
bool IsInHitPhase () const
 
bool IsInEffectHook () const
 
virtual void OnPrecast ()
 
virtual int32 CalcCastTime (int32 castTime)
 
UnitGetCaster () const
 
GameObjectGetGObjCaster () const
 
UnitGetOriginalCaster () const
 
SpellInfo const * GetSpellInfo () const
 
SpellEffectInfo const & GetEffectInfo (SpellEffIndex effIndex) const
 
SpellValue const * GetSpellValue () const
 
WorldLocation const * GetExplTargetDest () const
 
void SetExplTargetDest (WorldLocation const &loc)
 
WorldObjectGetExplTargetWorldObject () const
 
UnitGetExplTargetUnit () const
 
GameObjectGetExplTargetGObj () const
 
ItemGetExplTargetItem () const
 
int64 GetUnitTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetGameObjectTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetItemTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetCorpseTargetCountForEffect (SpellEffIndex effect) const
 
UnitGetHitUnit () const
 
CreatureGetHitCreature () const
 
PlayerGetHitPlayer () const
 
ItemGetHitItem () const
 
GameObjectGetHitGObj () const
 
CorpseGetHitCorpse () const
 
WorldLocationGetHitDest () const
 
int32 GetHitDamage () const
 
void SetHitDamage (int32 damage)
 
void PreventHitDamage ()
 
int32 GetHitHeal () const
 
void SetHitHeal (int32 heal)
 
void PreventHitHeal ()
 
bool IsHitCrit () const
 
SpellGetSpell () const
 
AuraGetHitAura (bool dynObjAura=false) const
 
void PreventHitAura ()
 
void PreventHitEffect (SpellEffIndex effIndex)
 
void PreventHitDefaultEffect (SpellEffIndex effIndex)
 
SpellEffectInfo const & GetEffectInfo () const
 
int32 GetEffectValue () const
 
void SetEffectValue (int32 value)
 
float GetEffectVariance () const
 
void SetEffectVariance (float variance)
 
ItemGetCastItem () const
 
void CreateItem (uint32 itemId, ItemContext context)
 
SpellInfo const * GetTriggeringSpell () const
 
void FinishCast (SpellCastResult result, int32 *param1=nullptr, int32 *param2=nullptr)
 
void SetCustomCastResultMessage (SpellCustomErrors result)
 
Difficulty GetCastDifficulty () const
 
- Public Member Functions inherited from SpellScriptBase
 SpellScriptBase ()
 
virtual ~SpellScriptBase ()
 
 SpellScriptBase (SpellScriptBase const &right)=delete
 
 SpellScriptBase (SpellScriptBase &&right)=delete
 
SpellScriptBaseoperator= (SpellScriptBase const &right)=delete
 
SpellScriptBaseoperator= (SpellScriptBase &&right)=delete
 
void _Register ()
 
void _Unload ()
 
void _Init (std::string const &scriptname, uint32 spellId)
 
std::string_view GetScriptName () const
 
virtual void Register ()=0
 
virtual bool Validate (SpellInfo const *spellInfo)
 
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< EffectHandlerOnEffectSuccessfulDispel
 
HookList< BeforeHitHandlerBeforeHit
 
HookList< HitHandlerOnHit
 
HookList< HitHandlerAfterHit
 
HookList< OnCalcCritChanceHandlerOnCalcCritChance
 
HookList< ObjectAreaTargetSelectHandlerOnObjectAreaTargetSelect
 
HookList< ObjectTargetSelectHandlerOnObjectTargetSelect
 
HookList< DestinationTargetSelectHandlerOnDestinationTargetSelect
 
HookList< DamageAndHealingCalcHandlerCalcDamage
 
HookList< DamageAndHealingCalcHandlerCalcHealing
 
HookList< OnCalculateResistAbsorbHandlerOnCalculateResistAbsorb
 

Private Attributes

Spellm_spell
 
uint32 m_hitPreventEffectMask
 
uint32 m_hitPreventDefaultEffectMask
 

Additional Inherited Members

- Static Public Member Functions inherited from SpellScriptBase
static bool ValidateSpellInfo (std::initializer_list< uint32 > spellIds)
 
template<class T >
static bool ValidateSpellInfo (T const &spellIds)
 
static bool ValidateSpellEffect (std::initializer_list< std::pair< uint32, SpellEffIndex > > effects)
 
template<class T >
static bool ValidateSpellEffect (T const &spellEffects)
 
- Protected Types inherited from SpellScriptBase
template<typename ScriptFunc >
using GetScriptClass_t = typename GetScriptClass< ScriptFunc >::type
 
virtual bool _Validate (SpellInfo const *entry)
 
- Protected Attributes inherited from SpellScriptBase
uint8 m_currentScriptState
 
std::string_view m_scriptName
 
uint32 m_scriptSpellId
 

Detailed Description

Definition at line 246 of file SpellScript.h.

Constructor & Destructor Documentation

◆ SpellScript()

SpellScript::SpellScript ( )

Definition at line 251 of file SpellScript.cpp.

◆ ~SpellScript()

SpellScript::~SpellScript ( )
default

Member Function Documentation

◆ _FinishScriptCall()

void SpellScript::_FinishScriptCall ( )

Definition at line 335 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ _InitHit()

void SpellScript::_InitHit ( )

Definition at line 324 of file SpellScript.cpp.

◆ _IsDefaultEffectPrevented()

bool SpellScript::_IsDefaultEffectPrevented ( SpellEffIndex  effIndex) const
inline

Definition at line 797 of file SpellScript.h.

◆ _IsEffectPrevented()

bool SpellScript::_IsEffectPrevented ( SpellEffIndex  effIndex) const
inline

Definition at line 796 of file SpellScript.h.

◆ _Load()

bool SpellScript::_Load ( Spell spell)

Definition at line 315 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ _PrepareScriptCall()

void SpellScript::_PrepareScriptCall ( SpellScriptHookType  hookType)

Definition at line 330 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ _Validate()

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

Reimplemented from SpellScriptBase.

Definition at line 257 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ CalcCastTime()

virtual int32 SpellScript::CalcCastTime ( int32  castTime)
inlinevirtual

Definition at line 833 of file SpellScript.h.

◆ CreateItem()

void SpellScript::CreateItem ( uint32  itemId,
ItemContext  context 
)

Definition at line 744 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FinishCast()

void SpellScript::FinishCast ( SpellCastResult  result,
int32 param1 = nullptr,
int32 param2 = nullptr 
)

Definition at line 754 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCastDifficulty()

Difficulty SpellScript::GetCastDifficulty ( ) const

Definition at line 771 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCaster()

Unit * SpellScript::GetCaster ( ) const

Definition at line 397 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetCastItem()

Item * SpellScript::GetCastItem ( ) const

Definition at line 739 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ GetCorpseTargetCountForEffect()

int64 SpellScript::GetCorpseTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 492 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetEffectInfo() [1/2]

SpellEffectInfo const & SpellScript::GetEffectInfo ( ) const

Definition at line 688 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetEffectInfo() [2/2]

SpellEffectInfo const & SpellScript::GetEffectInfo ( SpellEffIndex  effIndex) const

Definition at line 417 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetEffectValue()

int32 SpellScript::GetEffectValue ( ) const

Definition at line 695 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetEffectVariance()

float SpellScript::GetEffectVariance ( ) const

Definition at line 717 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetExplTargetDest()

WorldLocation const * SpellScript::GetExplTargetDest ( ) const

Definition at line 427 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetExplTargetGObj()

GameObject * SpellScript::GetExplTargetGObj ( ) const

Definition at line 449 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetExplTargetItem()

Item * SpellScript::GetExplTargetItem ( ) const

Definition at line 454 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetExplTargetUnit()

Unit * SpellScript::GetExplTargetUnit ( ) const

Definition at line 444 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetExplTargetWorldObject()

WorldObject * SpellScript::GetExplTargetWorldObject ( ) const

Definition at line 439 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGameObjectTargetCountForEffect()

int64 SpellScript::GetGameObjectTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 470 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetGObjCaster()

GameObject * SpellScript::GetGObjCaster ( ) const

Definition at line 402 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitAura()

Aura * SpellScript::GetHitAura ( bool  dynObjAura = false) const

Definition at line 636 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitCorpse()

Corpse * SpellScript::GetHitCorpse ( ) const

Definition at line 557 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetHitCreature()

Creature * SpellScript::GetHitCreature ( ) const

Definition at line 513 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitDamage()

int32 SpellScript::GetHitDamage ( ) const

Definition at line 577 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitDest()

WorldLocation * SpellScript::GetHitDest ( ) const

Definition at line 567 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitGObj()

GameObject * SpellScript::GetHitGObj ( ) const

Definition at line 547 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitHeal()

int32 SpellScript::GetHitHeal ( ) const

Definition at line 597 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitItem()

Item * SpellScript::GetHitItem ( ) const

Definition at line 537 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetHitPlayer()

Player * SpellScript::GetHitPlayer ( ) const

Definition at line 525 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHitUnit()

Unit * SpellScript::GetHitUnit ( ) const

Definition at line 503 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetItemTargetCountForEffect()

int64 SpellScript::GetItemTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 481 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ GetOriginalCaster()

Unit * SpellScript::GetOriginalCaster ( ) const

Definition at line 407 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSpell()

Spell * SpellScript::GetSpell ( ) const
inline

Definition at line 987 of file SpellScript.h.

+ Here is the caller graph for this function:

◆ GetSpellInfo()

SpellInfo const * SpellScript::GetSpellInfo ( ) const

Definition at line 412 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSpellValue()

SpellValue const * SpellScript::GetSpellValue ( ) const

Definition at line 422 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ GetTriggeringSpell()

SpellInfo const * SpellScript::GetTriggeringSpell ( ) const

Definition at line 749 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ GetUnitTargetCountForEffect()

int64 SpellScript::GetUnitTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 459 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAfterTargetSelectionPhase()

bool SpellScript::IsAfterTargetSelectionPhase ( ) const

Definition at line 345 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsHitCrit()

bool SpellScript::IsHitCrit ( ) const

Definition at line 617 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInCheckCastHook()

bool SpellScript::IsInCheckCastHook ( ) const

Definition at line 340 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ IsInEffectHook()

bool SpellScript::IsInEffectHook ( ) const

Definition at line 391 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ IsInHitPhase()

bool SpellScript::IsInHitPhase ( ) const

Definition at line 386 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ IsInModifiableHook()

bool SpellScript::IsInModifiableHook ( ) const

Definition at line 371 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ IsInTargetHook()

bool SpellScript::IsInTargetHook ( ) const

Definition at line 356 of file SpellScript.cpp.

+ Here is the caller graph for this function:

◆ OnPrecast()

virtual void SpellScript::OnPrecast ( )
inlinevirtual

◆ PreventHitAura()

void SpellScript::PreventHitAura ( )

Definition at line 654 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PreventHitDamage()

void SpellScript::PreventHitDamage ( )
inline

Definition at line 979 of file SpellScript.h.

+ Here is the caller graph for this function:

◆ PreventHitDefaultEffect()

void SpellScript::PreventHitDefaultEffect ( SpellEffIndex  effIndex)

Definition at line 678 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PreventHitEffect()

void SpellScript::PreventHitEffect ( SpellEffIndex  effIndex)

Definition at line 667 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PreventHitHeal()

void SpellScript::PreventHitHeal ( )
inline

Definition at line 984 of file SpellScript.h.

◆ SetCustomCastResultMessage()

void SpellScript::SetCustomCastResultMessage ( SpellCustomErrors  result)

Definition at line 760 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetEffectValue()

void SpellScript::SetEffectValue ( int32  value)

Definition at line 706 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetEffectVariance()

void SpellScript::SetEffectVariance ( float  variance)

Definition at line 728 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ SetExplTargetDest()

void SpellScript::SetExplTargetDest ( WorldLocation const &  loc)

Definition at line 434 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetHitDamage()

void SpellScript::SetHitDamage ( int32  damage)

Definition at line 587 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetHitHeal()

void SpellScript::SetHitHeal ( int32  heal)

Definition at line 607 of file SpellScript.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ AfterCast

HookList<CastHandler> SpellScript::AfterCast

Definition at line 824 of file SpellScript.h.

◆ AfterHit

HookList<HitHandler> SpellScript::AfterHit

Definition at line 852 of file SpellScript.h.

◆ BeforeCast

HookList<CastHandler> SpellScript::BeforeCast

Definition at line 820 of file SpellScript.h.

◆ BeforeHit

HookList<BeforeHitHandler> SpellScript::BeforeHit

Definition at line 846 of file SpellScript.h.

◆ CalcDamage

HookList<DamageAndHealingCalcHandler> SpellScript::CalcDamage

Definition at line 878 of file SpellScript.h.

◆ CalcHealing

HookList<DamageAndHealingCalcHandler> SpellScript::CalcHealing

Definition at line 883 of file SpellScript.h.

◆ m_hitPreventDefaultEffectMask

uint32 SpellScript::m_hitPreventDefaultEffectMask
private

Definition at line 809 of file SpellScript.h.

◆ m_hitPreventEffectMask

uint32 SpellScript::m_hitPreventEffectMask
private

Definition at line 808 of file SpellScript.h.

◆ m_spell

Spell* SpellScript::m_spell
private

Definition at line 807 of file SpellScript.h.

◆ OnCalcCritChance

HookList<OnCalcCritChanceHandler> SpellScript::OnCalcCritChance

Definition at line 858 of file SpellScript.h.

◆ OnCalculateResistAbsorb

HookList<OnCalculateResistAbsorbHandler> SpellScript::OnCalculateResistAbsorb

Definition at line 888 of file SpellScript.h.

◆ OnCast

HookList<CastHandler> SpellScript::OnCast

Definition at line 822 of file SpellScript.h.

◆ OnCheckCast

HookList<CheckCastHandler> SpellScript::OnCheckCast

Definition at line 829 of file SpellScript.h.

◆ OnDestinationTargetSelect

HookList<DestinationTargetSelectHandler> SpellScript::OnDestinationTargetSelect

Definition at line 873 of file SpellScript.h.

◆ OnEffectHit

HookList<EffectHandler> SpellScript::OnEffectHit

Definition at line 839 of file SpellScript.h.

◆ OnEffectHitTarget

HookList<EffectHandler> SpellScript::OnEffectHitTarget

Definition at line 840 of file SpellScript.h.

◆ OnEffectLaunch

HookList<EffectHandler> SpellScript::OnEffectLaunch

Definition at line 837 of file SpellScript.h.

◆ OnEffectLaunchTarget

HookList<EffectHandler> SpellScript::OnEffectLaunchTarget

Definition at line 838 of file SpellScript.h.

◆ OnEffectSuccessfulDispel

HookList<EffectHandler> SpellScript::OnEffectSuccessfulDispel

Definition at line 841 of file SpellScript.h.

◆ OnHit

HookList<HitHandler> SpellScript::OnHit

Definition at line 850 of file SpellScript.h.

◆ OnObjectAreaTargetSelect

HookList<ObjectAreaTargetSelectHandler> SpellScript::OnObjectAreaTargetSelect

Definition at line 863 of file SpellScript.h.

◆ OnObjectTargetSelect

HookList<ObjectTargetSelectHandler> SpellScript::OnObjectTargetSelect

Definition at line 868 of file SpellScript.h.


The documentation for this class was generated from the following files: