diff --git a/Input.js b/Input.js index 697666a..e2389f1 100644 --- a/Input.js +++ b/Input.js @@ -2802,7 +2802,7 @@ function doGenerateName(command) { function doClearSpells(command) { var character = getCharacter() character.spells = [] - state.show = "clearInventory" + state.show = "clearSpells" return " " } diff --git a/Output.js b/Output.js index 3ad04ba..4ca1e80 100644 --- a/Output.js +++ b/Output.js @@ -259,6 +259,9 @@ const modifier = (text) => { case "clearInventory": text += `[${possessiveName} inventory has been emptied]\n` break + case "clearInventory": + text += `[${possessiveName} spells have been cleared]\n` + break case "showEnemies": text += "*** ENEMIES ***\n"