Clear stuntime when generating new monsters

This commit is contained in:
Jesse Ruderman committed 2021-08-03 16:32:04 -07:00
1 parent b67b946126
commit 85cfd1d01f
5 files changed
+22 -2

No files matched your search

+2
View File
@@ -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();