public static void RemoveStatModifiers(Entity entity, StatModifierList modifierList) { for (int index = 0; index < modifierList.Count; ++index) { RemoveStatModifier(entity, modifierList.Get(index)); } }
public static void ApplyStatModifiers(Entity entity, StatModifierList modifierList) { for (int index = 0; index < modifierList.Count; ++index) { ApplyStatModifier(entity, modifierList.Get(index)); } entity.OnUpdateStats(); }
public static bool CanApplyStatModifiers(Entity entity, StatModifierList modifierList) { for (int index = 0; index < modifierList.Count; ++index) { if (CanApplyStatModifier(entity, modifierList.Get(index))) { return(true); } } return(false); }