bool CheckEffectProc(AuraEffect aurEff, ProcEventInfo eventInfo) { SpellInfo procSpell = eventInfo.GetSpellInfo(); if (procSpell != null) { _baseHolyPowerCost = procSpell.CalcPowerCost(PowerType.HolyPower, false, eventInfo.GetActor(), eventInfo.GetSchoolMask()); } else { _baseHolyPowerCost = null; } return(_baseHolyPowerCost != null); }