public static string GetEffectNameShort(Enums.eEffectType iID) { string result; if (iID == Enums.eEffectType.Endurance) { result = "End"; } else { result = ((Enums.eEffectTypeShort)iID).ToString(); } return(result); }
public bool HasProc() { for (int index = 0; index <= this.SlotCount - 1; index++) { if (this.Slots[index].Enhancement.Enh >= 0 && DatabaseAPI.Database.Enhancements[this.Slots[index].Enhancement.Enh].Effect.Length > 0 && DatabaseAPI.Database.Enhancements[this.Slots[index].Enhancement.Enh].Power != null) { for (int index2 = 0; index2 < DatabaseAPI.Database.Enhancements[this.Slots[index].Enhancement.Enh].Power.Effects.Length; index2++) { Enums.eEffectType effectType = DatabaseAPI.Database.Enhancements[this.Slots[index].Enhancement.Enh].Power.Effects[index2].EffectType; if (effectType != Enums.eEffectType.Enhancement && effectType != Enums.eEffectType.None && effectType != Enums.eEffectType.Damage && effectType != Enums.eEffectType.Heal && effectType != Enums.eEffectType.DamageBuff && (effectType != Enums.eEffectType.Mez || DatabaseAPI.Database.Enhancements[this.Slots[index].Enhancement.Enh].Power.Effects[index2].Mag <= 0f) && DatabaseAPI.Database.Enhancements[this.Slots[index].Enhancement.Enh].Power.Effects[index2].ToWho != Enums.eToWho.Target) { return(true); } } } } return(false); }
public static string GetEffectNameShort(Enums.eEffectType iID) { return(iID != Enums.eEffectType.Endurance ? ((Enums.eEffectTypeShort)iID).ToString() : "End"); }
public static string GetEffectName(Enums.eEffectType iID) { return(iID.ToString()); }