Files
wsmud/world/obj/drug/dushe.js
2026-05-26 16:41:20 +08:00

17 lines
541 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
this.inherits(OBJ);
this.unit = "颗";
this.name = "解毒丹";
this.value = 1000;
this.desc = "这是螣蛇血清制成的解药,可以解螣蛇毒";
this.distime = 30000;
this.grade = 5;
this.allow_fight = true;
this.transable = true;
this.on_use = function (me) {
if (me.query_status('shedu')) {
me.send_room('<hig>$N吞下一颗解毒丹脸上的灰白死气终于褪去。</hig>');
me.remove_status('shedu', true);
return;
}
return me.notify_fail('你没中蛇毒,用不着吃解药。');
}