mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-29 00:23:08 +00:00
Clear stuntime when generating new monsters
This commit is contained in:
1 parent
b67b946126
commit
85cfd1d01f
5 files changed
+22
-2
No files matched your search
@@ -602,6 +602,7 @@ EX void teleportTo(cell *dest) {
|
||||
playSound(dest, "other-teleport");
|
||||
if(dest->monst) {
|
||||
cwt.at->monst = dest->monst;
|
||||
cwt.at->stuntime = dest->stuntime;
|
||||
dest->monst = moNone;
|
||||
}
|
||||
|
||||
@@ -1074,6 +1075,7 @@ void poly_attack(cell *dest) {
|
||||
|
||||
void placeIllusion(cell *c) {
|
||||
c->monst = moIllusion;
|
||||
c->stuntime = 0;
|
||||
useupOrb(itOrbIllusion, 5);
|
||||
addMessage(XLAT("You create an Illusion!"));
|
||||
bfs();
|
||||
|
||||
Reference in new issue
Block a user