コード例 #1
0
        public int GetMaxSouls(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility)
        {
            if (!dotariaPlayer.HasAbility(this))
            {
                return(0);
            }

            return(4 + playerAbility.Level * 8 + (dotariaPlayer.HasAghanims() ? 10 : 0));
        }
コード例 #2
0
 public override float GetCooldown(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility) => dotariaPlayer.HasAghanims() ? 2 : 6;
コード例 #3
0
 public int GetDuration(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility) => 3 + playerAbility.Level + (dotariaPlayer.HasAghanims() ? 1 : 0);
コード例 #4
0
 public static float GetFreezeDamage(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility) =>
 (playerAbility.Level + (dotariaPlayer.HasAghanims() ? 1 : 0)) * 8;
コード例 #5
0
 public static float GetFreezeCooldown(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility) =>
 0.8f - (playerAbility.Level + (dotariaPlayer.HasAghanims() ? 1 : 0)) * 0.03f;
コード例 #6
0
 public static float GetColdSnapDuration(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility) =>
 2.5f + (playerAbility.Level + (dotariaPlayer.HasAghanims() ? 1 : 0)) * 0.5f;
コード例 #7
0
 public static float GetSelfMoveSpeedChange(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility) =>
 - 0.4f + 0.1f * playerAbility.Level + (dotariaPlayer.HasAghanims() ? 0.1f : 0);
コード例 #8
0
 public static float GetEnemyMoveSpeedChange(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility) =>
 - 0.15f - 0.05f * playerAbility.Level - (dotariaPlayer.HasAghanims() ? 0.05f : 0);