125 if (
GetCaster()->FindNearestGameObject(209577, 10.0f))
159 if (
Creature* chickenTrigger =
GetCaster()->FindNearestCreature(41200, 15.0f,
true))
195 absorbAmount = std::min(
limit, absorbAmount);
422 if (owner->IsInWater())
452 aurEff1->ChangeAmount(aurEff1->GetAmount() + 5);
650 target->DestroyItemCount(item->GetEntry(), 1,
true);
733 rider->CastSpell(target, spellId,
false);
741 for (Unit::AuraApplicationMap::const_iterator itr = auras.begin(); itr != auras.end(); ++itr)
743 if (
Aura* aura = itr->second->GetBase())
745 SpellInfo const* auraInfo = aura->GetSpellInfo();
751 if (
Aura* defend = rider->GetAura(aura->GetId()))
879 int32 basepoints0 = 100;
1235 switch (spellInfo->Id)
1255 uint8 gender = player->getGender();
1339 if (
Unit* rider = vehicle->GetSummoner())
1340 rider->RemoveAurasDueToSpell(
GetId());
1468 float verticalSpeed = 8.0f;
1471 player->KnockbackFrom(target->GetPositionX(), player->GetPositionY(), horizontalSpeed, verticalSpeed);
1613 switch (std::rand() % 3)
1681 ItemTemplate const* itemTemplate = mainHand->GetTemplate();
1729 int32 r = std::rand() % 119;
1788 amount +=
int32(std::max(healTick, 0));
1862 bg->DoAction(1, caster->
GetGUID());
1945 player->ExitVehicle();
1950 float speedZ = 10.0f;
1951 float dist = position->
GetExactDist2d(player->GetPositionX(), player->GetPositionY());
1952 float speedXY = dist;
2113 vehicle->CastSpell(target, spellId,
false);
2122 for (Unit::AuraApplicationMap::const_iterator itr = auras.begin(); itr != auras.end(); ++itr)
2124 if (
Aura* aura = itr->second->GetBase())
2126 SpellInfo const* auraInfo = aura->GetSpellInfo();
2132 if (
Aura* defend = rider->GetAura(aura->GetId()))
2167 rider->CastSpell(
GetHitUnit(), spellId,
false);
2207 for (
uint8 i = 0; i < 5; ++i)
2228 for (
uint8 i = 0; i < 5; ++i)
2709 uint8 gender = target->getGender();
2756 if (target->IsFalling())
2792 if (target->m_movementInfo.jump.fallTime > 2000)
2835 if (
Pet* newPet =
new Pet(player, newPetType))
2843 newPet->SetFullHealth();
2844 newPet->SetPower(newPet->getPowerType(), newPet->GetMaxPower(newPet->getPowerType()));
2846 switch (newPet->GetEntry())
2906 caster->
learnSpell(discoveredSpellId,
false);
3228 owner->CastSpell(owner,
_spellId,
true);
3281 if (
GetCaster()->IsInDisallowedMountForm())
3375 if (!caster->GetVehicleBase())
3376 caster->RemoveAurasDueToSpell(
GetId());
3514 for (
uint8 i = 0; i < 5; ++i)
3516 if (player->HasItemCount(itemId[i], 1,
true))
3520 CreateItem(effIndex, itemId[std::rand() % 4]);
3566 baseItemLevel = 205;
3570 baseItemLevel = 170;
3575 if (avgILvl < baseItemLevel)
3578 amount =
uint16((avgILvl - baseItemLevel) * factor);
DBCStorage< FactionEntry > sFactionStore(FactionEntryfmt)
DBCStorage< CreatureDisplayInfoEntry > sCreatureDisplayInfoStore(CreatureDisplayInfofmt)
DBCStorage< MountCapabilityEntry > sMountCapabilityStore(MountCapabilityfmt)
#define SPELL_MOUNTED_DUEL
@ ITEM_SUBCLASS_WEAPON_FISHING_POLE
@ TEMPSUMMON_TIMED_DESPAWN
@ ENCOUNTER_CREDIT_CAST_SPELL
@ EQUIPMENT_SLOT_MAINHAND
#define INVENTORY_SLOT_BAG_0
#define EFFECT_FIRST_FOUND
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_FORCE_CAST
@ SPELL_EFFECT_CREATE_ITEM
SpellSchools GetFirstSchoolInMask(SpellSchoolMask mask)
@ SPELLFAMILY_DEATHKNIGHT
@ SPELL_CUSTOM_ERROR_NOTHING_TO_DISCOVER
@ SPELL_CUSTOM_ERROR_MUST_HAVE_LANCE_EQUIPPED
@ SPELL_CUSTOM_ERROR_CANT_TRANSFORM
@ SPELL_FAILED_NO_EDIBLE_CORPSES
@ SPELL_FAILED_CUSTOM_ERROR
@ SPELL_FAILED_DONT_REPORT
@ SPELL_FAILED_TARGET_AURASTATE
@ SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW
uint32 GetExplicitDiscoverySpell(uint32 spellId, Player *player)
bool HasDiscoveredAllSpells(uint32 spellId, Player *player)
@ SPELL_AURA_PERIODIC_DAMAGE
@ SPELL_AURA_MOD_SHAPESHIFT
@ SPELL_AURA_WORGEN_ALTERED_FORM
@ SPELL_AURA_PERIODIC_HEAL
@ SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN
@ SPELL_AURA_MOD_HEALING_PCT
@ SPELL_AURA_MOD_MANA_REGEN_INTERRUPT
@ SPELL_AURA_MOD_DAMAGE_PERCENT_DONE
@ SPELL_AURA_PERIODIC_DUMMY
@ SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
@ SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT
@ AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK
@ AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK
@ AURA_EFFECT_HANDLE_REAL
#define SpellCheckCastFn(F)
#define AuraEffectProcFn(F, I, N)
#define SpellEffectFn(F, I, N)
#define AuraEffectCalcAmountFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectUpdatePeriodicFn(F, I, N)
#define AuraEffectAbsorbFn(F, I)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraCheckProcFn(F)
#define AuraCheckAreaTargetFn(F)
#define AuraEffectRemoveFn(F, I, N, M)
@ AURA_REMOVE_BY_ENEMY_SPELL
@ TRIGGERED_FULL_MASK
Will ignore most target checks (mostly DBC target checks).
@ UNIT_FIELD_VIRTUAL_ITEM_ID
@ UNIT_FIELD_OVERRIDE_DISPLAY_POWER_ID
@ OBJECT_FIELD_DYNAMIC_FLAGS
bool roll_chance_f(float chance)
bool roll_chance_i(int chance)
virtual bool Validate(SpellInfo const *)
uint32 GetTickNumber() const
int32 GetTotalTicks() const
void SetAmount(int32 amount)
int32 GetMiscValue() const
uint64 GetCastItemGUID() const
AuraEffect * GetEffect(uint8 effIndex) const
uint8 GetStackAmount() const
void PreventDefaultAction()
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
SpellInfo const * GetSpellInfo() const
WorldObject * GetOwner() const
HookList< EffectApplyHandler > AfterEffectApply
int32 GetMaxDuration() const
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
uint64 GetCasterGUID() const
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
HookList< EffectAbsorbHandler > OnEffectAbsorb
HookList< CheckAreaTargetHandler > DoCheckAreaTarget
HookList< CheckProcHandler > DoCheckProc
HookList< EffectApplyHandler > OnEffectRemove
HookList< EffectProcHandler > OnEffectProc
Unit * GetUnitOwner() const
uint8 GetStackAmount() const
HookList< EffectApplyHandler > OnEffectApply
bool ModStackAmount(int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool WriteBit(uint32 bit)
void WriteByteSeq(uint8 b)
void DespawnOrUnsummon(uint32 msTimeToDespawn=0)
void SetReactState(ReactStates st)
SpellInfo const * GetSpellInfo() const
void VisitFirstFound(const float &x, const float &y, float radius, NOTIFIER ¬ifier)
void MoveJump(Position const &pos, float speedXY, float speedZ, uint32 id=EVENT_JUMP)
uint32 GetUInt32Value(uint16 index) const
void SetFlag(uint16 index, uint32 newFlag)
bool HasFlag(uint16 index, uint32 flag) const
void SetUInt32Value(uint16 index, uint32 value)
bool GetQuestRewardStatus(uint32 quest_id) const
void KilledMonsterCredit(uint32 entry, uint64 guid=0)
bool UpdateCraftSkill(uint32 spellid)
bool HasSpellCooldown(uint32 spell_id) const
bool HasAchieved(uint32 achievementId) const
WorldSession * GetSession() const
void AddSpellAndCategoryCooldowns(SpellInfo const *spellInfo, uint32 itemId, Spell *spell=NULL, bool infinityCooldown=false)
Battleground * GetBattleground() const
float GetAverageItemLevel()
uint32 GetLastPetNumber() const
void learnSpell(uint32 spell_id, bool dependent)
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
ReputationMgr & GetReputationMgr()
SpellSchoolMask GetSchoolMask() const
DamageInfo * GetDamageInfo() const
Unit * GetProcTarget() const
int32 GetBaseReputation(FactionEntry const *factionEntry) const
bool SetReputation(FactionEntry const *factionEntry, int32 standing)
int32 CalcValue(Unit const *caster=NULL, int32 const *basePoints=NULL, Unit const *target=NULL) const
SpellEffectInfo Effects[MAX_SPELL_EFFECTS]
float GetMaxRange(bool positive=false, Unit *caster=NULL, Spell *spell=NULL) const
bool HasEffect(SpellEffects effect) const
HookList< CastHandler > AfterCast
Unit * GetExplTargetUnit()
HookList< CheckCastHandler > OnCheckCast
WorldLocation const * GetExplTargetDest()
HookList< HitHandler > AfterHit
SpellInfo const * GetSpellInfo()
HookList< HitHandler > OnHit
HookList< EffectHandler > OnEffectHit
void PreventHitDefaultEffect(SpellEffIndex effIndex)
HookList< EffectHandler > OnEffectHitTarget
SpellInfo const * GetTriggeringSpell()
void SetCustomCastResultMessage(SpellCustomErrors result)
void CreateItem(uint32 effIndex, uint32 itemId)
void SetHitDamage(int32 damage)
HookList< EffectHandler > OnEffectLaunch
Unit * GetOriginalCaster()
SpellScriptLoader(const char *name)
void RemoveOwnedAura(AuraMap::iterator &i, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void RemoveAurasDueToSpell(uint32 spellId, uint64 casterGUID=0, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
std::multimap< uint32, AuraApplication * > AuraApplicationMap
Unit * GetCharmer() const
Unit * GetVehicleBase() const
MotionMaster * GetMotionMaster()
TempSummon * ToTempSummon()
void Mount(uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0)
bool HasAuraType(AuraType auraType) const
void RemoveAurasByType(AuraType auraType, uint64 casterGUID=0, Aura *except=NULL, bool negative=true, bool positive=true)
virtual void SetDisplayId(uint32 modelId)
void CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void HandleEmoteCommand(uint32 anim_id)
AuraApplicationMap & GetAppliedAuras()
InstanceScript * GetInstanceScript()
float GetDistance(WorldObject const *obj) const
void SendPacket(WorldPacket const *packet, bool forced=false)
Send a packet to the client.
PrepareAuraScript(spell_gen_absorb0_hitlimit1_AuraScript)
void Absorb(AuraEffect *, DamageInfo &, uint32 &absorbAmount)
spell_gen_absorb0_hitlimit1()
AuraScript * GetAuraScript() const OVERRIDE
bool CheckProc(ProcEventInfo &eventInfo)
void HandleProc(AuraEffect const *aurEff, ProcEventInfo &eventInfo)
bool Validate(SpellInfo const *) OVERRIDE
PrepareAuraScript(spell_gen_adaptive_warding_AuraScript)
spell_gen_adaptive_warding()
AuraScript * GetAuraScript() const OVERRIDE
void HandleProc(AuraEffect const *aurEff, ProcEventInfo &eventInfo)
PrepareAuraScript(spell_gen_alchemist_stone_AuraScript)
bool Validate(SpellInfo const *) OVERRIDE
bool CheckProc(ProcEventInfo &eventInfo)
spell_gen_alchemist_stone()
AuraScript * GetAuraScript() const OVERRIDE
PrepareSpellScript(spell_gen_allow_cast_from_item_only_SpellScript)
SpellCastResult CheckRequirement()
spell_gen_allow_cast_from_item_only()
SpellScript * GetSpellScript() const OVERRIDE
void OnApply(AuraEffect const *, AuraEffectHandleModes)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) OVERRIDE
PrepareAuraScript(spell_gen_animal_blood_AuraScript)
AuraScript * GetAuraScript() const OVERRIDE
PrepareAuraScript(spell_gen_aura_of_anger_AuraScript)
void HandleEffectPeriodicUpdate(AuraEffect *aurEff)
spell_gen_aura_of_anger()
AuraScript * GetAuraScript() const OVERRIDE
bool CheckAreaTarget(Unit *target)
PrepareAuraScript(spell_gen_av_drekthar_presence_AuraScript)
AuraScript * GetAuraScript() const OVERRIDE
spell_gen_av_drekthar_presence()
PrepareSpellScript(spell_gen_bandage_SpellScript)
SpellCastResult CheckCast()
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_bonked_SpellScript)
void HandleScript(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_break_shield_SpellScript) void HandleScriptEffect(SpellEffIndex effIndex)
spell_gen_break_shield(const char *name)
SpellScript * GetSpellScript() const OVERRIDE
void HandleEffectPeriodicUpdate(AuraEffect *aurEff)
PrepareAuraScript(spell_gen_burn_brutallus_AuraScript)
AuraScript * GetAuraScript() const OVERRIDE
spell_gen_burn_brutallus()
void HandleDummy(SpellEffIndex)
SpellCastResult CheckIfCorpseNear()
PrepareSpellScript(spell_gen_cannibalize_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_gen_chaos_blast_SpellScript) bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_clone_SpellScript)
void HandleScriptEffect(SpellEffIndex effIndex)
PrepareSpellScript(spell_gen_clone_weapon_SpellScript)
void HandleScriptEffect(SpellEffIndex effIndex)
PrepareAuraScript(spell_gen_clone_weapon_auraScript)
bool Validate(SpellInfo const *) OVERRIDE
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
void OnApply(AuraEffect const *, AuraEffectHandleModes)
spell_gen_clone_weapon_aura()
AuraScript * GetAuraScript() const OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_count_pct_from_max_hp_SpellScript) public
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_count_pct_from_max_hp(char const *name, int32 damagePct=0)
void HandleScript(SpellEffIndex effIndex)
bool Validate(SpellInfo const *) OVERRIDE
PrepareSpellScript(spell_gen_create_lance_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
void HandleEffectApply(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_gen_creature_permanent_feign_death_AuraScript)
spell_gen_creature_permanent_feign_death()
AuraScript * GetAuraScript() const OVERRIDE
PrepareSpellScript(spell_gen_dalaran_disguise_SpellScript)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *spellInfo) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_dalaran_disguise(const char *name)
PrepareSpellScript(spell_gen_darkflight_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
bool Validate(SpellInfo const *) OVERRIDE
void RefreshVisualShields(AuraEffect const *aurEff, AuraEffectHandleModes)
PrepareAuraScript(spell_gen_defend_AuraScript)
void RemoveDummyFromDriver(AuraEffect const *, AuraEffectHandleModes)
void RemoveVisualShields(AuraEffect const *, AuraEffectHandleModes)
AuraScript * GetAuraScript() const OVERRIDE
void HandleDummy(SpellEffIndex effIndex)
PrepareSpellScript(spell_gen_despawn_self_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_gen_divine_storm_cd_reset_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_divine_storm_cd_reset()
PrepareSpellScript(spell_gen_ds_flush_knockback_SpellScript)
void HandleScript(SpellEffIndex)
spell_gen_ds_flush_knockback()
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_dummy_trigger_SpellScript)
void HandleDummy(SpellEffIndex)
bool Validate(SpellInfo const *) OVERRIDE
spell_gen_dummy_trigger()
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_dungeon_credit_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_dungeon_credit()
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_gen_elune_candle_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
void HandleDummy(SpellEffIndex effIndex)
PrepareSpellScript(spell_gen_fishing_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_gen_gadgetzan_transporter_backfire_SpellScript) bool Validate(SpellInfo const *) OVERRIDE
spell_gen_gadgetzan_transporter_backfire()
SpellScript * GetSpellScript() const OVERRIDE
void CalculateAmount(AuraEffect const *aurEff, int32 &amount, bool &)
PrepareAuraScript(spell_gen_gift_of_naaru_AuraScript)
spell_gen_gift_of_naaru()
AuraScript * GetAuraScript() const OVERRIDE
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_gen_gnomish_transporter_SpellScript) bool Validate(SpellInfo const *) OVERRIDE
spell_gen_gnomish_transporter()
SpellScript * GetSpellScript() const OVERRIDE
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_gen_gunship_portal_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_gunship_portal()
bool Validate(SpellInfo const *) OVERRIDE
PrepareAuraScript(spell_gen_interrupt_AuraScript)
void HandleProc(AuraEffect const *aurEff, ProcEventInfo &eventInfo)
AuraScript * GetAuraScript() const OVERRIDE
PrepareSpellScript(spell_gen_launch_SpellScript)
void HandleScript(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
PrepareAuraScript(spell_gen_lifebloom_AuraScript)
bool Validate(SpellInfo const *) OVERRIDE
spell_gen_lifebloom_AuraScript(uint32 spellId)
void AfterRemove(AuraEffect const *aurEff, AuraEffectHandleModes)
spell_gen_lifebloom(const char *name, uint32 spellId)
AuraScript * GetAuraScript() const OVERRIDE
void HandleScriptEffect(SpellEffIndex effIndex)
PrepareSpellScript(spell_gen_mounted_charge_SpellScript)
void HandleChargeEffect(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_mounted_charge()
void HandleScript(SpellEffIndex effIndex)
bool Validate(SpellInfo const *) OVERRIDE
PrepareSpellScript(spell_gen_netherbloom_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
void HandleScript(SpellEffIndex effIndex)
bool Validate(SpellInfo const *) OVERRIDE
PrepareSpellScript(spell_gen_nightmare_vine_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_nightmare_vine()
PrepareAuraScript(spell_gen_obsidian_armor_AuraScript)
bool CheckProc(ProcEventInfo &eventInfo)
void OnProc(AuraEffect const *aurEff, ProcEventInfo &eventInfo)
bool Validate(SpellInfo const *) OVERRIDE
AuraScript * GetAuraScript() const OVERRIDE
spell_gen_obsidian_armor()
void HandleRemoveEffect(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_gen_on_tournament_mount_AuraScript)
uint32 GetPennatSpellId(Player *player, Unit *mount)
void HandleApplyEffect(AuraEffect const *, AuraEffectHandleModes)
spell_gen_on_tournament_mount()
AuraScript * GetAuraScript() const OVERRIDE
void HandleDummy(SpellEffIndex effIndex)
PrepareSpellScript(spell_gen_oracle_wolvar_reputation_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_oracle_wolvar_reputation()
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_gen_orc_disguise_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
PrepareAuraScript(spell_gen_override_display_power_AuraScript)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
void OnApply(AuraEffect const *aurEff, AuraEffectHandleModes)
AuraScript * GetAuraScript() const override
spell_gen_override_display_power()
void HandleEffectPeriodic(AuraEffect const *)
bool Validate(SpellInfo const *) OVERRIDE
PrepareAuraScript(spell_gen_parachute_AuraScript)
PrepareAuraScript(spell_gen_parachute_ic_AuraScript) void HandleTriggerSpell(AuraEffect const *)
AuraScript * GetAuraScript() const OVERRIDE
AuraScript * GetAuraScript() const OVERRIDE
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_gen_pet_summoned_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
SpellCastResult CheckRequirement()
PrepareSpellScript(spell_gen_profession_research_SpellScript)
void HandleScript(SpellEffIndex)
spell_gen_profession_research()
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_remove_flight_auras_SpellScript)
void HandleScript(SpellEffIndex)
spell_gen_remove_flight_auras()
SpellScript * GetSpellScript() const OVERRIDE
const uint32 npcRicePudding
PrepareSpellScript(spell_gen_rice_pudding_SpellScript) void HandleScriptEffect(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_rock_jump_a_SpellScript) void HandleScriptEffect(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_rock_jump_b_SpellScript) void HandleScriptEffect(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
PrepareSpellScript(spell_gen_rock_jump_c_SpellScript) void HandleScriptEffect(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
bool Validate(SpellInfo const *) OVERRIDE
void HandleMount(AuraEffect const *aurEff, AuraEffectHandleModes)
PrepareAuraScript(spell_gen_running_wild_AuraScript)
bool Validate(SpellInfo const *) OVERRIDE
PrepareSpellScript(spell_gen_running_wild_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
AuraScript * GetAuraScript() const OVERRIDE
PrepareSpellScript(spell_gen_spectator_cheer_trigger_SpellScript) void HandleDummy(SpellEffIndex)
spell_gen_spectator_cheer_trigger()
SpellScript * GetSpellScript() const OVERRIDE
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_gen_spirit_healer_res_SpellScript)
spell_gen_spirit_healer_res()
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_summon_elemental_AuraScript(uint32 spellId)
bool Validate(SpellInfo const *) OVERRIDE
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_gen_summon_elemental_AuraScript)
spell_gen_summon_elemental(const char *name, uint32 spellId)
AuraScript * GetAuraScript() const OVERRIDE
PrepareSpellScript(spell_gen_summon_living_air_SpellScript) void HandleDummy(SpellEffIndex)
spell_gen_summon_living_air()
SpellScript * GetSpellScript() const OVERRIDE
SpellCastResult CheckIfLanceEquiped()
bool Validate(SpellInfo const *) OVERRIDE
PrepareSpellScript(spell_gen_summon_tournament_mount_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_summon_tournament_mount()
PrepareSpellScript(spell_gen_tournament_duel_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
void HandleScriptEffect(SpellEffIndex)
SpellScript * GetSpellScript() const OVERRIDE
spell_gen_tournament_duel()
PrepareAuraScript(spell_gen_tournament_pennant_AuraScript)
void HandleApplyEffect(AuraEffect const *, AuraEffectHandleModes)
AuraScript * GetAuraScript() const OVERRIDE
spell_gen_tournament_pennant()
PrepareAuraScript(spell_gen_turkey_marker_AuraScript)
void OnPeriodic(AuraEffect const *)
void OnApply(AuraEffect const *aurEff, AuraEffectHandleModes)
std::list< uint32 > _applyTimes
AuraScript * GetAuraScript() const OVERRIDE
spell_gen_turkey_marker()
void HandleScript(SpellEffIndex effIndex)
PrepareSpellScript(spell_gen_upper_deck_create_foam_sword_SpellScript)
spell_gen_upper_deck_create_foam_sword()
SpellScript * GetSpellScript() const OVERRIDE
PrepareAuraScript(spell_gen_vehicle_scaling_AuraScript)
void CalculateAmount(AuraEffect const *, int32 &amount, bool &)
AuraScript * GetAuraScript() const OVERRIDE
spell_gen_vehicle_scaling()
PrepareSpellScript(spell_gen_vendor_bark_trigger_SpellScript) void HandleDummy(SpellEffIndex)
spell_gen_vendor_bark_trigger()
SpellScript * GetSpellScript() const OVERRIDE
SpellCastResult CheckCast()
PrepareSpellScript(spell_gen_wg_water_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
void HandleEffectPeriodic(AuraEffect const *)
PrepareAuraScript(spell_gen_whisper_gulch_yogg_saron_whisper_AuraScript)
bool Validate(SpellInfo const *) OVERRIDE
AuraScript * GetAuraScript() const OVERRIDE
spell_gen_whisper_gulch_yogg_saron_whisper()
PrepareSpellScript(spell_pvp_trinket_wotf_shared_cd_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
spell_pvp_trinket_wotf_shared_cd()
SpellScript * GetSpellScript() const OVERRIDE
@ SMSG_SPIRIT_HEALER_CONFIRM
TournamentQuestsAchievements
@ ACHIEVEMENT_CHAMPION_UNDERCITY
@ QUEST_VALIANT_OF_UNDERCITY
@ ACHIEVEMENT_CHAMPION_THUNDER_BLUFF
@ QUEST_A_VALIANT_OF_STORMWIND
@ QUEST_A_VALIANT_OF_GNOMEREGAN
@ ACHIEVEMENT_CHAMPION_IRONFORGE
@ ACHIEVEMENT_CHAMPION_DARNASSUS
@ QUEST_VALIANT_OF_STORMWIND
@ QUEST_VALIANT_OF_GNOMEREGAN
@ ACHIEVEMENT_CHAMPION_SILVERMOON
@ QUEST_VALIANT_OF_DARNASSUS
@ ACHIEVEMENT_CHAMPION_GNOMEREGAN
@ QUEST_VALIANT_OF_ORGRIMMAR
@ QUEST_VALIANT_OF_THUNDER_BLUFF
@ QUEST_VALIANT_OF_IRONFORGE
@ QUEST_VALIANT_OF_SILVERMOON
@ QUEST_A_VALIANT_OF_SILVERMOON
@ QUEST_VALIANT_OF_SEN_JIN
@ ACHIEVEMENT_CHAMPION_HORDE
@ QUEST_VALIANT_OF_THE_EXODAR
@ ACHIEVEMENT_CHAMPION_STORMWIND
@ QUEST_A_VALIANT_OF_DARNASSUS
@ ACHIEVEMENT_CHAMPION_ALLIANCE
@ ACHIEVEMENT_ARGENT_VALOR
@ QUEST_A_VALIANT_OF_ORGRIMMAR
@ ACHIEVEMENT_CHAMPION_SEN_JIN
@ QUEST_A_VALIANT_OF_UNDERCITY
@ QUEST_A_VALIANT_OF_THUNDER_BLUFF
@ QUEST_A_VALIANT_OF_SEN_JIN
@ QUEST_A_VALIANT_OF_IRONFORGE
@ ACHIEVEMENT_CHAMPION_ORGRIMMAR
@ QUEST_A_VALIANT_OF_THE_EXODAR
@ ACHIEVEMENT_CHAMPION_THE_EXODAR
@ SPELL_GEN_THROW_INTERRUPT
PvPTrinketTriggeredSpells
@ SPELL_WILL_OF_THE_FORSAKEN_COOLDOWN_TRIGGER
@ SPELL_WILL_OF_THE_FORSAKEN_COOLDOWN_TRIGGER_WOTF
@ SPELL_TRANSPORTER_EVIL_TWIN
@ SPELL_TRANSPORTER_MALFUNCTION_MISS
@ SPELL_TRANSPORTER_MALFUNCTION_POLYMORPH
@ SPELL_SUNREAVER_DISGUISE_MALE
@ SPELL_SUNREAVER_DISGUISE_TRIGGER
@ SPELL_SILVER_COVENANT_DISGUISE_FEMALE
@ SPELL_SILVER_COVENANT_DISGUISE_MALE
@ SPELL_SUNREAVER_DISGUISE_FEMALE
@ SPELL_SILVER_COVENANT_DISGUISE_TRIGGER
@ NPC_DARNASSIAN_NIGHTSABER
@ NPC_SILVERMOON_HAWKSTRIDER
@ NPC_ARGENT_STEED_ASPIRANT
@ NPC_GNOMEREGAN_MECHANOSTRIDER
@ NPC_ARGENT_HAWKSTRIDER_ASPIRANT
@ SPELL_FISHING_WITH_POLE
@ SPELL_FISHING_NO_FISHING_POLE
@ SPELL_CHARGE_CHARGING_EFFECT_8K5
@ SPELL_CHARGE_CHARGING_EFFECT_20K_2
@ SPELL_CHARGE_TRIGGER_FACTION_MOUNTS
@ SPELL_CHARGE_TRIGGER_TRIAL_CHAMPION
@ SPELL_CHARGE_DAMAGE_45K
@ SPELL_CHARGE_MISS_EFFECT
@ SPELL_CHARGE_CHARGING_EFFECT_20K_1
@ SPELL_CHARGE_DAMAGE_8K5
@ SPELL_CHARGE_CHARGING_EFFECT_45K_1
@ SPELL_CHARGE_DAMAGE_20K
@ SPELL_CHARGE_CHARGING_EFFECT_45K_2
@ SPELL_RECENTLY_BANDAGED
WhisperGulchYoggSaronWhisper
@ SPELL_YOGG_SARON_WHISPER_DUMMY
@ SPELL_GEN_ADAPTIVE_WARDING_ARCANE
@ SPELL_GEN_ADAPTIVE_WARDING_FIRE
@ SPELL_GEN_ADAPTIVE_WARDING_NATURE
@ SPELL_GEN_ADAPTIVE_WARDING_FROST
@ SPELL_GEN_ADAPTIVE_WARDING_SHADOW
@ SPELL_SUMMON_EARTH_ELEMENTAL
@ SPELL_SUMMON_FIRE_ELEMENTAL
@ RUNNING_WILD_MODEL_MALE
@ RUNNING_WILD_MODEL_FEMALE
@ SPELL_ORC_DISGUISE_FEMALE
@ SPELL_ORC_DISGUISE_MALE
@ SPELL_ORC_DISGUISE_TRIGGER
@ SPELL_TRANSPORTER_FAILURE
@ SPELL_TRANSPORTER_SUCCESS
@ SPELL_NIGHTMARE_FIGMENT_MIRROR_IMAGE
@ SPELL_LAUNCH_NO_FALLING_DAMAGE
@ SPELL_GEN_OBSIDIAN_ARMOR_HOLY
@ SPELL_GEN_OBSIDIAN_ARMOR_FIRE
@ SPELL_GEN_OBSIDIAN_ARMOR_ARCANE
@ SPELL_GEN_OBSIDIAN_ARMOR_FROST
@ SPELL_GEN_OBSIDIAN_ARMOR_SHADOW
@ SPELL_GEN_OBSIDIAN_ARMOR_NATURE
@ NPC_AMPHITHEATER_VENDOR
@ SAY_AMPHITHEATER_VENDOR
@ SPELL_COPY_OFFHAND_2_AURA
@ SPELL_COPY_WEAPON_3_AURA
@ SPELL_COPY_OFFHAND_AURA
@ SPELL_COPY_WEAPON_2_AURA
@ SPELL_PENNANT_EXODAR_ASPIRANT
@ SPELL_PENNANT_IRONFORGE_ASPIRANT
@ SPELL_PENNANT_GNOMEREGAN_ASPIRANT
@ SPELL_PENNANT_EBON_BLADE_CHAMPION
@ SPELL_PENNANT_IRONFORGE_CHAMPION
@ SPELL_PENNANT_ORGRIMMAR_CHAMPION
@ SPELL_PENNANT_THUNDER_BLUFF_CHAMPION
@ SPELL_PENNANT_ORGRIMMAR_VALIANT
@ SPELL_PENNANT_STORMWIND_CHAMPION
@ SPELL_PENNANT_THUNDER_BLUFF_VALIANT
@ SPELL_PENNANT_SEN_JIN_ASPIRANT
@ SPELL_PENNANT_ORGRIMMAR_ASPIRANT
@ SPELL_PENNANT_UNDERCITY_CHAMPION
@ SPELL_PENNANT_GNOMEREGAN_VALIANT
@ SPELL_PENNANT_GNOMEREGAN_CHAMPION
@ SPELL_PENNANT_EBON_BLADE_VALIANT
@ SPELL_PENNANT_IRONFORGE_VALIANT
@ SPELL_PENNANT_STORMWIND_VALIANT
@ SPELL_PENNANT_UNDERCITY_ASPIRANT
@ SPELL_PENNANT_UNDERCITY_VALIANT
@ SPELL_PENNANT_ARGENT_CRUSADE_VALIANT
@ SPELL_PENNANT_STORMWIND_ASPIRANT
@ SPELL_PENNANT_EXODAR_VALIANT
@ SPELL_PENNANT_ARGENT_CRUSADE_CHAMPION
@ SPELL_PENNANT_EBON_BLADE_ASPIRANT
@ SPELL_PENNANT_SILVERMOON_VALIANT
@ SPELL_PENNANT_SILVERMOON_CHAMPION
@ SPELL_PENNANT_SEN_JIN_VALIANT
@ SPELL_PENNANT_ARGENT_CRUSADE_ASPIRANT
@ SPELL_PENNANT_SEN_JIN_CHAMPION
@ SPELL_PENNANT_DARNASSUS_CHAMPION
@ SPELL_PENNANT_THUNDER_BLUFF_ASPIRANT
@ SPELL_PENNANT_DARNASSUS_VALIANT
@ SPELL_PENNANT_DARNASSUS_ASPIRANT
@ SPELL_PENNANT_EXODAR_CHAMPION
@ SPELL_PENNANT_SILVERMOON_ASPIRANT
@ SPELL_CREATE_LANCE_ALLIANCE
@ SPELL_CREATE_LANCE_HORDE
uint8 const EmoteArray[3]
@ SPELL_NETHERBLOOM_POLLEN_1
@ SPELL_PERSISTANT_SHIELD_TRIGGERED
@ SPELL_PERSISTANT_SHIELD
void AddSC_generic_spell_scripts()
@ SPELL_ELUNE_CANDLE_OMEN_HAND_R
@ SPELL_ELUNE_CANDLE_NORMAL
@ SPELL_ELUNE_CANDLE_OMEN_HEAD
@ SPELL_ELUNE_CANDLE_OMEN_CHEST
@ SPELL_ELUNE_CANDLE_OMEN_HAND_L
@ SPELL_FACTION_CHAMPIONS_DRU_LIFEBLOOM_FINAL_HEAL
@ SPELL_CENARION_SCOUT_LIFEBLOOM_FINAL_HEAL
@ SPELL_TUR_RAGEPAW_LIFEBLOOM_FINAL_HEAL
@ SPELL_HEXLORD_MALACRASS_LIFEBLOOM_FINAL_HEAL
@ SPELL_TWISTED_VISAGE_LIFEBLOOM_FINAL_HEAL
const Position elementalPos
@ SPELL_FOAM_SWORD_DEFEAT
@ SPELL_CANNIBALIZE_TRIGGERED
@ EMOTE_ONE_SHOT_EXCLAMATION
@ SPELL_BREAK_SHIELD_DAMAGE_10K
@ SPELL_BREAK_SHIELD_TRIGGER_FACTION_MOUNTS
@ SPELL_BREAK_SHIELD_TRIGGER_UNK
@ SPELL_BREAK_SHIELD_DAMAGE_2K
@ SPELL_BREAK_SHIELD_TRIGGER_CAMPAING_WARHORSE
@ SPELL_ON_TOURNAMENT_MOUNT
float GetExactDist2d(const float x, const float y) const
float GetPositionZ() const
float GetPositionX() const
float GetPositionY() const
@ SPELL_SUNREAVER_DISGUISE_MALE
@ SPELL_SILVER_COVENANT_DISGUISE_FEMALE
@ SPELL_SILVER_COVENANT_DISGUISE_MALE
@ SPELL_SUNREAVER_DISGUISE_FEMALE