📄 taixuan.c
字号:
// kungfu/skill/taixuan-gong/taixuan//海洋II(云起云落)//星星lywin 2000/6/10// powerup.c#include <ansi.h>inherit F_CLEAN_UP;void remove_effect(object me, int amount);int exert(object me, object target){ int skill; if( target != me ) return notify_fail("你只能对自己用["+HIW+"白首太玄"+NOR+"]\n"NOR,); if ((int)me->query_skill("taixuan-gong", 1) < 100) return notify_fail("你的太玄神功太差了。\n"); if( (int)me->query("neili") < 100 ) return notify_fail("你的内力不够。\n"); if( (int)me->query_temp("powerup") ) return notify_fail("你已经在运功中了。\n"); if( (int)me->query_temp("powerupxtg") ) return notify_fail("你已经在先天大法了。\n"); if( (int)me->query_temp("poweruptxg") ) return notify_fail("你已经在运太玄功了。\n"); if( (int)me->query_temp("powerupkh") ) return notify_fail("你已经在运葵花无敌功了。\n"); if( (int)me->query_temp("jiuyin/powerup") ) return notify_fail("你已经在运九阴真功中了。\n"); if( (int)me->query_temp("hslj/powerup") ) return notify_fail("你已经在运万法归宗中了。\n"); skill = me->query_skill("force"); me->add("neili", -100); me->receive_damage("qi",0); message_combatd(HIW"$N突然一声长呤,极快的念出了一首诗来,旁人细听之下不由大惊,这正是名传天下的奇功[太玄经]。\n" NOR, me); me->add_temp("apply/attack", skill/3); tell_object(me,HIR"你的攻击力提高了!\n"NOR); me->add_temp("apply/dodge", skill/3); tell_object(me,HIR"你的防御力提高了!\n"NOR); me->set_temp("powerup", 1); me->set_temp("poweruptxg", 1); me->add_temp("apply/strength",skill/20); tell_object(me,HIG"你的力量提高了!\n"NOR); me->add_temp("apply/dexerity",skill/20); tell_object(me,HIG"你的速度提高了!\n"NOR); me->add_temp("apply/constitution",skill/20); tell_object(me,HIG"你的根骨提高了!\n"NOR); me->add_temp("apply/intelligence",skill/20); tell_object(me,HIG"你的悟性提高了!\n"NOR); me->start_call_out((:call_other,__FILE__,"remove_effect",me,skill/3:),skill); if( me->is_fighting() ) me->start_busy(3); return 1;}void remove_effect(object me, int amount){ int skill; skill = me->query_skill("force"); me->add_temp("apply/attack", - skill/3); me->add_temp("apply/dodge", - skill/3); me->delete_temp("powerup"); me->delete_temp("poweruptxg"); me->add_temp("apply/strength",- skill/20); me->add_temp("apply/intelligence",- skill/20); me->add_temp("apply/constitution",- skill/20); me->add_temp("apply/dexerity" , - skill/20); tell_object(me, "你的["+HIW+"白首太玄"+NOR+"]运行完毕,将内力收回丹田。\n");}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -