Exemplo n.º 1
0
 private bool EquipmentSlot_FireSaw(On.RoR2.EquipmentSlot.orig_FireSaw orig, EquipmentSlot self)
 {
     if (CanDeploy(self, deployableSlot_Saw))
     {
         return(orig(self));
     }
     return(false);
 }
Exemplo n.º 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);
 }