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

16 lines
485 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.set({
unit: "块",
name: "熊胆",
grade: 1,
desc: "一块新鲜的熊胆,还冒着热气",
value: 1000
});
this.transable = true;
this.on_use = function (me) {
if (me.max_mp >= me.limit_mp + me.query_prop("limit_mp")) {
return me.notify_fail("你觉得你的经脉容纳不了再多的内力了。");
}
me.send_room("<hiw>$N拿出一块熊胆三下五除二得就吞了下去。</hiw>");
me.add_maxmp(40);
}