|
void | EffectNULL () |
|
void | EffectUnused () |
|
void | EffectDistract () |
|
void | EffectSchoolDMG () |
|
void | EffectEnvironmentalDMG () |
|
void | EffectInstaKill () |
|
void | EffectDummy () |
|
void | EffectTeleportUnits () |
|
void | EffectTeleportUnitsWithVisualLoadingScreen () |
|
void | EffectApplyAura () |
|
void | EffectSendEvent () |
|
void | EffectPowerBurn () |
|
void | EffectPowerDrain () |
|
void | EffectHeal () |
|
void | EffectBind () |
|
void | EffectTeleportToReturnPoint () |
|
void | EffectIncreaseCurrencyCap () |
|
void | EffectHealthLeech () |
|
void | EffectQuestComplete () |
|
void | EffectCreateItem () |
|
void | EffectCreateItem2 () |
|
void | EffectCreateRandomItem () |
|
void | EffectPersistentAA () |
|
void | EffectEnergize () |
|
void | EffectOpenLock () |
|
void | EffectSummonChangeItem () |
|
void | EffectProficiency () |
|
void | EffectSummonType () |
|
void | EffectLearnSpell () |
|
void | EffectDispel () |
|
void | EffectDualWield () |
|
void | EffectPickPocket () |
|
void | EffectAddFarsight () |
|
void | EffectUntrainTalents () |
|
void | EffectHealMechanical () |
|
void | EffectJump () |
|
void | EffectJumpDest () |
|
void | EffectLeapBack () |
|
void | EffectQuestClear () |
|
void | EffectTeleUnitsFaceCaster () |
|
void | EffectLearnSkill () |
|
void | EffectPlayMovie () |
|
void | EffectTradeSkill () |
|
void | EffectEnchantItemPerm () |
|
void | EffectEnchantItemTmp () |
|
void | EffectTameCreature () |
|
void | EffectSummonPet () |
|
void | EffectLearnPetSpell () |
|
void | EffectWeaponDmg () |
|
void | EffectForceCast () |
|
void | EffectTriggerSpell () |
|
void | EffectTriggerMissileSpell () |
|
void | EffectThreat () |
|
void | EffectHealMaxHealth () |
|
void | EffectInterruptCast () |
|
void | EffectSummonObjectWild () |
|
void | EffectScriptEffect () |
|
void | EffectSanctuary () |
|
void | EffectDuel () |
|
void | EffectStuck () |
|
void | EffectSummonPlayer () |
|
void | EffectActivateObject () |
|
void | EffectApplyGlyph () |
|
void | EffectEnchantHeldItem () |
|
void | EffectSummonObject () |
|
void | EffectChangeRaidMarker () |
|
void | EffectResurrect () |
|
void | EffectParry () |
|
void | EffectBlock () |
|
void | EffectLeap () |
|
void | EffectTransmitted () |
|
void | EffectDisEnchant () |
|
void | EffectInebriate () |
|
void | EffectFeedPet () |
|
void | EffectDismissPet () |
|
void | EffectReputation () |
|
void | EffectForceDeselect () |
|
void | EffectSelfResurrect () |
|
void | EffectSkinning () |
|
void | EffectCharge () |
|
void | EffectChargeDest () |
|
void | EffectProspecting () |
|
void | EffectMilling () |
|
void | EffectRenamePet () |
|
void | EffectSendTaxi () |
|
void | EffectKnockBack () |
|
void | EffectPullTowards () |
|
void | EffectPullTowardsDest () |
|
void | EffectDispelMechanic () |
|
void | EffectResurrectPet () |
|
void | EffectDestroyAllTotems () |
|
void | EffectDurabilityDamage () |
|
void | EffectSkill () |
|
void | EffectTaunt () |
|
void | EffectDurabilityDamagePCT () |
|
void | EffectModifyThreatPercent () |
|
void | EffectResurrectNew () |
|
void | EffectAddExtraAttacks () |
|
void | EffectSpiritHeal () |
|
void | EffectSkinPlayerCorpse () |
|
void | EffectStealBeneficialBuff () |
|
void | EffectUnlearnSpecialization () |
|
void | EffectHealPct () |
|
void | EffectEnergizePct () |
|
void | EffectTriggerRitualOfSummoning () |
|
void | EffectSummonRaFFriend () |
|
void | EffectUnlockGuildVaultTab () |
|
void | EffectKillCreditPersonal () |
|
void | EffectKillCredit () |
|
void | EffectQuestFail () |
|
void | EffectQuestStart () |
|
void | EffectRedirectThreat () |
|
void | EffectGameObjectDamage () |
|
void | EffectGameObjectRepair () |
|
void | EffectGameObjectSetDestructionState () |
|
void | EffectCreateTamedPet () |
|
void | EffectDiscoverTaxi () |
|
void | EffectTitanGrip () |
|
void | EffectEnchantItemPrismatic () |
|
void | EffectPlayMusic () |
|
void | EffectActivateSpec () |
|
void | EffectPlaySound () |
|
void | EffectRemoveAura () |
|
void | EffectDamageFromMaxHealthPCT () |
|
void | EffectCastButtons () |
|
void | EffectRechargeItem () |
|
void | EffectGiveCurrency () |
|
void | EffectSummonPersonalGameObject () |
|
void | EffectResurrectWithAura () |
|
void | EffectCreateAreaTrigger () |
|
void | EffectRemoveTalent () |
|
void | EffectDestroyItem () |
|
void | EffectLearnGarrisonBuilding () |
|
void | EffectRemoveAuraBySpellLabel () |
|
void | EffectCreateGarrison () |
|
void | EffectCreateConversation () |
|
void | EffectCancelConversation () |
|
void | EffectAddGarrisonFollower () |
|
void | EffectActivateGarrisonBuilding () |
|
void | EffectGrantBattlePetLevel () |
|
void | EffectGiveExperience () |
|
void | EffectGiveRestedExperience () |
|
void | EffectHealBattlePetPct () |
|
void | EffectEnableBattlePets () |
|
void | EffectChangeBattlePetQuality () |
|
void | EffectLaunchQuestChoice () |
|
void | EffectUncageBattlePet () |
|
void | EffectCreateHeirloomItem () |
|
void | EffectUpgradeHeirloom () |
|
void | EffectApplyEnchantIllusion () |
|
void | EffectUpdatePlayerPhase () |
|
void | EffectUpdateZoneAurasAndPhases () |
|
void | EffectGiveArtifactPower () |
|
void | EffectGiveArtifactPowerNoBonus () |
|
void | EffectPlaySceneScriptPackage () |
|
void | EffectCreateSceneObject () |
|
void | EffectCreatePrivateSceneObject () |
|
void | EffectPlayScene () |
|
void | EffectGiveHonor () |
|
void | EffectJumpCharge () |
|
void | EffectLearnTransmogSet () |
|
void | EffectRespecAzeriteEmpoweredItem () |
|
void | EffectLearnAzeriteEssencePower () |
|
void | EffectCreatePrivateConversation () |
|
void | EffectSendChatMessage () |
|
void | EffectGrantBattlePetExperience () |
|
void | EffectLearnTransmogIllusion () |
|
void | EffectModifyAuraStacks () |
|
void | EffectModifyCooldown () |
|
void | EffectModifyCooldowns () |
|
void | EffectModifyCooldownsByCategory () |
|
void | EffectModifySpellCharges () |
|
void | EffectCreateTraitTreeConfig () |
|
void | EffectChangeActiveCombatTraitConfig () |
|
void | EffectTeleportGraveyard () |
|
| Spell (WorldObject *caster, SpellInfo const *info, TriggerCastFlags triggerFlags, ObjectGuid originalCasterGUID=ObjectGuid::Empty, ObjectGuid originalCastId=ObjectGuid::Empty) |
|
| ~Spell () |
|
void | InitExplicitTargets (SpellCastTargets const &targets) |
|
void | SelectExplicitTargets () |
|
void | SelectSpellTargets () |
|
void | SelectEffectImplicitTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 &processedEffectMask) |
|
void | SelectImplicitChannelTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType) |
|
void | SelectImplicitNearbyTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask) |
|
void | SelectImplicitConeTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask) |
|
void | SelectImplicitAreaTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask) |
|
void | SelectImplicitCasterDestTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex) |
|
void | SelectImplicitTargetDestTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex) |
|
void | SelectImplicitDestDestTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex) |
|
void | SelectImplicitCasterObjectTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType) |
|
void | SelectImplicitTargetObjectTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType) |
|
void | SelectImplicitChainTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, WorldObject *target, uint32 effMask) |
|
void | SelectImplicitTrajTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType) |
|
void | SelectImplicitLineTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask) |
|
void | SelectEffectTypeImplicitTargets (SpellEffectInfo const &spellEffectInfo) |
|
WorldObject * | SearchNearbyTarget (SpellEffectInfo const &spellEffectInfo, float range, SpellTargetObjectTypes objectType, SpellTargetCheckTypes selectionType, ConditionContainer const *condList=nullptr) |
|
void | SearchAreaTargets (std::list< WorldObject * > &targets, SpellEffectInfo const &spellEffectInfo, float range, Position const *position, WorldObject *referer, SpellTargetObjectTypes objectType, SpellTargetCheckTypes selectionType, ConditionContainer const *condList, Trinity::WorldObjectSpellAreaTargetSearchReason searchReason) |
|
void | SearchChainTargets (std::list< WorldObject * > &targets, uint32 chainTargets, WorldObject *target, SpellTargetObjectTypes objectType, SpellTargetCheckTypes selectType, SpellEffectInfo const &spellEffectInfo, bool isChainHeal) |
|
GameObject * | SearchSpellFocus () |
|
SpellCastResult | prepare (SpellCastTargets const &targets, AuraEffect const *triggeredByAura=nullptr) |
|
void | cancel () |
|
void | update (uint32 difftime) |
|
void | cast (bool skipCheck=false) |
|
void | finish (SpellCastResult result=SPELL_CAST_OK) |
|
void | TakePower () |
|
void | TakeRunePower (bool didHit) |
|
void | TakeReagents () |
|
void | TakeCastItem () |
|
SpellCastResult | CheckCast (bool strict, int32 *param1=nullptr, int32 *param2=nullptr) |
|
SpellCastResult | CheckPetCast (Unit *target) |
|
void | handle_immediate () |
|
uint64 | handle_delayed (uint64 t_offset) |
|
void | _handle_immediate_phase () |
|
void | _handle_finish_phase () |
|
SpellCastResult | CheckItems (int32 *param1, int32 *param2) const |
|
SpellCastResult | CheckRange (bool strict) const |
|
SpellCastResult | CheckPower () const |
|
SpellCastResult | CheckRuneCost () const |
|
SpellCastResult | CheckCasterAuras (int32 *param1) const |
|
SpellCastResult | CheckArenaAndRatedBattlegroundCastRules () |
|
SpellCastResult | CheckMovement () const |
|
bool | CheckSpellCancelsAuraEffect (AuraType auraType, int32 *param1) const |
|
bool | CheckSpellCancelsCharm (int32 *param1) const |
|
bool | CheckSpellCancelsStun (int32 *param1) const |
|
bool | CheckSpellCancelsSilence (int32 *param1) const |
|
bool | CheckSpellCancelsPacify (int32 *param1) const |
|
bool | CheckSpellCancelsFear (int32 *param1) const |
|
bool | CheckSpellCancelsConfuse (int32 *param1) const |
|
bool | CheckSpellCancelsNoActions (int32 *param1) const |
|
int32 | CalculateDamage (SpellEffectInfo const &spellEffectInfo, Unit const *target, float *var=nullptr) const |
|
void | Delayed () |
|
void | DelayedChannel () |
|
uint32 | getState () const |
|
void | setState (uint32 state) |
|
void | DoCreateItem (uint32 itemId, ItemContext context=ItemContext::NONE, std::vector< int32 > const *bonusListIDs=nullptr) |
|
bool | CheckEffectTarget (Unit const *target, SpellEffectInfo const &spellEffectInfo, Position const *losPosition) const |
|
bool | CheckEffectTarget (GameObject const *target, SpellEffectInfo const &spellEffectInfo) const |
|
bool | CheckEffectTarget (Item const *target, SpellEffectInfo const &spellEffectInfo) const |
|
bool | CanAutoCast (Unit *target) |
|
void | CheckSrc () |
|
void | CheckDst () |
|
void | SendCastResult (SpellCastResult result, int32 *param1=nullptr, int32 *param2=nullptr) const |
|
void | SendPetCastResult (SpellCastResult result, int32 *param1=nullptr, int32 *param2=nullptr) const |
|
void | SendMountResult (MountResult result) |
|
void | SendSpellStart () |
|
void | SendSpellGo () |
|
void | SendSpellCooldown () |
|
void | SendSpellExecuteLog () |
|
SpellLogEffect & | GetExecuteLogEffect (SpellEffectName effect) |
|
template<typename T > |
std::vector< T > & | GetExecuteLogEffectTargets (SpellEffectName effect, Optional< std::vector< T > > SpellLogEffect::*member) |
|
void | ExecuteLogEffectTakeTargetPower (SpellEffectName effect, Unit *target, uint32 powerType, uint32 points, float amplitude) |
|
void | ExecuteLogEffectExtraAttacks (SpellEffectName effect, Unit *victim, uint32 numAttacks) |
|
void | ExecuteLogEffectDurabilityDamage (SpellEffectName effect, Unit *victim, int32 itemId, int32 amount) |
|
void | ExecuteLogEffectOpenLock (SpellEffectName effect, Object *obj) |
|
void | ExecuteLogEffectCreateItem (SpellEffectName effect, uint32 entry) |
|
void | ExecuteLogEffectDestroyItem (SpellEffectName effect, uint32 entry) |
|
void | ExecuteLogEffectSummonObject (SpellEffectName effect, WorldObject *obj) |
|
void | ExecuteLogEffectUnsummonObject (SpellEffectName effect, WorldObject *obj) |
|
void | ExecuteLogEffectResurrect (SpellEffectName effect, Unit *target) |
|
void | SendSpellInterruptLog (Unit *victim, uint32 spellId) |
|
void | SendInterrupted (uint8 result) |
|
void | SendChannelUpdate (uint32 time) |
|
void | SendChannelStart (uint32 duration) |
|
void | SendResurrectRequest (Player *target) |
|
void | HandleEffects (Unit *pUnitTarget, Item *pItemTarget, GameObject *pGoTarget, Corpse *pCorpseTarget, SpellEffectInfo const &spellEffectInfo, SpellEffectHandleMode mode) |
|
void | HandleThreatSpells () |
|
int32 | GetCastTime () const |
|
int32 | GetRemainingCastTime () const |
|
bool | IsAutoRepeat () const |
|
void | SetAutoRepeat (bool rep) |
|
void | ReSetTimer () |
|
bool | IsTriggered () const |
|
bool | IsIgnoringCooldowns () const |
|
bool | IsFocusDisabled () const |
|
bool | IsProcDisabled () const |
|
bool | IsChannelActive () const |
|
bool | IsAutoActionResetSpell () const |
|
bool | IsPositive () const |
|
bool | IsTriggeredByAura (SpellInfo const *auraSpellInfo) const |
|
int32 | GetProcChainLength () const |
|
bool | IsDeletable () const |
|
void | SetReferencedFromCurrent (bool yes) |
|
bool | IsInterruptable () const |
|
void | SetExecutedCurrently (bool yes) |
|
uint64 | GetDelayStart () const |
|
void | SetDelayStart (uint64 m_time) |
|
uint64 | GetDelayMoment () const |
|
uint64 | CalculateDelayMomentForDst (float launchDelay) const |
|
void | RecalculateDelayMomentForDst () |
|
void | UpdateDelayMomentForDst (uint64 hitDelay) |
|
void | UpdateDelayMomentForUnitTarget (Unit *unit, uint64 hitDelay) |
|
uint8 | GetRuneState () const |
|
void | SetRuneState (uint8 value) |
|
bool | IsNeedSendToClient () const |
|
CurrentSpellTypes | GetCurrentContainer () const |
|
WorldObject * | GetCaster () const |
|
ObjectGuid | GetOriginalCasterGUID () const |
|
Unit * | GetOriginalCaster () const |
|
SpellInfo const * | GetSpellInfo () const |
|
Difficulty | GetCastDifficulty () const |
|
std::vector< SpellPowerCost > const & | GetPowerCost () const |
|
bool | HasPowerTypeCost (Powers power) const |
|
Optional< int32 > | GetPowerTypeCostAmount (Powers power) const |
|
bool | UpdatePointers () |
|
void | CleanupTargetList () |
|
void | SetSpellValue (SpellValueMod mod, int32 value) |
|
SpellInfo const * | GetTriggeredByAuraSpell () const |
|
int32 | GetTimer () const |
|
int64 | GetUnitTargetCountForEffect (SpellEffIndex effect) const |
|
int64 | GetGameObjectTargetCountForEffect (SpellEffIndex effect) const |
|
int64 | GetItemTargetCountForEffect (SpellEffIndex effect) const |
|
int64 | GetCorpseTargetCountForEffect (SpellEffIndex effect) const |
|
std::string | GetDebugInfo () const |
|
Trinity::unique_weak_ptr< Spell > | GetWeakPtr () const |
|
void | CallScriptOnResistAbsorbCalculateHandlers (DamageInfo const &damageInfo, uint32 &resistAmount, int32 &absorbAmount) |
|
bool | IsWithinLOS (WorldObject const *source, WorldObject const *target, bool targetAsSourceLocation, VMAP::ModelIgnoreFlags ignoreFlags) const |
|
bool | IsWithinLOS (WorldObject const *source, Position const &target, VMAP::ModelIgnoreFlags ignoreFlags) const |
|
void | CallScriptCalcCritChanceHandlers (Unit const *victim, float &chance) |
|
void | CallScriptCalcDamageHandlers (Unit *victim, int32 &damage, int32 &flatMod, float &pctMod) |
|
void | CallScriptCalcHealingHandlers (Unit *victim, int32 &healing, int32 &flatMod, float &pctMod) |
|
|
bool | HasGlobalCooldown () const |
|
void | TriggerGlobalCooldown () |
|
void | CancelGlobalCooldown () |
|
void | _cast (bool skipCheck=false) |
|
std::pair< float, float > | GetMinMaxRange (bool strict) const |
|
bool | IsDelayableNoMore () |
|
Unit * | GetUnitCasterForEffectHandlers () const |
|
void | prepareDataForTriggerSystem () |
|
template<class Container > |
void | DoProcessTargetContainer (Container &targetContainer) |
|
int32 | GetUnitTargetIndexForEffect (ObjectGuid const &target, SpellEffIndex effect) const |
|
void | AddUnitTarget (Unit *target, uint32 effectMask, bool checkIfValid=true, bool implicit=true, Position const *losPosition=nullptr) |
|
void | AddGOTarget (GameObject *target, uint32 effectMask) |
|
void | AddItemTarget (Item *item, uint32 effectMask) |
|
void | AddCorpseTarget (Corpse *target, uint32 effectMask) |
|
void | AddDestTarget (SpellDestination const &dest, uint32 effIndex) |
|
void | PreprocessSpellLaunch (TargetInfo &targetInfo) |
|
SpellMissInfo | PreprocessSpellHit (Unit *unit, TargetInfo &targetInfo) |
|
void | DoSpellEffectHit (Unit *unit, SpellEffectInfo const &spellEffectInfo, TargetInfo &targetInfo) |
|
void | DoTriggersOnSpellHit (Unit *unit) |
|
bool | UpdateChanneledTargetList () |
|
bool | IsValidDeadOrAliveTarget (Unit const *target) const |
|
void | HandleLaunchPhase () |
|
void | DoEffectOnLaunchTarget (TargetInfo &targetInfo, float multiplier, SpellEffectInfo const &spellEffectInfo) |
|
void | ResetCombatTimers () |
|
void | PrepareTargetProcessing () |
|
void | FinishTargetProcessing () |
|
void | LoadScripts () |
|
void | CallScriptOnPrecastHandler () |
|
void | CallScriptBeforeCastHandlers () |
|
void | CallScriptOnCastHandlers () |
|
void | CallScriptAfterCastHandlers () |
|
SpellCastResult | CallScriptCheckCastHandlers () |
|
int32 | CallScriptCalcCastTimeHandlers (int32 originalCastTime) |
|
bool | CallScriptEffectHandlers (SpellEffIndex effIndex, SpellEffectHandleMode mode) |
|
void | CallScriptSuccessfulDispel (SpellEffIndex effIndex) |
|
void | CallScriptBeforeHitHandlers (SpellMissInfo missInfo) |
|
void | CallScriptOnHitHandlers () |
|
void | CallScriptAfterHitHandlers () |
|
void | CallScriptObjectAreaTargetSelectHandlers (std::list< WorldObject * > &targets, SpellEffIndex effIndex, SpellImplicitTargetInfo const &targetType) |
|
void | CallScriptObjectTargetSelectHandlers (WorldObject *&target, SpellEffIndex effIndex, SpellImplicitTargetInfo const &targetType) |
|
void | CallScriptDestinationTargetSelectHandlers (SpellDestination &target, SpellEffIndex effIndex, SpellImplicitTargetInfo const &targetType) |
|
bool | CheckScriptEffectImplicitTargets (uint32 effIndex, uint32 effIndexToCheck) |
|
bool | CanExecuteTriggersOnHit (Unit *unit, SpellInfo const *triggeredByAura=nullptr) const |
|
void | PrepareTriggersExecutedOnHit () |
|
void | SummonGuardian (SpellEffectInfo const *effect, uint32 entry, SummonPropertiesEntry const *properties, uint32 numSummons, ObjectGuid privateObjectOwner) |
|
void | CalculateJumpSpeeds (SpellEffectInfo const *effInfo, float dist, float &speedXY, float &speedZ) |
|
void | UpdateSpellCastDataTargets (WorldPackets::Spells::SpellCastData &data) |
| Writes miss and hit targets for a SMSG_SPELL_GO packet. More...
|
|
int32 | GetSpellCastDataAmmo () |
|
void | UpdateSpellHealPrediction (WorldPackets::Spells::SpellHealPrediction &healPrediction, bool withPeriodic) |
|
SpellCastResult | CanOpenLock (SpellEffectInfo const &effect, uint32 lockid, SkillType &skillid, int32 &reqSkillValue, int32 &skillValue) |
|
| Spell (Spell const &right)=delete |
|
Spell & | operator= (Spell const &right)=delete |
|
Definition at line 254 of file Spell.h.