- 积分
- 34677
- 威望
- 499
- 魅力
- 507
- 经验
- 20326
- 热心度
- 9
- 注册时间
- 2006-3-13
- 最后登录
- 2024-9-30
- 主题
- 134
- 回帖
- 4949
- 精华
- 35
- 阅读权限
- 150
TA的每日心情 | 郁闷 2015-6-6 16:12 |
---|
签到天数: 52 天 连续签到: 1 天 [LV.5]女巫
超级版主
- 积分
- 34677
|
发表于 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
复制代码 |
|