Exemple #1
0
    void UpgradeStatus()
    {
        switch (Job)
        {
        case job.Swordman:
            _hp    = Parameter.HitPoint(LVHP);
            _atk   = Parameter.Attack(LVATK);
            _speed = Parameter.Speed(LVSPEED);
            _cost  = Parameter.Cost(lvHP);
            break;

        case job.Archer:
            _hp    = Parameter.LongRangeHP(LVHP);
            _atk   = Parameter.LongRangeATK(LVATK);
            _range = Parameter.Range(LVSPEED);
            _speed = Parameter.Speed(LVSPEED);
            break;

        case job.Magic:
            _hp    = Parameter.MagicUserHP(LVHP);
            _atk   = Parameter.MagicUserATK(LVATK);
            _speed = Parameter.Speed(LVSPEED);
            break;
        }
    }
 void UpgradeStatus()
 {
     _hp    = Parameter.HitPoint(lvHP);
     _atk   = Parameter.Attack(lvAtk);
     _speed = Parameter.Speed(lvspeed);
 }