Files
wsmud/world/cmd/skill/stopstate.js
2026-05-26 16:41:20 +08:00

11 lines
275 B
JavaScript

this.inherits(COMMAND);
this.command = "stopstate";
this.allow_busy = true;
this.allow_state = true;
this.enter = function (player) {
if (player.state) {
if (player.state.no_stop) return player.notify(player.state.no_stop);
}
player.set_state(null);
}