?? ku.c
字號:
//perform ku,“枯”字大法//14/02/99#include <ansi.h>void remove_effect(object me);int exert(object me){ if( (int)me->query_skill("kurong-changong", 1) < 180 ) return notify_fail("你的枯榮禪功修為不夠,無法使用「枯」字大法!\n"); if (me->query_skill_mapped("force") != "kurong-changong") return notify_fail("其它內功有「枯」字大法嗎?\n"); if( (int)me->query_temp("liuyun") ) return notify_fail(HIG"你已經在默運流云水袖神功了。\n"); if( (int)me->query_temp("qzj_tong") ) return notify_fail("你已經在運同歸劍了。\n"); if( me->query_temp("fumo") ) return notify_fail("你正在使用大金剛拳的特殊攻擊「金剛伏魔」!\n"); if( me->query_temp("jingang") ) return notify_fail("你正在使用大金剛拳的特殊攻擊「大金剛神通」!\n"); if( me->query_temp("fanzhen") ) return notify_fail("你正在運用「金剛不壞體神功」!\n"); if( me->query_temp("yuxiao/tianwu") ) return notify_fail("你正在運用「鳳凰天舞」心法!\n"); if((int)me->query_temp("tzzf") ) return notify_fail("你已經在掌刀的運功中。\n"); if ((int)me->query_temp("shield")) return notify_fail("你已經在運護體神功中了。\n"); if(me->query_temp("wdpowerup") ) return notify_fail("你現在正在使用「五毒神功」的絕技。\n"); if(me->query_temp("zhuihun/lpf")) return notify_fail("你正在使用五毒追魂鉤之「亂披風」\n"); if(me->query_temp("anran")) // updated 消魂->黯然 (by xbd) return notify_fail("你現在正在使用「黯然」絕技。\n"); if( (int)me->query_con() < 35 ) return notify_fail("你的根骨太低,根本無法使用「枯」字大法!\n"); if( (int)me->query("neili") < 600 ) return notify_fail("你的內力太少了,無法使用出「枯」字大法!\n"); if( (int)me->query("max_neili") < 2000 ) return notify_fail("你的內力修為這么差,還想使用「枯」字大法?\n"); if( me->query_temp("pf_ku") ) return notify_fail("你正在運用「枯」字大法!\n"); if( me->query_temp("pf_rong") ) return notify_fail("你正在運用「榮」字大法!\n"); message_vision(GRN"\n$N結珈而坐,雙臂張開外劃,緩緩收回于丹田,運起「枯」字大法,內力擴散全身,隱隱散著一股青氣!\n\n" NOR, me); me->start_busy(2); me->set_temp("pf_ku",1); me->add_temp("apply/armor", me->query_skill("kurong-changong", 1)/3); me->add_temp("apply/dodge", me->query_skill("kurong-changong", 1)/3); me->add("neili", -600); call_out("remove_effect", me->query_skill("kurong-changong", 1)/2+10, me); return 1;}void remove_effect(object me){ if(me){ me->delete_temp("pf_ku"); me->add_temp("apply/armor", -me->query_skill("kurong-changong", 1)/3); me->add_temp("apply/dodge", -me->query_skill("kurong-changong", 1)/3); message_vision(WHT"\n$N結珈而坐,長吐一口氣,散去了凝聚全身內力。\n"NOR, me); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -