Changes

564 bytes added ,  15:28, 13 September 2022
no edit summary
Line 116: Line 116:  
::The other code about spawning flying monsters offscreen and populating the level happen after the level type is set, and the monsters do update every 10 in-game minutes, but again, only after the level type is set.
 
::The other code about spawning flying monsters offscreen and populating the level happen after the level type is set, and the monsters do update every 10 in-game minutes, but again, only after the level type is set.
 
::I literally hit '''<samp>this.isQuarryArea = true;</samp>''' each time until I drank Oil of Garlic, and then the whole block got skipped. Something in the <samp>else if</samp> conditions didn't get met, and I don't see what it is. I guess my next step is to break the code up into separate "if" statements, so I can check each condition separately. :/ [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 20:40, 11 September 2022 (UTC)
 
::I literally hit '''<samp>this.isQuarryArea = true;</samp>''' each time until I drank Oil of Garlic, and then the whole block got skipped. Something in the <samp>else if</samp> conditions didn't get met, and I don't see what it is. I guess my next step is to break the code up into separate "if" statements, so I can check each condition separately. :/ [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 20:40, 11 September 2022 (UTC)
 +
:::I broke the <samp>else if</samp> conditions up into separate <samp>if</samp> statements, and the failure is happening on <samp>if (r.NextDouble() < 0.044)</samp>. But, only after drinking Oil of Garlic. This doesn't make sense to me at all.
 +
:::Therefore, I'm going to add it to the page without a code reference. It's repeatedly reproduceable in-game, so I believe it's a true statement. If anyone can provide any insight into the game code, it will be appreciated! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 15:27, 13 September 2022 (UTC)
106,342

edits