AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Go to the source code of this file.
Classes | |
struct | SpellProcEventEntry |
struct | SpellProcEntry |
struct | SpellEnchantProcEntry |
struct | SpellBonusEntry |
struct | SpellStackInfo |
struct | SpellThreatEntry |
struct | SpellTargetPosition |
class | PetAura |
struct | SpellArea |
struct | SpellChainNode |
struct | SpellLearnSkillNode |
struct | PetDefaultSpellsEntry |
struct | SpellCooldownOverride |
class | SpellMgr |
Macros | |
#define | SPELL_RELIC_COOLDOWN 1 |
#define | SPELL_LINKED_MAX_SPELLS 200000 |
#define | MELEE_BASED_TRIGGER_MASK |
#define | AURA_SPELL_PROC_EX_MASK |
#define | sSpellMgr SpellMgr::instance() |
Typedefs | |
typedef std::unordered_map< uint32, SpellProcEventEntry > | SpellProcEventMap |
typedef std::unordered_map< uint32, SpellProcEntry > | SpellProcMap |
typedef std::unordered_map< uint32, SpellEnchantProcEntry > | SpellEnchantProcEventMap |
typedef std::unordered_map< uint32, SpellBonusEntry > | SpellBonusMap |
typedef std::map< uint32, SpellStackInfo > | SpellGroupMap |
typedef std::map< uint32, SpellGroupStackFlags > | SpellGroupStackMap |
typedef std::unordered_map< uint32, SpellThreatEntry > | SpellThreatMap |
typedef std::map< uint32, float > | SpellMixologyMap |
typedef std::map< std::pair< uint32, SpellEffIndex >, SpellTargetPosition > | SpellTargetPositionMap |
typedef std::map< uint32, PetAura > | SpellPetAuraMap |
typedef std::multimap< uint32, SpellArea > | SpellAreaMap |
typedef std::multimap< uint32, SpellArea const * > | SpellAreaForQuestMap |
typedef std::multimap< uint32, SpellArea const * > | SpellAreaForAuraMap |
typedef std::multimap< uint32, SpellArea const * > | SpellAreaForAreaMap |
typedef std::pair< SpellAreaMap::const_iterator, SpellAreaMap::const_iterator > | SpellAreaMapBounds |
typedef std::pair< SpellAreaForQuestMap::const_iterator, SpellAreaForQuestMap::const_iterator > | SpellAreaForQuestMapBounds |
typedef std::pair< SpellAreaForAuraMap::const_iterator, SpellAreaForAuraMap::const_iterator > | SpellAreaForAuraMapBounds |
typedef std::pair< SpellAreaForAreaMap::const_iterator, SpellAreaForAreaMap::const_iterator > | SpellAreaForAreaMapBounds |
typedef std::unordered_map< uint32, SpellChainNode > | SpellChainMap |
typedef std::multimap< uint32, uint32 > | SpellRequiredMap |
typedef std::pair< SpellRequiredMap::const_iterator, SpellRequiredMap::const_iterator > | SpellRequiredMapBounds |
typedef std::multimap< uint32, uint32 > | SpellsRequiringSpellMap |
typedef std::pair< SpellsRequiringSpellMap::const_iterator, SpellsRequiringSpellMap::const_iterator > | SpellsRequiringSpellMapBounds |
typedef std::unordered_map< uint32, SpellLearnSkillNode > | SpellLearnSkillMap |
typedef std::multimap< uint32, SkillLineAbilityEntry const * > | SkillLineAbilityMap |
typedef std::pair< SkillLineAbilityMap::const_iterator, SkillLineAbilityMap::const_iterator > | SkillLineAbilityMapBounds |
typedef std::multimap< uint32, uint32 > | PetLevelupSpellSet |
typedef std::map< uint32, PetLevelupSpellSet > | PetLevelupSpellMap |
typedef std::map< uint32, uint32 > | SpellDifficultySearcherMap |
typedef std::map< int32, PetDefaultSpellsEntry > | PetDefaultSpellsMap |
typedef std::vector< uint32 > | SpellCustomAttribute |
typedef std::vector< bool > | EnchantCustomAttribute |
typedef std::vector< SpellInfo * > | SpellInfoMap |
typedef std::map< int32, std::vector< int32 > > | SpellLinkedMap |
typedef std::map< uint32, SpellCooldownOverride > | SpellCooldownOverrideMap |
typedef std::set< uint32 > | TalentAdditionalSet |
Functions | |
bool | IsPrimaryProfessionSkill (uint32 skill) |
bool | IsProfessionSkill (uint32 skill) |
bool | IsProfessionOrRidingSkill (uint32 skill) |
bool | IsPartOfSkillLine (uint32 skillId, uint32 spellId) |
DiminishingGroup | GetDiminishingReturnsGroupForSpell (SpellInfo const *spellproto, bool triggered) |
DiminishingReturnsType | GetDiminishingReturnsGroupType (DiminishingGroup group) |
DiminishingLevels | GetDiminishingReturnsMaxLevel (DiminishingGroup group) |
int32 | GetDiminishingReturnsLimitDuration (DiminishingGroup group, SpellInfo const *spellproto) |
bool | IsDiminishingReturnsGroupDurationLimited (DiminishingGroup group) |
#define AURA_SPELL_PROC_EX_MASK |
#define MELEE_BASED_TRIGGER_MASK |
#define SPELL_LINKED_MAX_SPELLS 200000 |
#define SPELL_RELIC_COOLDOWN 1 |
#define sSpellMgr SpellMgr::instance() |
typedef std::vector<bool> EnchantCustomAttribute |
typedef std::map<int32, PetDefaultSpellsEntry> PetDefaultSpellsMap |
typedef std::map<uint32, PetLevelupSpellSet> PetLevelupSpellMap |
typedef std::multimap<uint32, uint32> PetLevelupSpellSet |
typedef std::multimap<uint32, SkillLineAbilityEntry const*> SkillLineAbilityMap |
typedef std::pair<SkillLineAbilityMap::const_iterator, SkillLineAbilityMap::const_iterator> SkillLineAbilityMapBounds |
typedef std::multimap<uint32, SpellArea const*> SpellAreaForAreaMap |
typedef std::pair<SpellAreaForAreaMap::const_iterator, SpellAreaForAreaMap::const_iterator> SpellAreaForAreaMapBounds |
typedef std::multimap<uint32, SpellArea const*> SpellAreaForAuraMap |
typedef std::pair<SpellAreaForAuraMap::const_iterator, SpellAreaForAuraMap::const_iterator> SpellAreaForAuraMapBounds |
typedef std::multimap<uint32, SpellArea const*> SpellAreaForQuestMap |
typedef std::pair<SpellAreaForQuestMap::const_iterator, SpellAreaForQuestMap::const_iterator> SpellAreaForQuestMapBounds |
typedef std::multimap<uint32, SpellArea> SpellAreaMap |
typedef std::pair<SpellAreaMap::const_iterator, SpellAreaMap::const_iterator> SpellAreaMapBounds |
typedef std::unordered_map<uint32, SpellBonusEntry> SpellBonusMap |
typedef std::unordered_map<uint32, SpellChainNode> SpellChainMap |
typedef std::map<uint32, SpellCooldownOverride> SpellCooldownOverrideMap |
typedef std::vector<uint32> SpellCustomAttribute |
typedef std::map<uint32, uint32> SpellDifficultySearcherMap |
typedef std::unordered_map<uint32, SpellEnchantProcEntry> SpellEnchantProcEventMap |
typedef std::map<uint32, SpellStackInfo> SpellGroupMap |
typedef std::map<uint32, SpellGroupStackFlags> SpellGroupStackMap |
typedef std::vector<SpellInfo*> SpellInfoMap |
typedef std::unordered_map<uint32, SpellLearnSkillNode> SpellLearnSkillMap |
typedef std::map<int32, std::vector<int32> > SpellLinkedMap |
typedef std::map<uint32, float> SpellMixologyMap |
typedef std::map<uint32, PetAura> SpellPetAuraMap |
typedef std::unordered_map<uint32, SpellProcEventEntry> SpellProcEventMap |
typedef std::unordered_map<uint32, SpellProcEntry> SpellProcMap |
typedef std::multimap<uint32, uint32> SpellRequiredMap |
typedef std::pair<SpellRequiredMap::const_iterator, SpellRequiredMap::const_iterator> SpellRequiredMapBounds |
typedef std::multimap<uint32, uint32> SpellsRequiringSpellMap |
typedef std::pair<SpellsRequiringSpellMap::const_iterator, SpellsRequiringSpellMap::const_iterator> SpellsRequiringSpellMapBounds |
typedef std::map<std::pair<uint32 , SpellEffIndex >, SpellTargetPosition> SpellTargetPositionMap |
typedef std::unordered_map<uint32, SpellThreatEntry> SpellThreatMap |
typedef std::set<uint32> TalentAdditionalSet |
enum EffectRadiusIndex |
enum ICCBuff |
Enumerator | |
---|---|
ICC_AREA | |
ICC_RACEMASK_HORDE | |
ICC_RACEMASK_ALLIANCE |
enum ProcAttributes |
Enumerator | |
---|---|
PROC_ATTR_REQ_EXP_OR_HONOR |
enum ProcFlags |
enum ProcFlagsExLegacy |
enum ProcFlagsHit |
enum ProcFlagsSpellPhase |
Enumerator | |
---|---|
PROC_SPELL_PHASE_NONE | |
PROC_SPELL_PHASE_CAST | |
PROC_SPELL_PHASE_HIT | |
PROC_SPELL_PHASE_FINISH | |
PROC_SPELL_PHASE_MASK_ALL |
enum ProcFlagsSpellType |
Enumerator | |
---|---|
PROC_SPELL_TYPE_NONE | |
PROC_SPELL_TYPE_DAMAGE | |
PROC_SPELL_TYPE_HEAL | |
PROC_SPELL_TYPE_NO_DMG_HEAL | |
PROC_SPELL_TYPE_MASK_ALL |
enum SpellCategories |
Enumerator | |
---|---|
SPELLCATEGORY_HEALTH_MANA_POTIONS | |
SPELLCATEGORY_DEVOUR_MAGIC | |
SPELLCATEGORY_JUDGEMENT | |
SPELLCATEGORY_FOOD | |
SPELLCATEGORY_DRINK |
enum SpellFamilyFlag |
Enumerator | |
---|---|
SPELLFAMILYFLAG_ROGUE_VANISH | |
SPELLFAMILYFLAG_ROGUE_VAN_EVAS_SPRINT | |
SPELLFAMILYFLAG1_ROGUE_COLDB_SHADOWSTEP | |
SPELLFAMILYFLAG_ROGUE_KICK | |
SPELLFAMILYFLAG1_ROGUE_DISMANTLE | |
SPELLFAMILYFLAG_ROGUE_BLADE_FLURRY | |
SPELLFAMILYFLAG1_ROGUE_BLADE_FLURRY | |
SPELLFAMILYFLAG_WARRIOR_CHARGE | |
SPELLFAMILYFLAG_WARRIOR_SLAM | |
SPELLFAMILYFLAG_WARRIOR_EXECUTE | |
SPELLFAMILYFLAG_WARRIOR_CONCUSSION_BLOW | |
SPELLFAMILYFLAG_WARLOCK_LIFETAP | |
SPELLFAMILYFLAG2_DRUID_STARFALL | |
SPELLFAMILYFLAG1_PALADIN_DIVINESTORM | |
SPELLFAMILYFLAG_SHAMAN_FROST_SHOCK | |
SPELLFAMILYFLAG_SHAMAN_HEALING_STREAM | |
SPELLFAMILYFLAG_SHAMAN_MANA_SPRING | |
SPELLFAMILYFLAG2_SHAMAN_LAVA_LASH | |
SPELLFAMILYFLAG_SHAMAN_FIRE_NOVA | |
SPELLFAMILYFLAG_DK_DEATH_STRIKE | |
SPELLFAMILYFLAG_DK_DEATH_COIL | |
SPELLFAMILYFLAG_SHAMAN_TOTEM_EFFECTS |
|
enum SpellGroupIDs |
enum SpellGroupStackFlags |
enum SpellLinkedType |
Enumerator | |
---|---|
SPELL_LINK_CAST | |
SPELL_LINK_HIT | |
SPELL_LINK_AURA | |
SPELL_LINK_REMOVE |
DiminishingGroup GetDiminishingReturnsGroupForSpell | ( | SpellInfo const * | spellproto, |
bool | triggered | ||
) |
References DIMINISHING_BANISH, DIMINISHING_CHARGE, DIMINISHING_CONTROLLED_ROOT, DIMINISHING_CONTROLLED_STUN, DIMINISHING_CYCLONE, DIMINISHING_DISARM, DIMINISHING_DISORIENT, DIMINISHING_DRAGONS_BREATH, DIMINISHING_ENTRAPMENT, DIMINISHING_FEAR, DIMINISHING_HORROR, DIMINISHING_LIMITONLY, DIMINISHING_MIND_CONTROL, DIMINISHING_NONE, DIMINISHING_OPENING_STUN, DIMINISHING_ROOT, DIMINISHING_SCATTER_SHOT, DIMINISHING_SILENCE, DIMINISHING_SLEEP, DIMINISHING_STUN, DIMINISHING_TAUNT, SpellInfo::Effects, SpellInfo::GetAllEffectsMechanicMask(), SpellInfo::Id, SpellInfo::IsPositive(), MAX_SPELL_EFFECTS, MECHANIC_BANISH, MECHANIC_CHARM, MECHANIC_DISARM, MECHANIC_FEAR, MECHANIC_HORROR, MECHANIC_KNOCKOUT, MECHANIC_POLYMORPH, MECHANIC_ROOT, MECHANIC_SAPPED, MECHANIC_SHACKLE, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_STUN, SPELL_AURA_MOD_TAUNT, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_DRUID, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_PALADIN, SPELLFAMILY_ROGUE, SPELLFAMILY_SHAMAN, SPELLFAMILY_UNK1, SPELLFAMILY_WARLOCK, SPELLFAMILY_WARRIOR, SpellInfo::SpellFamilyFlags, SpellInfo::SpellFamilyName, SpellInfo::SpellIconID, and SpellInfo::SpellVisual.
Referenced by Spell::DoSpellHitOnUnit().
DiminishingReturnsType GetDiminishingReturnsGroupType | ( | DiminishingGroup | group | ) |
References DIMINISHING_CHARGE, DIMINISHING_CONTROLLED_STUN, DIMINISHING_CYCLONE, DIMINISHING_LIMITONLY, DIMINISHING_NONE, DIMINISHING_OPENING_STUN, DIMINISHING_STUN, DIMINISHING_TAUNT, DRTYPE_ALL, DRTYPE_NONE, and DRTYPE_PLAYER.
Referenced by Unit::ApplyDiminishingToDuration(), and Spell::DoSpellHitOnUnit().
int32 GetDiminishingReturnsLimitDuration | ( | DiminishingGroup | group, |
SpellInfo const * | spellproto | ||
) |
References IN_MILLISECONDS, IsDiminishingReturnsGroupDurationLimited(), SPELLFAMILY_DRUID, SPELLFAMILY_HUNTER, SPELLFAMILY_PALADIN, SPELLFAMILY_WARLOCK, SpellInfo::SpellFamilyFlags, and SpellInfo::SpellFamilyName.
Referenced by Spell::DoSpellHitOnUnit().
DiminishingLevels GetDiminishingReturnsMaxLevel | ( | DiminishingGroup | group | ) |
References DIMINISHING_LEVEL_IMMUNE, DIMINISHING_LEVEL_TAUNT_IMMUNE, and DIMINISHING_TAUNT.
Referenced by Unit::IncrDiminishing().
bool IsDiminishingReturnsGroupDurationLimited | ( | DiminishingGroup | group | ) |
References DIMINISHING_BANISH, DIMINISHING_CONTROLLED_ROOT, DIMINISHING_CONTROLLED_STUN, DIMINISHING_CYCLONE, DIMINISHING_DISORIENT, DIMINISHING_ENTRAPMENT, DIMINISHING_FEAR, DIMINISHING_HORROR, DIMINISHING_LIMITONLY, DIMINISHING_MIND_CONTROL, DIMINISHING_OPENING_STUN, DIMINISHING_ROOT, DIMINISHING_SLEEP, and DIMINISHING_STUN.
Referenced by GetDiminishingReturnsLimitDuration().
References sSpellMgr.
Referenced by SpellMgr::LoadSpellInfoCustomAttributes().
bool IsPrimaryProfessionSkill | ( | uint32 | skill | ) |
References SkillLineEntry::categoryId, SKILL_CATEGORY_PROFESSION, and sSkillLineStore.
Referenced by WorldSession::HandleUnlearnSkillOpcode(), SpellInfo::IsPrimaryProfession(), and IsProfessionSkill().
|
inline |
References IsProfessionSkill(), and SKILL_RIDING.
Referenced by SpellInfo::IsProfessionOrRiding(), Player::LearnDefaultSkill(), and Player::UpdateSkillsToMaxSkillsForLevel().
|
inline |
References IsPrimaryProfessionSkill(), SKILL_COOKING, SKILL_FIRST_AID, and SKILL_FISHING.
Referenced by SpellInfo::IsProfession(), and IsProfessionOrRidingSkill().