mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Add EXP Boosting modification
allows for easier games. just make the % > 100.
This commit is contained in:
11
pk3DS/Subforms/Personal.Designer.cs
generated
11
pk3DS/Subforms/Personal.Designer.cs
generated
@@ -1000,9 +1000,9 @@ private void InitializeComponent()
|
||||
this.CHK_EXP.AutoSize = true;
|
||||
this.CHK_EXP.Location = new System.Drawing.Point(6, 66);
|
||||
this.CHK_EXP.Name = "CHK_EXP";
|
||||
this.CHK_EXP.Size = new System.Drawing.Size(114, 17);
|
||||
this.CHK_EXP.Size = new System.Drawing.Size(107, 17);
|
||||
this.CHK_EXP.TabIndex = 7;
|
||||
this.CHK_EXP.Text = "Reduce EXP Yield";
|
||||
this.CHK_EXP.Text = "Modify EXP Yield";
|
||||
this.CHK_EXP.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// CHK_Growth
|
||||
@@ -1039,6 +1039,11 @@ private void InitializeComponent()
|
||||
// NUD_EXP
|
||||
//
|
||||
this.NUD_EXP.Location = new System.Drawing.Point(69, 84);
|
||||
this.NUD_EXP.Maximum = new decimal(new int[] {
|
||||
300,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.NUD_EXP.Name = "NUD_EXP";
|
||||
this.NUD_EXP.Size = new System.Drawing.Size(46, 20);
|
||||
this.NUD_EXP.TabIndex = 5;
|
||||
@@ -1409,7 +1414,7 @@ private void InitializeComponent()
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(469, 417);
|
||||
this.ClientSize = new System.Drawing.Size(469, 416);
|
||||
this.Controls.Add(this.B_Dump);
|
||||
this.Controls.Add(this.PB_MonSprite);
|
||||
this.Controls.Add(this.TC_Pokemon);
|
||||
|
||||
@@ -455,7 +455,7 @@ private void B_ModifyAll(object sender, EventArgs e)
|
||||
if (CHK_Growth.Checked)
|
||||
CB_EXPGroup.SelectedIndex = 5;
|
||||
if (CHK_EXP.Checked)
|
||||
TB_BaseExp.Text = (Convert.ToUInt16(TB_BaseExp.Text) / (100 / NUD_EXP.Value)).ToString("000");
|
||||
TB_BaseExp.Text = ((float)NUD_EXP.Value*(Convert.ToUInt16(TB_BaseExp.Text)/100f)).ToString("000");
|
||||
|
||||
if (CHK_QuickHatch.Checked)
|
||||
TB_HatchCycles.Text = 1.ToString();
|
||||
|
||||
Reference in New Issue
Block a user