예제 #1
0
        ////

        private static void ApplySpiritWalkCollisionFriction_Anima(Player player)
        {
            var   config        = SpiritWalkingConfig.Instance;
            float animaPercDraw = config.Get <float>(nameof(config.PerTickSpiritWalkFrictionAddedAnimaPercentCost));

            SpiritWalkLogic.ApplyAnimaDraw(player, animaPercDraw);
        }
        ////

        private static void UpdateSpiritWalkCost_Anima(Player player)
        {
            var config = SpiritWalkingConfig.Instance;

            float animaPercCost = config.Get <float>(nameof(config.PerTickSpiritWalkAnimaPercentCost));

            SpiritWalkLogic.ApplyAnimaDraw(player, animaPercCost);
        }
예제 #3
0
        ////

        private static bool ApplyActivateAnimaCostIf(Player player)
        {
            var   config        = SpiritWalkingConfig.Instance;
            float animaPercCost = config.Get <float>(nameof(config.InitialSpiritWalkAnimaPercentCost));

            SpiritWalkLogic.ApplyAnimaDraw(player, animaPercCost);

            return(true);
        }