573 {
575 {
577
579 {
580 switch (aurEff->GetId())
581 {
583 rank = 1;
584 break;
586 rank = 2;
587 break;
588 default:
589 LOG_ERROR(
"spells",
"Unknown rank of Improved Healthstone id: {}", aurEff->GetId());
590 break;
591 }
592 }
594 if (spellRank > 0 && spellRank <= 8)
596 }
597 }
std::uint32_t uint32
Definition: Define.h:108
#define LOG_ERROR(filterType__,...)
Definition: Log.h:159
@ 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:3505
Definition: SpellAuraEffects.h:39
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
void CreateItem(uint32 effIndex, uint32 itemId)
Definition: SpellScript.cpp:625