596 {
598 {
600
602 {
603 switch (aurEff->GetId())
604 {
606 rank = 1;
607 break;
609 rank = 2;
610 break;
611 default:
612 LOG_ERROR(
"spells",
"Unknown rank of Improved Healthstone id: {}", aurEff->GetId());
613 break;
614 }
615 }
617 if (spellRank > 0 && spellRank <= 8)
619 }
620 }
#define LOG_ERROR(filterType__,...)
Definition: Log.h:157
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_WARLOCK_IMPROVED_HEALTHSTONE_R1
Definition: spell_warlock.cpp:53
@ SPELL_WARLOCK_IMPROVED_HEALTHSTONE_R2
Definition: spell_warlock.cpp:54
@ SPELLFAMILY_WARLOCK
Definition: SharedDefines.h:3533
Definition: SpellAuraEffects.h:39
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
void CreateItem(uint32 effIndex, uint32 itemId)
Definition: SpellScript.cpp:625