mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-01 01:49:03 +00:00
fixed the generation range for Strong Wind and jump orb effects in alternate tilings
This commit is contained in:
3
orbs.cpp
3
orbs.cpp
@@ -775,7 +775,8 @@ EX bool jumpTo(orbAction a, cell *dest, eItem byWhat, int bonuskill, jumpdata jd
|
||||
fix_whichcopy(dest);
|
||||
countLocalTreasure();
|
||||
|
||||
for(int i=9; i>=0; i--)
|
||||
int low = 7 - getDistLimit() - genrange_bonus;
|
||||
for(int i=9; i>=low; i--)
|
||||
setdist(cwt.at, i, NULL);
|
||||
|
||||
if(from) movecost(from, dest, 2);
|
||||
|
||||
Reference in New Issue
Block a user