rmgx | 人物等级 驾轻就熟 江湖威望 +7 江湖阅历 24 门派贡献 825 实战经验 19796 文章 263 注册 06-05-30 11:17
|
|
|
发表 2006-08-17 10:03:01 人气:605
很多武功的命中率和伤害也和武修有关,比如jiuyang-shengong的“混沌一阳”绝招:
......
[COLOR=#00008B]ap = me->query_skill("jiuyang-shengong", 1) * 2 + me->query("con") * 10 + me->query_skill("martial-cognize", 1);[/COLOR]
[COLOR=#B22222]dp = target->query_skill("force") + target->query("con") * 10 + target->query_skill("martial-cognize", 1);[/COLOR]
me->add("neili", -50);
if (ap / 2 + random(ap) < dp) [COLOR=#00008B]//这项是命中率[/COLOR] { msg += HIY "然而$n" HIY "全力抵挡,终于将$N" HIY "发出的气团拨开。\n" NOR;
me->start_busy(3); } else { me->add("neili", -200);
me->start_busy(1); damage = ap / 2 + random(ap / 2); [COLOR=#00008B]//这项是绝招伤害[/COLOR] msg += COMBAT_D->do_damage(me, target, UNARMED_ATTACK, damage, 50, HIR "$n" HIR "急忙抽身后退,可是气团射" "得更快,只听$p" HIR "一声惨叫,鲜血飞" "溅!\n" NOR); }
|
|
相关帖子 | |
关于武学修养 (sweat,12161,2006-08-03 16:14:49) | 武学修养不是学的,是你做任务时得来的体会... (duxia,526,2006-08-03 16:19:21) | 当初我whisper的时候,武学修养不知... (becklzy,449,2006-08-04 18:11:48) | 很多武功的命中率和伤害也和武修有关,比如... (rmgx,605,2006-08-17 10:03:01) | 为什么独孤九剑比一般剑法厉害,为什么超级... (ivy,495,2006-08-17 12:35:28) | [QUOTE][b]下面引用由[u]iv... (Je-Rock,516,2006-08-17 12:45:10) | [QUOTE][b]下面引用由[u]iv... (duxia,457,2006-08-17 15:19:31) | [QUOTE][b]下面引用由[u]be... (duxia,444,2006-08-17 15:20:10) | 因为那时候为了whisp嘛。。就必须要降... (becklzy,515,2006-09-01 19:08:04) | [QUOTE][b]下面引用由[u]be... (duxia,436,2006-09-04 11:35:16) | 没注意到这点,所以没有存。因为机器每... (becklzy,434,2006-09-04 19:05:54) |
|
|