Merge pull request #518 from jdemeyer/free-fall-treasures

Free Fall: make treasure generation depend on correct kills
This commit is contained in:
Zeno Rogue authored and GitHub committed 2026-09-13 13:06:34 +02:00
commit 82c0c1d028
1 file changed
+1 -1
+1 -1
View File
@@ -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);