1466 {
1468
1470 return;
1471
1473 {
1474 int32 currentBonus = 0;
1476 {
1477 currentBonus = demonicAurEff->GetAmount();
1478 }
1479
1481 {
1483 if (spellDamageMinusBonus < 0)
1484 return;
1485 int32 bp =
int32((talentAurEff->GetAmount() / 100.0f) * spellDamageMinusBonus);
1488 }
1489 }
1490 }
std::int32_t int32
Definition: Define.h:103
@ SPELL_WARLOCK_DEMONIC_PACT_PROC
Definition: spell_warlock.cpp:74
@ WARLOCK_ICON_ID_DEMONIC_PACT
Definition: spell_warlock.cpp:81
@ EFFECT_0
Definition: SharedDefines.h:31
@ SPELLFAMILY_WARLOCK
Definition: SharedDefines.h:3533
@ SPELL_SCHOOL_MASK_MAGIC
Definition: SharedDefines.h:312
uint32 GetProcCooldown() const
Definition: Unit.h:453
Unit * GetOwner() const
Definition: Unit.cpp:10562
virtual bool HasSpellCooldown(uint32) const
Definition: Unit.h:1727
virtual void AddSpellCooldown(uint32, uint32, uint32, bool needSendToClient=false, bool forceSendToSpectator=false)
Definition: Unit.h:1729
Definition: SpellAuraEffects.h:39
void PreventDefaultAction()
Definition: SpellScript.cpp:985