From dacfb3beacdadc63ae7197c10f67a77837da2b1b Mon Sep 17 00:00:00 2001 From: cadon Date: Mon, 21 Mar 2016 13:59:17 +0100 Subject: [PATCH] fixed breeding values for stat-tester. fixed procoptodon level-up-values --- ARKBreedingStats/Form1.cs | 9 +++------ ARKBreedingStats/Properties/AssemblyInfo.cs | 2 +- ARKBreedingStats/stats.txt | 8 ++++---- ARKBreedingStats/ver.txt | 2 +- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/ARKBreedingStats/Form1.cs b/ARKBreedingStats/Form1.cs index 5f087c52..73520b16 100644 --- a/ARKBreedingStats/Form1.cs +++ b/ARKBreedingStats/Form1.cs @@ -954,7 +954,7 @@ private double breedingValue(int s, int r) { if (r >= 0 && r < results[s].Count) { - return calculateValue(sE, s, (int)results[s][r][0], 0, true, results[s][r][2]); + return calculateValue(sE, s, (int)results[s][r][0], 0, true, 1); } } return -1; @@ -2053,11 +2053,8 @@ private void checkBoxQuickWildCheck_CheckedChanged(object sender, EventArgs e) /// private void statIOUpdateValue(StatIO sIo) { - double te = 1; - if (!checkBoxStatTestingBred.Checked) - te = (double)NumericUpDownTestingTE.Value / 100; - sIo.BreedingValue = calculateValue(cbbStatTestingSpecies.SelectedIndex, sIo.statIndex, sIo.LevelWild, 0, true, te); - sIo.Input = calculateValue(cbbStatTestingSpecies.SelectedIndex, sIo.statIndex, sIo.LevelWild, sIo.LevelDom, (checkBoxStatTestingTamed.Checked || checkBoxStatTestingBred.Checked), te); + sIo.BreedingValue = calculateValue(cbbStatTestingSpecies.SelectedIndex, sIo.statIndex, sIo.LevelWild, 0, true, 1); + sIo.Input = calculateValue(cbbStatTestingSpecies.SelectedIndex, sIo.statIndex, sIo.LevelWild, sIo.LevelDom, (checkBoxStatTestingTamed.Checked || checkBoxStatTestingBred.Checked), (double)NumericUpDownTestingTE.Value / 100); // update Torpor-level if changed value is not from torpor-StatIO if (updateTorporInTester && sIo != statTestingTorpor) diff --git a/ARKBreedingStats/Properties/AssemblyInfo.cs b/ARKBreedingStats/Properties/AssemblyInfo.cs index 8d06adc6..9422e011 100644 --- a/ARKBreedingStats/Properties/AssemblyInfo.cs +++ b/ARKBreedingStats/Properties/AssemblyInfo.cs @@ -33,4 +33,4 @@ // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.17.5.0")] +[assembly: AssemblyFileVersion("0.17.6.0")] diff --git a/ARKBreedingStats/stats.txt b/ARKBreedingStats/stats.txt index b1c25e77..47981f37 100644 --- a/ARKBreedingStats/stats.txt +++ b/ARKBreedingStats/stats.txt @@ -5,7 +5,7 @@ // if a creature has no oxygen, set basevalue to 0 and the stat will be deactivated // // version of this file (is used for update-check) -!2360503 +!2360504 Angler 450,0.2,0.27,0.3,0 240,0.1,0.1,0,0 @@ -313,14 +313,14 @@ Plesiosaur 1,0,0.025,0,0 1600,0.06,0,0.5,0 Procoptodon -400,0.2,0.27,0.5 -350,0.1,0.1,0,0 +400,0.11,0.27,0.5 +350,0.05428571428,0.1,0,0 150,0.1,0.1,0,0 1500,0.1,0.1,0,0 450,0.02,0.04,0,0 1,0.05,0.1,0.2,0.25 1,0,0.02,0,0 -350,0.06,0,0.5,0 +350,0.034285714,0,0.5,0 Pteranodon 210,0.2,0.27,0.5,0 300,0.1,0.1,0,0 diff --git a/ARKBreedingStats/ver.txt b/ARKBreedingStats/ver.txt index 17abd8fe..5cc70edc 100644 --- a/ARKBreedingStats/ver.txt +++ b/ARKBreedingStats/ver.txt @@ -1 +1 @@ -2360503,2360503 \ No newline at end of file +2360504,2360503 \ No newline at end of file