mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-26 15:12:48 +00:00
ru:: identify jackal only if ACTIVE
This commit is contained in:
parent
b0d52f4aee
commit
355d98f80d
@ -305,7 +305,7 @@ void gen_powers() {
|
|||||||
"=", 0xe1cbbeFF,
|
"=", 0xe1cbbeFF,
|
||||||
[] (data& d) {
|
[] (data& d) {
|
||||||
if(d.p->flags & ACTIVE) m.next_coyote_time += 30;
|
if(d.p->flags & ACTIVE) m.next_coyote_time += 30;
|
||||||
if(!(d.p->flags & IDENTIFIED) && (gframeid <= m.on_floor_when + m.coyote_time) && !m.on_floor) {
|
if(!(d.p->flags & IDENTIFIED) && (gframeid <= m.on_floor_when + m.coyote_time) && !m.on_floor && (d.p->flags & ACTIVE)) {
|
||||||
d.p->flags |= IDENTIFIED;
|
d.p->flags |= IDENTIFIED;
|
||||||
addMessage("You feel a strange magical force wanting to hold your foot from below.");
|
addMessage("You feel a strange magical force wanting to hold your foot from below.");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user