コード例 #1
0
        public string Description(Encounter enc, bool detailed)
        {
            string name = EncounterLog.GetName(this.fID, enc, detailed);

            if (this.fSuccess)
            {
                return(string.Concat(name, " gained a success"));
            }
            return(string.Concat(name, " incurred a failure"));
        }
コード例 #2
0
        public string Description(Encounter enc, bool detailed)
        {
            string name = EncounterLog.GetName(this.fID, enc, detailed);

            if (this.fAdded)
            {
                return(string.Concat(name, " used <B>", this.fPowerName, "</B>"));
            }
            return(string.Concat(name, " recharged <B>", this.fPowerName, "</B>"));
        }
コード例 #3
0
        public string Description(Encounter enc, bool detailed)
        {
            string lower = "not bloodied";

            if (this.fState != CreatureState.Active)
            {
                lower = this.fState.ToString().ToLower();
            }
            return(string.Concat(EncounterLog.GetName(this.fID, enc, detailed), " is <B>", lower, "</B>"));
        }
コード例 #4
0
        public string Description(Encounter enc, bool detailed)
        {
            string name = EncounterLog.GetName(this.fID, enc, detailed);

            if (this.fAdded)
            {
                return(string.Concat(name, " gained ", this.fEffectText));
            }
            return(string.Concat(name, " lost ", this.fEffectText));
        }
コード例 #5
0
ファイル: MoveLogEntry.cs プロジェクト: cmdrmander/Manderplan
        public string Description(Encounter enc, bool detailed)
        {
            string name = EncounterLog.GetName(this.fID, enc, detailed);
            string str  = string.Concat(name, " moves");

            if (this.fDistance > 0)
            {
                object   obj      = str;
                object[] objArray = new object[] { obj, " ", this.fDistance, " sq" };
                str = string.Concat(objArray);
            }
            if (this.fDetails != "")
            {
                str = string.Concat(str, " ", this.fDetails.Trim());
            }
            return(str);
        }
コード例 #6
0
        public string Description(Encounter enc, bool detailed)
        {
            string str = "";

            if (this.fTypes != null)
            {
                foreach (DamageType fType in this.fTypes)
                {
                    str = string.Concat(str, " ");
                    str = string.Concat(str, fType.ToString().ToLower());
                }
            }
            string str1 = (this.fAmount >= 0 ? "takes" : "heals");

            object[] name = new object[] { EncounterLog.GetName(this.fID, enc, detailed), " ", str1, " ", Math.Abs(this.fAmount), str, " damage" };
            return(string.Concat(name));
        }
コード例 #7
0
 public string Description(Encounter enc, bool detailed)
 {
     return(string.Concat("Start turn: ", EncounterLog.GetName(this.fID, enc, detailed)));
 }
コード例 #8
0
        public string Description(Encounter enc, bool detailed)
        {
            string name = EncounterLog.GetName(this.fID, enc, detailed);

            return(string.Concat(name, " used <B>", this.fSkillName, "</B>"));
        }