Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources
This commit is contained in:
1 parent
7fff6c424f
commit
5ff847159c
1243 files changed
+29780
-36517
No files matched your search
@@ -22,11 +22,13 @@
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "SpellScript.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "Unit.h"
|
||||
#include "Player.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "Pet.h"
|
||||
#include "Player.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "SpellScript.h"
|
||||
#include "Unit.h"
|
||||
|
||||
enum HunterPetCalculate
|
||||
{
|
||||
@@ -892,13 +894,6 @@ public:
|
||||
{
|
||||
PrepareAuraScript(spell_hun_pet_scaling_01_AuraScript);
|
||||
|
||||
public:
|
||||
spell_hun_pet_scaling_01_AuraScript()
|
||||
{
|
||||
_tempHealth = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
void CalculateStaminaAmount(AuraEffect const* /* aurEff */, int32& amount, bool& /*canBeRecalculated*/)
|
||||
{
|
||||
if (Unit* pet = GetUnitOwner())
|
||||
@@ -1006,8 +1001,7 @@ public:
|
||||
DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_hun_pet_scaling_01_AuraScript::CalculateDamageDoneAmount, EFFECT_2, SPELL_AURA_MOD_DAMAGE_DONE);
|
||||
}
|
||||
|
||||
private:
|
||||
uint32 _tempHealth;
|
||||
uint32 _tempHealth = 0;
|
||||
};
|
||||
|
||||
AuraScript* GetAuraScript() const override
|
||||
@@ -1542,7 +1536,7 @@ public:
|
||||
float mod = 0.7f;
|
||||
|
||||
// Ravenous Dead
|
||||
AuraEffect const* aurEff = NULL;
|
||||
AuraEffect const* aurEff = nullptr;
|
||||
// Check just if owner has Ravenous Dead since it's effect is not an aura
|
||||
aurEff = owner->GetAuraEffect(SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DEATHKNIGHT, 3010, 0);
|
||||
if (aurEff)
|
||||
|
||||
Reference in new issue
Block a user