コード例 #1
0
 public void init(string name, int hp, int pow, int mag, int con, int res, int spd, int mov, VectorBehavior behavior)
 {
     this.name     = name;
     this.BaseHP   = hp;
     this.BasePow  = pow;
     this.BaseMag  = mag;
     this.BaseCon  = con;
     this.BaseRes  = res;
     this.BaseSpd  = spd;
     this.BaseMov  = mov;
     this.Behavior = behavior;
 }
コード例 #2
0
    public void init(VectorLocal local, VectorBehavior behavior)
    {
        VectorCore core = DataManager.CoreLibrary[local.Core];

        this.Name     = core.name;
        this.BaseHP   = core.hp;
        this.BasePow  = core.pow;
        this.BaseMag  = core.mag;
        this.BaseCon  = core.con;
        this.BaseRes  = core.res;
        this.BaseSpd  = core.spd;
        this.BaseMov  = core.mov;
        this.Behavior = behavior;
    }