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(); }
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); } }
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); }
private void X_CLASSSKILL_Button_Click(object sender, EventArgs e) { SkillUtil.JumpClassSkill(X_SkillType, (uint)this.AddressList.SelectedIndex, sender); }
private void X_UNITSKILL_Button_Click(object sender, EventArgs e) { SkillUtil.JumpUnitSkill(X_SkillType, (uint)this.AddressList.SelectedIndex + 1, sender); }