Exemplo n.º 1
0
        private bool HeroController_CanNailCharge(On.HeroController.orig_CanNailCharge orig, HeroController self)
        {
            if (HP_WeaponHandler.currentGun.gunName == "Nail")
            {
                return(orig(self));
            }

            return(false);
        }
Exemplo n.º 2
0
        private bool HeroController_CanNailCharge(On.HeroController.orig_CanNailCharge orig, HeroController self)
        {
            if (WeaponSwapHandler.currentWeapon == WeaponType.Melee)
            {
                return(orig(self));
            }

            return(false);
        }
Exemplo n.º 3
0
        private bool HeroController_CanNailCharge(On.HeroController.orig_CanNailCharge orig, HeroController self)
        {
            if (WeaponSwapAndStatHandler.instance.currentWeapon == WeaponType.Melee && canUseNailArts)
            {
                return(orig(self));
            }

            return(false);
        }