Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You have more chance to get good relics no ? Like books of secrets, book of times, etc.
Well ok, that's sucks actually, but well. Thank you for your answer
Why would they getting levels if it doesn't matter... I don't understand developers of this game.
Well, at one point the levels did matter, and maybe in the future they will again... There's also an achievement for getting a scientist to level 50
But the sad thing is that it's just useless
yeah, bury 30 scientits is a joke but id like to be a little bit more in control of whos actually going to die.
What do you think? i believe a simple rand(0,100) is way not enough.
But now they have to balaance it out.. this is not my work :)
function weightedRoller(){
const roller = new Array();
let index=0;
for (var i = 0; i <= 100; i++) {
for (var j = 0; j <= i; j++) {
roller[index] = i;
index++;
}
}
return roller[Math.floor(Math.random() * roller.length)];
}
function determineDeathForExcavationChoice(scientistIndex, excavationIndex)
{
var activeScientist = activeScientists[scientistIndex];
var excavationChoice = excavationChoices[scientistIndex][excavationIndex];
var staticScientist = scientists[activeScientist[0]];
var chanceOfDeath = Math.round(staticScientist.deathChanceMultiple * excavationChoice[2]) - relicIncreasedExcavationSuccessRatePercent();
var deathRoller = weightedRoller(); // rand(0, 100);
var willDie = deathRoller < chanceOfDeath;
if(!willDie)
{
return {"time": 0, "reasonIndex": 0};
} else
{
var deathTime = rand(1, excavationChoice[1] - 1);
return {"time": deathTime, "reasonIndex": rand(0, deathReasons.length - 1)};
}
}
https://filebin.net/54bk7g2cejoy17ex
copy to C:\Program Files (x86)\Steam\steamapps\common\MrMine\win-unpacked\resources\app
Its way more possible to get a higher value and live as to get a low value and die.
If yo take rand(1-100) you dont have a really percantage eg nightmare chance to die 40% is not really 40% because of the rand(1,100) , it drops what it want. At to time you can die no matter which percent is given, the rand doesnt care.
In my solution you can die also but more weighted as only beetwenn 0-100.
I use more values for my rand.
The value 0 exists only one time
value 1 exists two times
val 2 exists 3 times
val 3 exists 4 times
......
value 100 exits 100 times.
this are way numbers more as 1 to 100, we have now rand(0,5150)
to get now an value of 1 is near unpossible but is not unpossible.
to get a 100 is very possible but not a must.
With this modification its more 40% Chance to die as before.
You can die but not so randomless as before. its more weighted.
This is not a cheat, its that as i believe they wanted to do.
If they really want to make them die faster they now simply have to ballance the chance to die for example nightmare 90% chance do die. For me is 40% enough if you think how rare you get a scientist.
Again its not really a cheat it is a more weighted roller-mechanism there you can die also.