From ab3b2f16aff32e915ccb7ce81822f0b7f4dd431b Mon Sep 17 00:00:00 2001 From: Xuefeng Date: Sat, 10 Mar 2018 10:50:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kungfu/skill/pixie-jian/pi.c | 16 +++++++-------- kungfu/skill/qingyun-bian.c | 40 ++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/kungfu/skill/pixie-jian/pi.c b/kungfu/skill/pixie-jian/pi.c index cc037d581..55b619785 100644 --- a/kungfu/skill/pixie-jian/pi.c +++ b/kungfu/skill/pixie-jian/pi.c @@ -16,7 +16,7 @@ int perform(object me, object target) int i; int skill; int count; - int dp; + int dp; if (userp(me) && ! me->query("can_perform/pixie-jian/pi")) return notify_fail("你所使用的外功中没有这种功能。\n"); @@ -62,13 +62,13 @@ int perform(object me, object target) HIW "幻作数道虚影,顿时无数星光一齐射向$n" HIW "!\n" NOR; message_combatd(msg, me, target); - dp = target->query_skill("dodge", 1); + dp = target->query_skill("dodge", 1); if (skill / 2 + random(skill) > dp){ - count = skill / 4; - } - else{ - count = skill/15; - } + count = skill / 4; + } + else{ + count = skill/15; + } me->add_temp("apply/attack", count); me->add_temp("apply/damage", count); me->add_temp("apply/unarmed_dage", count); @@ -83,7 +83,7 @@ int perform(object me, object target) if (random(3) == 0 && ! target->is_busy()) target->start_busy(1); - COMBAT_D->do_attack(me, target, weapon, 0); + COMBAT_D->do_attack(me, target, weapon, 0); } me->add("neili", -100); me->start_busy(1 + random(7)); diff --git a/kungfu/skill/qingyun-bian.c b/kungfu/skill/qingyun-bian.c index 794786292..dfa9869b6 100644 --- a/kungfu/skill/qingyun-bian.c +++ b/kungfu/skill/qingyun-bian.c @@ -7,71 +7,71 @@ int dg = (int)this_player()->query("shen")/1500; mapping *action = ({ ([ "action":"$N一招"HIR" 聚火 "NOR",手扬鞭起,手中$w将$n团团围住,内力一吐,鞭圈匀速缩小。", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": -10, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "聚火", "damage_type": "内伤" ]), ([ "action":"$N左手虚幻,右手$w一招"HIC" 起光 "NOR",手中$w由似一条青龙迅速击向$n。", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": 5, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "起光", "damage_type": "刺伤" ]), ([ "action":"$N腾空而起,手中$w舞成圆环,一招"HIB" 招雨 "NOR"压向$n,令$n无处可躲。", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": 10, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "招雨", "damage_type": "内伤" ]), ([ "action":"$N力贯鞭梢,一招"HIR" 动雷 "NOR",手中$w舞出满天鞭影,排山倒海般扫向$n全身", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": -5, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "动雷", "damage_type": "淤伤" ]), ([ "action":"$N往前一纵, 但见$N身形一转,一招"HIC" 移电 "NOR",手中$w如鬼魅一般,神不知鬼不觉地袭向$n的$l!", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": -10, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "移电", "damage_type": "刺伤" ]), ([ "action":"$N手持$w,力贯鞭稍,一招"HIR" 剪虹 "NOR"手中$w犹如彩虹般击向$n,已将$n笼罩于鞭下。", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": -20, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name": "剪虹", ]), ([ "action":"$N左手虚晃,右脚突然向前迈出,一招"CYN" 止风 "NOR",右手$w如同鬼魅一般无声无息的刺向$n!", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": 0, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "止风", "damage_type": "刺伤" ]), ([ "action":"$N向前纵出,身体飞过$n头顶,一招"HIW" 断云 "NOR"手中$w击向$n的$l", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": 100, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "断云", "damage_type": "内伤" ]), ([ "action":"$N手中$w晃出满天鞭影,一招"HIB" 遮月 "NOR"虚虚实实的鞭影,铺天盖地的击向$n", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": 50, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "遮月", "damage_type": "淤伤" ]), ([ "action":"$N一招"YEL" 掩日 "NOR"手中$w形似蛟龙又似飞蝗,密不透风的罩向$n!", - "force": fc>200?200:fc, + "force": fc > 200 ? 200 : fc, "dodge": 40, - "damage": dg>100?100:dg, + "damage": dg > 100 ? 100 : dg, "skill_name" : "掩日", "damage_type": "淤伤" ]),