Skip to content

Commit

Permalink
修正代码错误
Browse files Browse the repository at this point in the history
Signed-off-by: tometeX <tomete@163.com>
  • Loading branch information
tometeX committed Mar 9, 2018
1 parent 89d0582 commit be650ba
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions kungfu/skill/qingyun-bian.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,74 +2,76 @@
#include <ansi.h>

inherit SHAOLIN_SKILL;
int fc = (int)this_player()->query("max_neili")/4;
int dg = (int)this_player()->query("shen")/1500;

mapping *action = ({
([ "action":"$N一招"HIR" 聚火 "NOR",手扬鞭起,手中$w将$n团团围住,内力一吐,鞭圈匀速缩小。",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": -10,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "聚火",
"damage_type": "内伤"
]),
([ "action":"$N左手虚幻,右手$w一招"HIC" 起光 "NOR",手中$w由似一条青龙迅速击向$n。",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": 5,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "起光",
"damage_type": "刺伤"
]),
([ "action":"$N腾空而起,手中$w舞成圆环,一招"HIB" 招雨 "NOR"压向$n,令$n无处可躲。",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": 10,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "招雨",
"damage_type": "内伤"
]),
([ "action":"$N力贯鞭梢,一招"HIR" 动雷 "NOR",手中$w舞出满天鞭影,排山倒海般扫向$n全身",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": -5,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "动雷",
"damage_type": "淤伤"
]),
([ "action":"$N往前一纵, 但见$N身形一转,一招"HIC" 移电 "NOR",手中$w如鬼魅一般,神不知鬼不觉地袭向$n的$l!",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": -10,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "移电",
"damage_type": "刺伤"
]),
([ "action":"$N手持$w,力贯鞭稍,一招"HIR" 剪虹 "NOR"手中$w犹如彩虹般击向$n,已将$n笼罩于鞭下。",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": -20,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name": "剪虹",
]),
([ "action":"$N左手虚晃,右脚突然向前迈出,一招"CYN" 止风 "NOR",右手$w如同鬼魅一般无声无息的刺向$n!",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": 0,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "止风",
"damage_type": "刺伤"
]),
([ "action":"$N向前纵出,身体飞过$n头顶,一招"HIW" 断云 "NOR"手中$w击向$n的$l",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": 100,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "断云",
"damage_type": "内伤"
]),
([ "action":"$N手中$w晃出满天鞭影,一招"HIB" 遮月 "NOR"虚虚实实的鞭影,铺天盖地的击向$n",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": 50,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "遮月",
"damage_type": "淤伤"
]),
([ "action":"$N一招"YEL" 掩日 "NOR"手中$w形似蛟龙又似飞蝗,密不透风的罩向$n!",
"force": (int)this_player()->query("max_neili")/4,
"force": fc>200?200:fc,
"dodge": 40,
"damage": (int)this_player()->query("shen")/1500,
"damage": dg>100?100:dg,
"skill_name" : "掩日",
"damage_type": "淤伤"
]),
Expand Down

0 comments on commit be650ba

Please sign in to comment.