wangboqian 发表于 2012-11-23 14:10:04

格挡降防御的bug

我给吸血鬼王添加了格挡经验特技后,经测试发会出现格挡成功降低防御.
该bug的出现需要满足一下条件:
1. 远程部队攻击(非远程的未测试)
2. 该回合吸血鬼王在对方攻击前移动过.换句话说,如果站着防御或者等待,是不降防的.
3.该攻击造成了格挡.
测试表明每次满足上述条件的对方攻击会造成防御-5. 可叠加. 我面对7队泰坦的进攻,没几个回合防御就从50降到了负数.这个太可怕了.为了避免这个bug,我只好把格挡特技去掉了.

贤知有您 发表于 2012-11-23 15:54:04

敢问,你都用了什么类型的脚本了?

EMP震荡波 发表于 2012-11-23 18:13:58

很早以前的Battle Routine I 就有这BUG,不知道现在怎么样。

strongestid 发表于 2012-11-23 19:12:39

哪怕是龙巫妖自带的格挡,哪怕是肉搏格挡,也有可能降防bug

9ird 发表于 2012-11-23 23:39:40

那就改用偏移吧

9ird 发表于 2012-11-23 23:40:46

那就改用偏移吧

灰狼王子 发表于 2012-11-24 02:30:03

这个BUG一早也有人反映过,还有截图,防御直接降成了负数,十分苦逼。当然如果格挡成功率很高的话也无所谓的,反正战后能回复就行。请ERM达人们来会诊一下吧。

xlcyy 发表于 2012-11-24 07:53:29

这个。。。我用防御特吸血鬼二追裸奔时反映过,可惜到现在没有解决方法。

贤知有您 发表于 2012-11-24 08:35:23

汗一个..我居然不知道这样的BUG
;dao; ;dao;

贤知有您 发表于 2012-11-26 14:44:02

在HC论坛上, EMP震荡波 问到了这个BUG, JIMV给出了个 FIX BUG 方案.不知道有没有人测试,是否OK?

ZVSE

** Block/Defense-Reduction Skill Glitch Patch, JHV 2010.8.25
** remove Block skill and replace with simulated block @ same %
** uses flags 496-497, v60-v66, v70-v77 and v80-v86 during battles
** uses FU93-FU96

!?BA0;
!!IF:V497/1; set up to do BG0 once
!!VRv60:C-1/-1/-1/-1/-1/-1/-1/-1; Attack table
!!VRv70:C-1/-1/-1/-1/-1/-1/-1/-1; rank table
!!VRv80:C-1/-1/-1/-1/-1/-1/-1/-1; Blk % table
!!DO95/0/6/1:P; check stack exp. rank

!?FU95; x16=slot
!!HE106:C0/x16/?y1/?y2/?y3/2; y1=type, y2=no., y3=experience points
!!FU&y2<1:E;
!!VRy4:Sx16+60; slot index for Attack
!!MA:Ay1/?y5; get Attack skill
!!VRvy4:Sy5;
!!VRv3:S0;
!!DO94/1/10/1:Px16/y3;
!!HE106:C0/x16/d/d/y3/2; restore exp. points
!!VRy4:Sx16+70; slot index for rank
!!VRvy4:Sv3;

!?FU94; x16=rank to check, x1=slot, x2=exp. points
!!HE106:C0/x1/d/d/x16/12; set rank
!!HE106:C0/x1/d/d/?y1/2; get points @ rank x16
!!VRv3&x2>y1:Sx16;
!!VRx16&x2<y1:s100; end="" loop

!?BG0&497;
!!IF:V497/0;
!!DO96/0/41/1:P; check all stacks for Block ability

!?FU96; x16=stack #
!!BMx16:N?y1 T?y2;
!!FU&y1<1:E;
!!VRy3:Sx16+1*-1;
!!EAy3:F66/61/?y4; y4=line for ability 66/61, or empty line if none, -1 if no free lines
!!FU&y4<0:E;
!!EAy3:By4/?y5/?y6/d/?y10/?y11/?y12/?y13/?y14/?y15/?y16/?y17/?y18/?y19/?y20;
!!FU|y5<>1/y6<>66:E;
!!BMx16:O?y7 I?y8; creature slot, side
!!FU&y7<0:E;
!!BHy8:N?y9; Hero #
!!FU&y9<>106:E;
!!VRy8:Sy7+70; index to rank v70 table by slot #
!!VRy9:Svy8; exp. rank (0-10)
!!VRy8:Sy9+10; index to skill % y10 table by rank
!!VRy9:Syy8; block %
!!FU&y9<1:E;
!!EAy3:By4/0/d/d/d/d/d/d/d/d/d/d/d/d/d; disable block skill
!!IF:V496/1;
!!VRy8:Sy7+80; index to B% v80 table by slot #
!!VRvy8:Sy9;

!?MF1&496;
!!MF:N?v77; v77=stack
!!BMv77:O?v2 I?v3; creature slot, side
!!FU&v2<0:E;
!!BHv3:N?v4; Hero #
!!FU&v4<>106:E;
!!VRv4:Sv2+80; index to B% v80 table by slot #
!!VRv5:Svv4; B%
!!FU&v5<1:E;
!!VRy-1:S1 R99;
!!FU&y-1>v5:E;
!!MF:E0; disable damage
!!BMv77:V84;

!?BA1;
!!IF:V496/0;
!!DO93/0/6/1:P; restore Attack skill

!?FU93; x16=slot
!!HE106:C0/x16/?y1/?y2; y1=type, y2=number
!!FU&y2<1:E;
!!VRy4:Sx16+60; slot index for Attack
!!VRy5:Svy4;
!!MA:Ay1/y5; restore Attack skill
页: [1]
查看完整版本: 格挡降防御的bug

捐赠