mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 01:17:39 +00:00
replaced macro VALENCE with function valence()
This commit is contained in:
@@ -1581,7 +1581,7 @@ EX bool no_barriers_in_radius(cell *c, int rad) {
|
||||
EX eMonster camelot_monster() {
|
||||
eMonster ms[3] = { moHedge, moLancer, moFlailer };
|
||||
eMonster m = ms[hrand(3)];
|
||||
if(m == moHedge && VALENCE > 3)
|
||||
if(m == moHedge && valence() > 3)
|
||||
m = moPyroCultist;
|
||||
if(getDistLimit() <= 2 && m == moLancer) m = moGoblin;
|
||||
if(getDistLimit() <= 3 && m == moPyroCultist) m = moCultist;
|
||||
|
Reference in New Issue
Block a user