mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-31 13:04:31 +00:00
Merge pull request #518 from jdemeyer/free-fall-treasures
Free Fall: make treasure generation depend on correct kills
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -210,7 +210,7 @@ EX namespace westwall {
|
||||
EX void switchTreasure(cell *c) {
|
||||
c->item = itNone;
|
||||
if(safety) return;
|
||||
if(hrand(5000) < PT(100 + 2 * (kills[moAirElemental] + kills[moWindCrow]), 200) && c->landparam >= 5 + items[itWest])
|
||||
if(hrand(5000) < PT(100 + 2 * (kills[moWestHawk] + kills[moFallingDog]), 200) && c->landparam >= 5 + items[itWest])
|
||||
c->item = itWest;
|
||||
else if(hrand(5000) < 20*PRIZEMUL)
|
||||
placeLocalOrbs(c);
|
||||
|
||||
Reference in new issue
Block a user