示例#1
0
        public override string GetTooltipString()
        {
            string s = "";

            s = SaveType.ToString() + " dif " + Difficulty;

            return(s);
        }
示例#2
0
        /// <summary>
        /// Pretty representation of the Attribute.</summary>
        /// <returns></returns>
        public override string ToString()
        {
            string repr = string.Format("--- Primary Attributes ------------\n" +
                                        "{0}\n{1}\n{2}\n{3}\n" +
                                        "--- Secondary Attributes ------------\n" +
                                        "{4}\n{5}\n{6}\n{7}\n{8}\n{9}\n{10}\n{11}\n{12}\n{13}\n",
                                        Body.ToString(),
                                        Mind.ToString(),
                                        Soul.ToString(),
                                        Experience.ToString(),
                                        Level.ToString(),
                                        Life.ToString(),
                                        Magic.ToString(),
                                        MagicRegenerationRate.ToString(),
                                        AlertnessRange.ToString(),
                                        AttackRange.ToString(),
                                        Damage.ToString(),
                                        MovementSpeed.ToString(),
                                        Alertness.ToString(),
                                        ChasePersistency.ToString());

            return(repr);
        }