swindler's was not removing the top of the stack

This commit is contained in:
yrsegal@gmail.com 2022-11-09 20:29:41 -05:00
parent 7356b95c75
commit fd62955347
2 changed files with 2 additions and 3 deletions

View file

@ -8,8 +8,6 @@ import at.petrak.hexcasting.api.spell.getPositiveInt
import at.petrak.hexcasting.api.spell.iota.Iota
import at.petrak.hexcasting.api.spell.mishaps.MishapNotEnoughArgs
import it.unimi.dsi.fastutil.ints.IntArrayList
import kotlin.math.abs
import kotlin.math.roundToInt
// "lehmer code"
object OpAlwinfyHasAscendedToABeingOfPureMath : Action {
@ -23,6 +21,7 @@ object OpAlwinfyHasAscendedToABeingOfPureMath : Action {
throw MishapNotEnoughArgs(1, 0)
val code = stack.getPositiveInt(stack.lastIndex)
stack.removeLast()
val strides = IntArrayList()
for (f in FactorialIter()) {

View file

@ -320,7 +320,7 @@
"hexcasting.spell.hexcasting:zone_entity/not_living": "Zone Distillation: Non-Living",
"hexcasting.spell.hexcasting:duplicate": "Gemini Decomposition",
"hexcasting.spell.hexcasting:duplicate_n": "Gemini Gambit",
"hexcasting.spell.hexcasting:duplicate_n": "Gemini's Gambit",
"hexcasting.spell.hexcasting:over": "Dioscuri's Gambit",
"hexcasting.spell.hexcasting:stack_len": "Flock's Reflection",
"hexcasting.spell.hexcasting:swap": "Jester's Gambit",