From 1ef8b8c5e86da55e30eb6072129ce864f5a4c43d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 25 Dec 2018 12:50:22 +0100 Subject: [PATCH] brownian:: improved balance --- complex2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/complex2.cpp b/complex2.cpp index f375a53f..9b463708 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -103,13 +103,13 @@ namespace brownian { } ONEMPTY { - if(hrand(8000) < 50 && c->landparam >= 4 && c->landparam < 24) + if(hrand(10000) < min(250, 100 + 2 * PT(kills[moAcidBird] + kills[moBrownBug], 50)) && c->landparam >= 4 && c->landparam < 24) c->item = itBrownian; - if(hrand(8000) < 30) + if(hrand(8000) < 15 + items[itBrownian]) c->monst = moAcidBird; - else if(hrand(8000) < 30) + else if(hrand(8000) < 15) c->monst = moAlbatross; - else if(hrand(8000) < 30) { + else if(hrand(8000) < 15 + items[itBrownian]) { c->monst = moBrownBug; c->hitpoints = 3; }