Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellCalculations.cpp File Reference
#include "SpellCalculations.h"
#include "SpellAuraDefines.h"
#include "Util.h"
Include dependency graph for SpellCalculations.cpp:

Go to the source code of this file.

Namespaces

namespace  Skyfire
namespace  Skyfire::Spells

Functions

int32 Skyfire::Spells::CalculateBaseCastTime (uint8 level, int32 castTimeMin, int32 castTimeMax, int32 castTimeMaxLevel, int32 fallbackCastTime)
int32 Skyfire::Spells::CalculateDuration (bool hasDurationEntry, int32 duration)
int32 Skyfire::Spells::CalculateEffectBaseValue (int32 value, int32 dieSides)
uint32 Skyfire::Spells::CalculateMaxTicks (int32 duration, SpellTickEffectInfo const *effects, uint32 effectCount)
float Skyfire::Spells::CalculateRadius (SpellRadiusCalculationData const &data)
uint32 Skyfire::Spells::CalculateRecoveryTime (uint32 recoveryTime, uint32 categoryRecoveryTime)
SpellPowerCostCalculationResult Skyfire::Spells::CalculateSpellPowerCosts (SpellPowerCostCalculationData const &data)
uint32 Skyfire::Spells::FinalizeCastTime (int32 castTime, bool addRangedAmmoDelay)
int32 Skyfire::Spells::NormalizeDurationValue (int32 duration)
float Skyfire::Spells::SelectSpellRange (bool hasRangeEntry, float friendRange, float hostileRange, bool positive)