public AuraEffectModifyMaxPower(Aura aura, AuraEffectInfoModifyMaxPower effectInfo, int index, float value) : base(aura, effectInfo, index, value) { modifierType = effectInfo.PowerType.AsModifier(); }
public static SpellPowerType AsPower(this UnitModifierType modType) => (SpellPowerType)(modType - UnitModifierType.StartPowers);
public AuraEffectModifyStatPercent(Aura aura, AuraEffectInfoModifyStatPercent effectInfo, int index, float value) : base(aura, effectInfo, index, value) { modifierType = effectInfo.StatType.AsModifier(); }