Exemplo n.º 1
0
 private void AddressList_SelectedIndexChanged(object sender, EventArgs e)
 {
     X_SIM.Value = GrowSimulator.CalcMaxLevel((uint)B5.Value);
     X_SIM_ValueChanged(null, null);
     SkillUtil.MakeUnitSkillButtons(X_SkillType, (uint)this.AddressList.SelectedIndex + 1, this.X_SkillButtons, this.X_Tooltip);
     CheckHardCodingWarning();
 }
Exemplo n.º 2
0
        private void AddressList_SelectedIndexChanged(object sender, EventArgs e)
        {
            U.ForceUpdate(X_SIM, GrowSimulator.ClassMaxLevel((uint)this.AddressList.SelectedIndex));

            X_SIM_ValueChanged(null, null);
            SkillUtil.MakeClassSkillButtons(X_SkillType, (uint)this.AddressList.SelectedIndex, this.X_SkillButtons, this.X_Tooltip);

            //SkillSystemsによる 特効リワーク
            if (PatchUtil.SearchClassType() == PatchUtil.class_type_enum.SkillSystems_Rework)
            {
                X_CLASSTYPE.Text = ClassForm.GetClassType((uint)this.D80.Value);
            }
        }
Exemplo n.º 3
0
        public static void MakeClassSkillButtons(PatchUtil.skill_system_enum skill, uint cid, Button[] buttons, ToolTipEx tooltip)
        {
            if (buttons == null)
            {
                return;
            }

            int skillCount = 0;

            if (skill == PatchUtil.skill_system_enum.SkillSystem)
            {
                skillCount = SkillAssignmentClassSkillSystemForm.MakeClassSkillButtons(cid, buttons, tooltip);
            }
            else if (skill == PatchUtil.skill_system_enum.FE8N_ver2)
            {
                skillCount = SkillConfigFE8NVer2SkillForm.MakeClassSkillButtons(cid, buttons, tooltip);
            }
            SkillUtil.ApplyModButton(buttons, skillCount);
        }
Exemplo n.º 4
0
 private void X_CLASSSKILL_Button_Click(object sender, EventArgs e)
 {
     SkillUtil.JumpClassSkill(X_SkillType, (uint)this.AddressList.SelectedIndex, sender);
 }
Exemplo n.º 5
0
 private void X_UNITSKILL_Button_Click(object sender, EventArgs e)
 {
     SkillUtil.JumpUnitSkill(X_SkillType, (uint)this.AddressList.SelectedIndex + 1, sender);
 }