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

@@ -1849,6 +1849,10 @@ Bury objects under and around you.
Autocompletes.
Debug mode only.
%.lp
\item[\tb{\#wizcast}]
Cast any spell.
Debug mode only.
%.lp
\item[\tb{\#wizdetect}]
Reveal hidden things (secret doors or traps or unseen monsters)
within a modest radius.