fix(Scripts/Spells): Blessing of Ancient Kings crash (#8871)
This commit is contained in:
parent
1b8c23cbee
commit
27659d11a3
1 changed files with 7 additions and 1 deletions
|
|
@ -1869,7 +1869,13 @@ public:
|
|||
{
|
||||
PreventDefaultAction();
|
||||
|
||||
int32 absorb = int32(CalculatePct(eventInfo.GetHealInfo()->GetHeal(), 15.0f));
|
||||
HealInfo* healInfo = eventInfo.GetHealInfo();
|
||||
if (!healInfo)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
int32 absorb = int32(CalculatePct(healInfo->GetHeal(), 15.0f));
|
||||
// xinef: all heals contribute to one bubble
|
||||
if (AuraEffect* protEff = eventInfo.GetProcTarget()->GetAuraEffect(SPELL_PROTECTION_OF_ANCIENT_KINGS, 0/*, eventInfo.GetActor()->GetGUID()*/))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue