예제 #1
0
    private void SetBiology()
    {
        BiologyBuilder BiologyBuilder = new BiologyBuilder(BiologyNum);

        Name    = BiologyBuilder.Name;
        DrawNum = BiologyBuilder.DrawNum;
        Type    = BiologyBuilder.Type;
        Lv      = BiologyBuilder.Lv;
        Ai      = BiologyBuilder.Ai;
    }
예제 #2
0
    private void LoadDB()
    {
        BiologyBuilder BiologyBuilder = new BiologyBuilder(Biology.BiologyNum);

        if (Lv == "" || GameDB.Instance.Level.ContainsKey(Lv) == false)
        {
            return;
        }
        TypeStep = ((int)Type - 1) * TypeStep;
        HpMax    = GetHpMax() * BiologyBuilder.Hp;
        Def      = GetDef();
        Atk      = GetAtk();
        ASpeed   = GetASpeed() * BiologyBuilder.ASpeed;
        MpMax    = GetMpMax();
        MSpeed   = GetMSpeed();
        Speed    = GetSpeed();;
    }