mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
Reptile counters are now reset when fast creatures move over them
This commit is contained in:
parent
dc458ba31a
commit
a4edd03a8c
@ -76,6 +76,8 @@ EX void moveEffect(const movei& mi, eMonster m) {
|
|||||||
cf->wall = waChasm;
|
cf->wall = waChasm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(ct->wall == waReptile) ct->wparam = -1;
|
||||||
|
|
||||||
if(ct->wall == waArrowTrap && !ignoresPlates(m) && normal_gravity_at(ct))
|
if(ct->wall == waArrowTrap && !ignoresPlates(m) && normal_gravity_at(ct))
|
||||||
activateArrowTrap(ct);
|
activateArrowTrap(ct);
|
||||||
|
|
||||||
|
@ -1263,6 +1263,9 @@ EX void playerMoveEffects(cell *c1, cell *c2) {
|
|||||||
c2->wparam = 1;
|
c2->wparam = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(c2->wall == waReptile)
|
||||||
|
c2->wparam = -1;
|
||||||
|
|
||||||
princess::playernear(c2);
|
princess::playernear(c2);
|
||||||
|
|
||||||
if(c2->wall == waGlass && items[itOrbAether] > ORBBASE+1) {
|
if(c2->wall == waGlass && items[itOrbAether] > ORBBASE+1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user