📄 heal.c
字号:
// heal.c
#include <ansi.h>
int exert(object me, object target)
{
if( me->is_fighting() )
return notify_fail("战斗中运功疗伤?找死吗?\n");
if ((int)me->query_skill("biyun-xinfa", 1) < 30)
return notify_fail("你的碧云心法修为还不够。\n");
if( (int)me->query("neili") < 50 ) // - (int)me->query("max_neili") < 50 )
return notify_fail("你的真气不够。\n");
if( (int)me->query("eff_qi") < (int)me->query("max_qi") / 2 )
return notify_fail("你已经受伤过重,只怕一运真气便有生命危险!\n");
write( HIG "你运起碧云心法,脸上掠过一丝绿色。\n" NOR);
message("vision",
HIG + me->name() + "吐出一口瘀血,脸色看起来好多了。\n" NOR,
environment(me), me);
me->receive_curing("qi", 10 + (int)me->query_skill("force")/5 );
me->add("neili", -50);
me->set("jiali", 0);
me->start_busy(2);
return 1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -