示例#1
0
        public GrowSimulator BuildSim()
        {
//            uint uid = UnitForm.GetUnitIDWhereSupportClass((uint)this.AddressList.SelectedIndex);
            uint uid = 0;

            GrowSimulator sim = new GrowSimulator();

            UnitForm.GetSim(ref sim
                            , uid //支援クラス
                            );
            sim.SetClassBase(
                (int)B11.Value                 //hp
                , (int)B12.Value               //str
                , (int)B13.Value               //skill
                , (int)B14.Value               //spd
                , (int)B15.Value               //def
                , (int)B16.Value               //res
                , (int)MagicExtClassBase.Value //magic extends
                );
            sim.SetClassGrow(
                (int)B27.Value                 //hp
                , (int)B28.Value               //str
                , (int)B29.Value               //skill
                , (int)B30.Value               //spd
                , (int)B31.Value               //def
                , (int)B32.Value               //res
                , (int)B33.Value               //luck
                , (int)MagicExtClassGrow.Value //magic extends
                );

            return(sim);
        }
示例#2
0
        public GrowSimulator BuildSim()
        {
            GrowSimulator sim = new GrowSimulator();

            UnitForm.GetSim(ref sim
                            , (uint)B0.Value //ユニット
                            );
            ClassForm.GetSim(ref sim
                             , (uint)B1.Value //クラス
                             );

            return(sim);
        }