diff options
| author | Ray Hogenson <rayhogenson@gmail.com> | 2012-01-12 20:57:58 -0900 |
|---|---|---|
| committer | Ray Hogenson <rayhogenson@gmail.com> | 2012-01-12 20:57:58 -0900 |
| commit | fc1ccf0b00121dbc7ffab12b4e61472f417bf7b3 (patch) | |
| tree | 56934ca90ac4af066654403dd9f10feda0a38835 /src/YetiHack.cpp | |
| parent | 41d7bd99f4956f227bfa49f6e1d11234f5007b5f (diff) | |
| download | yetihack-fc1ccf0b00121dbc7ffab12b4e61472f417bf7b3.tar.zst | |
Changed the survival turns calculation;
Diffstat (limited to 'src/YetiHack.cpp')
| -rw-r--r-- | src/YetiHack.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/YetiHack.cpp b/src/YetiHack.cpp index 958c1ea..4709c6f 100644 --- a/src/YetiHack.cpp +++ b/src/YetiHack.cpp @@ -45,6 +45,7 @@ int start(int rate, bool immortal, bool story, double escapeturns) int x, y; int sizex, sizey; getmaxyx(stdscr,y,x); + escapeturns = escapeturns / 7810; escapeturns = escapeturns * x * y; sizey = y - 3; sizex = x; @@ -237,7 +238,7 @@ void story() refresh(); getch(); erase(); - if (start(10, false, true, 0.0064020) == 1) + if (start(10, false, true, 50) == 1) { erase(); addstr("You died!"); @@ -253,7 +254,7 @@ void story() refresh(); getch(); erase(); - if (start(5, false, true, 0.012804) == 1) + if (start(5, false, true, 100) == 1) { erase(); addstr("You died!"); @@ -269,7 +270,7 @@ void story() refresh(); getch(); erase(); - if (start(2, false, true, 0.064020) == 1) + if (start(2, false, true, 500) == 1) { erase(); addstr("You died!"); @@ -285,7 +286,7 @@ void story() refresh(); getch(); erase(); - if (start(1, false, true, 0.10243) == 1) + if (start(1, false, true, 800) == 1) { erase(); addstr("You died!"); @@ -301,7 +302,7 @@ void story() refresh(); getch(); erase(); - if (start(1, false, true, 0.12804) == 1) + if (start(1, false, true, 1000) == 1) { erase(); addstr("You died!"); |
