mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-28 20:14:06 +00:00
reduced the range of Fire Cultists to 2 if getDistLimit() < 4
This commit is contained in:
parent
5bf27db481
commit
6ca2768641
2
game.cpp
2
game.cpp
@ -5493,7 +5493,7 @@ void specialMoves() {
|
|||||||
bool shot = false;
|
bool shot = false;
|
||||||
bool dont_approach = false;
|
bool dont_approach = false;
|
||||||
// smaller range on the sphere
|
// smaller range on the sphere
|
||||||
int firerange = sphere ? 2 : 4;
|
int firerange = (sphere || getDistLimit() < 5) ? 2 : 4;
|
||||||
for(int i=0; i<isize(targets); i++) {
|
for(int i=0; i<isize(targets); i++) {
|
||||||
cell *t = targets[i];
|
cell *t = targets[i];
|
||||||
if(celldistance(c,t) <= firerange && makeflame(t, 20, true)) {
|
if(celldistance(c,t) <= firerange && makeflame(t, 20, true)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user