protected virtual void add_weapon_uses(ref int totalUses, int uses, Data_Weapon weapon) { if (weapon.Hits_All_in_Range()) { totalUses = Math.Max(totalUses, uses); } else { totalUses += uses; } }
protected virtual void add_weapon_uses(ref int totalUses, int uses, Data_Weapon weapon) { if (weapon.Hits_All_in_Range()) { totalUses = Math.Max(totalUses, uses); } else { totalUses += uses; } }