Exemple #1
0
 private static int ShotsWhenFiredDisplayOverider(Weapon weapon)
 {
     if (weapon.weaponDef.ComponentTags.Contains("wr-clustered_shots") || (CustomAmmoCategories.getWeaponDisabledClustering(weapon) == false))
     {
         return(weapon.ShotsWhenFired * weapon.ProjectilesPerShot);
     }
     else
     {
         return(weapon.ShotsWhenFired);
     }
 }