예제 #1
0
 public string TraceBar(bool health)
 {
     if (health)
     {
         return(String.Format("{0}  {1}/{2}", LOGS.TraceBar(_hp + _hp_shield, _hpmax + _hp_shield), _hp + _hp_shield, _hpmax + _hp_shield));
     }
     return(String.Format("{0}  {1}/{2}", LOGS.TraceBar(_mp, _mpmax), _mp, _mpmax));
 }
예제 #2
0
        public virtual string TraceMoveStats()
        {
            string s = String.Format("\n{0} (lvl.{1})\n{8}\nHP: {15}  {2} / {3}\t +{4}\nMP: {16}  {5} / {6}\t +{7}\nATT: {9}x{10} at range {11}\nMV: {12}\tDEF: {13}\tACC: {14}\n"
                                     , NameFull, Level, StrPlus(_hp, _hp_shield), _hpmax, StrPlus(_hp_regen_per_turn, _hp_regen_mod),
                                     _mp, _mpmax, StrPlus(_mp_regen_per_turn, _mp_regen_mod), description, StrPlus(_atpmax, _atp_mod),
                                     StrPlus(_att_dmg, _att_dmg_mod), _att_dist, StrPlus(_mvpmax, _mvp_mod), StrPlus(_def, _def_mod), (_acc == -1) ? "no"
                 : StrPlus(_acc, _acc_mod), LOGS.TraceBar(_hp + _hp_shield, _hpmax + _hp_shield), LOGS.TraceBar(_mp, _mpmax));

            for (int i = 0; i < buffs.Count; i++)
            {
                s += buffs[i].NameFull + "\n";
            }
            return(s);
        }
예제 #3
0
 public virtual string TraceBars()
 {
     return(String.Format("\n  {0}:\n  HP:{1}\n  MP:{2}", NameFull, LOGS.TraceBar(_hp + _hp_shield, _hpmax + _hp_shield), LOGS.TraceBar(_mp, _mpmax)));
 }