Exemple #1
0
        public override string ToString()
        {
            string passiveText;

            switch (Type)
            {
            case JudgementType.Basic:
                if (BasicType == BasicType.Number)
                {
                    if (BuffPassive.IsZero)
                    {
                        passiveText = "";
                    }
                    else
                    {
                        passiveText = BuffPassive.ToString(false);
                    }
                }
                else
                {
                    passiveText = $"/{BasicType.GetText()}{BuffPassive.ToString(true)}";
                }
                break;

            case JudgementType.Versus:
                passiveText = $"/{UseSkillPassive.GetText()}{BuffPassive.ToString(true)}";
                break;

            default:
                return(Type.GetText());
            }
            return($"{Type.GetText()}({UseSkillActive.GetText()}{BuffActive.ToString(true)}{passiveText})");
        }