Beispiel #1
0
 public AuraEffectModifyMaxPower(Aura aura, AuraEffectInfoModifyMaxPower effectInfo, int index, float value) : base(aura, effectInfo, index, value)
 {
     modifierType = effectInfo.PowerType.AsModifier();
 }
Beispiel #2
0
 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();
 }