AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "EnumFlag.h"
#include "EventProcessor.h"
#include "FollowerRefMgr.h"
#include "FollowerReference.h"
#include "HostileRefMgr.h"
#include "ItemTemplate.h"
#include "MotionMaster.h"
#include "Object.h"
#include "SpellAuraDefines.h"
#include "SpellDefines.h"
#include "ThreatMgr.h"
#include "UnitDefines.h"
#include "UnitUtils.h"
#include <functional>
#include <utility>
Go to the source code of this file.
Classes | |
struct | DiminishingReturn |
class | DispelInfo |
struct | CleanDamage |
class | DamageInfo |
class | HealInfo |
class | ProcEventInfo |
struct | CalcDamageInfo |
struct | SpellNonMeleeDamage |
struct | SpellPeriodicAuraLogInfo |
struct | DeclinedName |
struct | AttackPosition |
class | Unit |
class | Acore::PowerPctOrderPred |
class | Acore::HealthPctOrderPred |
class | RedirectSpellEvent |
Namespaces | |
namespace | Movement |
namespace | Acore |
Macros | |
#define | WORLD_TRIGGER 12999 |
#define | BASE_MINDAMAGE 1.0f |
#define | BASE_MAXDAMAGE 2.0f |
#define | BASE_ATTACK_TIME 2000 |
#define | MAX_AGGRO_RADIUS 45.0f |
#define | MOD_END (PCT_MOD+1) |
#define | MAX_COMBAT_RATING 25 |
#define | MAX_DECLINED_NAME_CASES 5 |
#define | CURRENT_FIRST_NON_MELEE_SPELL 1 |
#define | CURRENT_MAX_SPELL 4 |
#define | REACTIVE_TIMER_START 5000 |
#define | SUMMON_SLOT_PET 0 |
#define | SUMMON_SLOT_TOTEM 1 |
#define | MAX_TOTEM_SLOT 5 |
#define | SUMMON_SLOT_MINIPET 5 |
#define | SUMMON_SLOT_QUEST 6 |
#define | MAX_SUMMON_SLOT 7 |
#define | MAX_GAMEOBJECT_SLOT 4 |
#define | ATTACK_DISPLAY_DELAY 200 |
#define | MAX_PLAYER_STEALTH_DETECT_RANGE 30.0f |
Typedefs | |
typedef std::list< Unit * > | UnitList |
typedef std::list< std::pair< Aura *, uint8 > > | DispelChargesList |
typedef std::list< Player * > | SharedVisionList |
typedef std::unordered_map< uint32, uint32 > | PacketCooldowns |
Functions | |
void | createProcFlags (SpellInfo const *spellInfo, WeaponAttackType attackType, bool positive, uint32 &procAttacker, uint32 &procVictim) |
uint32 | createProcExtendMask (SpellNonMeleeDamage *damageInfo, SpellMissInfo missCondition) |
Variables | |
static constexpr uint32 | MAX_CREATURE_SPELLS = 8 |
static constexpr uint32 | infinityCooldownDelay = 0x9A7EC800 |
static constexpr uint32 | infinityCooldownDelayCheck = 0x4D3F6400 |
float | baseMoveSpeed [MAX_MOVE_TYPE] |
float | playerBaseMoveSpeed [MAX_MOVE_TYPE] |
#define ATTACK_DISPLAY_DELAY 200 |
#define BASE_ATTACK_TIME 2000 |
#define BASE_MAXDAMAGE 2.0f |
#define BASE_MINDAMAGE 1.0f |
#define CURRENT_FIRST_NON_MELEE_SPELL 1 |
#define CURRENT_MAX_SPELL 4 |
#define MAX_AGGRO_RADIUS 45.0f |
#define MAX_COMBAT_RATING 25 |
#define MAX_DECLINED_NAME_CASES 5 |
#define MAX_GAMEOBJECT_SLOT 4 |
#define MAX_PLAYER_STEALTH_DETECT_RANGE 30.0f |
#define MAX_SUMMON_SLOT 7 |
#define MAX_TOTEM_SLOT 5 |
#define MOD_END (PCT_MOD+1) |
#define REACTIVE_TIMER_START 5000 |
#define SUMMON_SLOT_MINIPET 5 |
#define SUMMON_SLOT_PET 0 |
#define SUMMON_SLOT_QUEST 6 |
#define SUMMON_SLOT_TOTEM 1 |
#define WORLD_TRIGGER 12999 |
typedef std::list< std::pair<Aura*, uint8> > DispelChargesList |
typedef std::unordered_map<uint32, uint32> PacketCooldowns |
typedef std::list<Player*> SharedVisionList |
enum BaseModGroup |
Enumerator | |
---|---|
CRIT_PERCENTAGE | |
RANGED_CRIT_PERCENTAGE | |
OFFHAND_CRIT_PERCENTAGE | |
SHIELD_BLOCK_VALUE | |
BASEMOD_END |
enum BaseModType |
enum CombatRating |
enum CommandStates : uint8 |
Enumerator | |
---|---|
COMMAND_STAY | |
COMMAND_FOLLOW | |
COMMAND_ATTACK | |
COMMAND_ABANDON |
enum CurrentSpellTypes |
Enumerator | |
---|---|
CURRENT_MELEE_SPELL | |
CURRENT_GENERIC_SPELL | |
CURRENT_CHANNELED_SPELL | |
CURRENT_AUTOREPEAT_SPELL |
enum DamageEffectType : uint8 |
Enumerator | |
---|---|
DIRECT_DAMAGE | |
SPELL_DIRECT_DAMAGE | |
DOT | |
HEAL | |
NODAMAGE | |
SELF_DAMAGE |
|
strong |
Enumerator | |
---|---|
Alive | |
JustDied | |
Corpse | |
Dead | |
JustRespawned |
enum DiminishingLevels |
Enumerator | |
---|---|
DIMINISHING_LEVEL_1 | |
DIMINISHING_LEVEL_2 | |
DIMINISHING_LEVEL_3 | |
DIMINISHING_LEVEL_IMMUNE | |
DIMINISHING_LEVEL_4 | |
DIMINISHING_LEVEL_TAUNT_IMMUNE |
enum ExtraAttackSpells |
Enumerator | |
---|---|
SPELL_SWORD_SPECIALIZATION | |
SPELL_HACK_AND_SLASH |
enum HitInfo |
enum MeleeHitOutcome |
enum PlayerTotemType |
Enumerator | |
---|---|
SUMMON_TYPE_TOTEM_FIRE | |
SUMMON_TYPE_TOTEM_EARTH | |
SUMMON_TYPE_TOTEM_WATER | |
SUMMON_TYPE_TOTEM_AIR |
enum ReactiveType |
Enumerator | |
---|---|
REACTIVE_DEFENSE | |
REACTIVE_HUNTER_PARRY | |
REACTIVE_OVERPOWER | |
REACTIVE_WOLVERINE_BITE | |
MAX_REACTIVE |
enum ReactStates : uint8 |
Enumerator | |
---|---|
REACT_PASSIVE | |
REACT_DEFENSIVE | |
REACT_AGGRESSIVE |
enum SpellCooldownFlags |
Spell cooldown flags sent in SMSG_SPELL_COOLDOWN.
enum UnitModifierType |
Enumerator | |
---|---|
BASE_VALUE | |
BASE_PCT | |
TOTAL_VALUE | |
TOTAL_PCT | |
MODIFIER_TYPE_END |
enum UnitMods |
enum VictimState |
Enumerator | |
---|---|
VICTIMSTATE_INTACT | |
VICTIMSTATE_HIT | |
VICTIMSTATE_DODGE | |
VICTIMSTATE_PARRY | |
VICTIMSTATE_INTERRUPT | |
VICTIMSTATE_BLOCKS | |
VICTIMSTATE_EVADES | |
VICTIMSTATE_IS_IMMUNE | |
VICTIMSTATE_DEFLECTS |
enum WeaponAttackType : uint8 |
Enumerator | |
---|---|
BASE_ATTACK | |
OFF_ATTACK | |
RANGED_ATTACK | |
MAX_ATTACK |
enum WeaponDamageRange |
uint32 createProcExtendMask | ( | SpellNonMeleeDamage * | damageInfo, |
SpellMissInfo | missCondition | ||
) |
References SpellNonMeleeDamage::absorb, SpellNonMeleeDamage::blocked, SpellNonMeleeDamage::HitInfo, PROC_EX_ABSORB, PROC_EX_BLOCK, PROC_EX_CRITICAL_HIT, PROC_EX_DEFLECT, PROC_EX_DODGE, PROC_EX_EVADE, PROC_EX_IMMUNE, PROC_EX_MISS, PROC_EX_NONE, PROC_EX_NORMAL_HIT, PROC_EX_PARRY, PROC_EX_REFLECT, PROC_EX_RESIST, SPELL_HIT_TYPE_CRIT, SPELL_MISS_ABSORB, SPELL_MISS_BLOCK, SPELL_MISS_DEFLECT, SPELL_MISS_DODGE, SPELL_MISS_EVADE, SPELL_MISS_IMMUNE, SPELL_MISS_IMMUNE2, SPELL_MISS_MISS, SPELL_MISS_NONE, SPELL_MISS_PARRY, SPELL_MISS_REFLECT, and SPELL_MISS_RESIST.
Referenced by Spell::DoAllEffectOnTarget(), and AuraEffect::HandlePeriodicPowerBurnAuraTick().
void createProcFlags | ( | SpellInfo const * | spellInfo, |
WeaponAttackType | attackType, | ||
bool | positive, | ||
uint32 & | procAttacker, | ||
uint32 & | procVictim | ||
) |
References BASE_ATTACK, SpellInfo::DmgClass, SpellInfo::EquippedItemClass, SpellInfo::EquippedItemSubClassMask, SpellInfo::HasAttribute(), ITEM_CLASS_WEAPON, ITEM_SUBCLASS_WEAPON_WAND, OFF_ATTACK, PROC_FLAG_DONE_MAINHAND_ATTACK, PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_FLAG_DONE_OFFHAND_ATTACK, PROC_FLAG_DONE_RANGED_AUTO_ATTACK, PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS, PROC_FLAG_DONE_SPELL_MELEE_DMG_CLASS, PROC_FLAG_DONE_SPELL_NONE_DMG_CLASS_NEG, PROC_FLAG_DONE_SPELL_NONE_DMG_CLASS_POS, PROC_FLAG_DONE_SPELL_RANGED_DMG_CLASS, PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK, PROC_FLAG_TAKEN_RANGED_AUTO_ATTACK, PROC_FLAG_TAKEN_SPELL_MAGIC_DMG_CLASS_NEG, PROC_FLAG_TAKEN_SPELL_MAGIC_DMG_CLASS_POS, PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS, PROC_FLAG_TAKEN_SPELL_NONE_DMG_CLASS_NEG, PROC_FLAG_TAKEN_SPELL_NONE_DMG_CLASS_POS, PROC_FLAG_TAKEN_SPELL_RANGED_DMG_CLASS, SPELL_ATTR2_AUTO_REPEAT, SPELL_DAMAGE_CLASS_MAGIC, SPELL_DAMAGE_CLASS_MELEE, SPELL_DAMAGE_CLASS_NONE, and SPELL_DAMAGE_CLASS_RANGED.
Referenced by Unit::CalcAbsorbResist().
|
extern |
Referenced by Spell::CalculateJumpSpeeds(), Unit::GetSpeed(), World::LoadConfigSettings(), and Unit::UpdateSpeed().
|
staticconstexpr |
Referenced by Aura::_ApplyForTarget(), Player::AddSpellAndCategoryCooldowns(), and Pet::Update().
|
staticconstexpr |
|
staticconstexpr |
Referenced by ObjectMgr::CheckCreatureTemplate(), Creature::Creature(), spell_q13007_iron_colossus::HandleDummy(), spell_q12726_song_of_wind_and_water::HandleHealPct(), Creature::HasSpell(), Creature::InitEntry(), CombatAI::InitializeAI(), CharmInfo::InitPossessCreateSpells(), ObjectMgr::LoadCreatureTemplate(), ObjectMgr::LoadCreatureTemplateSpells(), npc_chesspiece::OnCharmed(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), ScriptedAI::SelectSpell(), and Player::VehicleSpellInitialize().
|
extern |
Referenced by Spell::CalculateJumpSpeeds(), Unit::GetSpeed(), World::LoadConfigSettings(), and Unit::UpdateSpeed().