public float GetDamageMultiplier(HitboxArea hitbox) { foreach (var hb in DamagePercents) { if (hb.Area == hitbox) { return(hb.DamagePercent / 100f); } } return(1f); }
public AreaDamageDefinition(HitboxArea area, int percent) { Area = area; DamagePercent = percent; }