private bool EquipmentSlot_FireSaw(On.RoR2.EquipmentSlot.orig_FireSaw orig, EquipmentSlot self)
 {
     if (CanDeploy(self, deployableSlot_Saw))
     {
         return(orig(self));
     }
     return(false);
 }
Beispiel #2
0
 private static bool EquipmentSlot_FireSaw(On.RoR2.EquipmentSlot.orig_FireSaw orig, EquipmentSlot self)
 {
     if (CanDeploy(self, PerPlayerDeployableType.Saw))
     {
         self.subcooldownTimer = cfgSawCooldown;
         return(orig(self));
     }
     return(false);
 }