Add #wizcast command to cast any spell

Wizard-mode command to cast any spell without checks that would
prevent casting, and with no energy use.

Mainly to allow the fuzzer to exercise the spell code paths.
This commit is contained in:
Pasi Kallinen
2022-09-06 22:49:43 +03:00
parent 4f2996758b
commit e952f67f2c
9 changed files with 95 additions and 33 deletions

View File

@@ -22,6 +22,7 @@ Debug-Mode Quick Reference:
#vanquished == disclose counts of dead monsters sorted in various ways
#vision == show vision array
#wizborn == show monster birth/death/geno/extinct stats
#wizcast == cast any spell
#wizfliplevel == transpose the current dungeon level
#wizintrinsic == set selected intrinsic timeouts
#wizkill == remove monster(s) from play