- 积分
- 3935
- 威望
- 6
- 魅力
- 10
- 经验
- 2560
- 热心度
- 0
- 注册时间
- 2009-10-6
- 最后登录
- 2016-11-10
- 主题
- 35
- 回帖
- 710
- 精华
- 0
- 阅读权限
- 50
TA的每日心情 | 擦汗 2014-2-4 00:11 |
---|
签到天数: 144 天 连续签到: 19 天 [LV.7]血污怪
5级 Honorable Hero
- 积分
- 3935
|
发表于 2013-9-19 17:48:36
|
显示全部楼层
- 吸血开关脚本:
- ZVSE
- !?PI;
- !#VRv102:S0;
- !!VRz-6:S^打开或关闭吸血部队吸血,10级以后激活。^;
- !!VRz-9:S^打开:主战部队主动攻击时吸血^; v2=4
- !!VRz-10:S^关闭:主战部队主动攻击时吸血 ^; v2=8
- !!IF:G1/2/1/-6/-7/-8/-9/-10; (G0 would be check-box) 结束
- !!VRv102&v2=4:+3;
- !!VRv102&v2=8:+4;
- ***结束***
- 吸血脚本:
- ZVSE
- !?MF1&1000/v102=3;
- !!VRv5100:C-1/-1; v5100-v5101
- !!MF:N?v5100 F?v5101;
- !!VRv5000:C-1/-1/-1/-1/-1/-1; v5000-v5006
- !!VRv5007:C-1/-1/-1/-1/-1/-1/-1/-1/-1/-1; v5007-v5016
- !!VRv5017:C-1/-1/-1/-1/-1/-1/-1/-1; v5017-v5024
- !!BG:A?v5000 D?v5001 E?v5002 N?v5003 S?v5004;
- !!BG:Q?v5005 H?v5006;
- !!VRv1360:C-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1; v1360~v1374
- !!VRv1375:C-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1/-1; v1375~v1389
- !!BG:A?v1360 E?v1362 N?v1364; [动作类型/目标堆栈/当前堆栈
- !!BMv1364&v1364>-1:T?v1370; [本方生物类型]
- !!BMv1362&v1362>-1:T?v1375; [敌方生物类型]
- !!BMv5002&v5002>-1:B?v5007 I?v5009 R?v5011 N?v5013 T?v5015 F?v5017 P?v5019 H?v5021 O?v5023; 被攻击方
- !!BMv5003&v5003>-1:B?v5008 I?v5010 R?v5012 N?v5014 T?v5016 F?v5018 P?v5020 H?v5022 O?v5024; 攻击方
- !!FU|v5000<6/v5000>7:E; 不是主动攻击就退出
- !!FU|v5003<0/v5003>41:E;
- !!FU|v5002<0/v5002>41:E;
- !!FU&v5016>144/v5016<150:E;
- !!FU|v5013<1/v5015<0/v5014<1/v5016<0:E;
- !!FU&v5006<>0:E; 不是英雄ID退出
- !!HEv5006:E?y99/?y98;
- !!FU&y98<20:E; 小于英雄等级退出
- !!VRy1:S-1;
- !!VRy1:Sv5008*v5022:10*4;
- !!VRv5101&v5101<10:S10;
- !!VRv5101&v5101>y1:Sy1;
- !!BMv5100&v5100>-1:I?y12;
- !!DO105/v5003/v5003/1&v102=3/v1370=152/v5005=0:P30/0/20/v5101; 生物ID主动进攻
- !!DO105/v5003/v5003/1&v102=3/v1370=152/v5005=1:P30/21/41/v5101; 生物ID防守
- !!DO105/v5100/v5100/1&y12=0/v1375=152:P30/0/20/v5101;
- !!DO105/v5100/v5100/1&y12=1/v1375=152:P30/21/41/v5101;
- !?FU105&x1=30; 模拟生物吸血(间接方法)
- !!FU&x3<1:E;
- !!BG:N?y30 E?y31 Q?y32;
- !!FU|y30<0/y31<0:E; [堆栈错误]fix 007-120822
- !!BMy30:T?y40 I?y50;
- !!BMy31:T?y41 I?y51;
- !!MF:F?y2; [fix 007-120822]
- !!FU&y32=y50/y40=x2/y30=y2:E; [火盾情况]fix 007-120822
- !!FU&y32<>y50/y41=x2/y31=y2:E; [同上]
- !!VRy60&y32=y50:Sy30; [攻击时]
- !!VRy60&y32<>y50:Sy31; [反击时]
- !!VRy61&y32=y50:Sy41;
- !!VRy61&y32<>y50:Sy40;
- !!VRy62&y32=y50:Sy31; [特定生物攻击时]
- !!VRy62&y32<>y50:Sy30; [特定生物反击时]
- !!BMy62&x4=0:F?i;
- !!VRy63&x4=0:Si&16; [是否生命系]
- !!FU&y63=0/x4=0:E;
- !!VRy10:S100;
- !!VRy97:S0 R99;
- !!FU&y97>y10:E;
- !!MF:F?y12;
- !!IF&y12=0:E;
- !!BMy60:H?y70 N?y71 L?y72 B?y73;
- !!FU&y73=y71/y72=0/x5=0:E; [满血时]
- !!VRy74:Sy71*y70-y72; [当前总生命]
- !!VRy75&x5=0:Sy73-y71*y70+y72; [总生命值差额]
- !!VRy12&y75<=y12/x5=0:Sy75; [吸满为止]
- !!VRy76:Sy74+y12; [最终总血量]
- !!VRy77:Sy76:y70; [初步计算个数]
- !!VRy78:Sy77*y70-y76; [差额生命值L(负)]
- !!VRy78:*-1; [转成正数]
- !!VRy77&y78>0:+1; [不饱满时,总个数应+1]
- !!VRy79:Sy77-y71; [增加的个数]
- !!BMy60:Ny77 V4 Ly78; [4吸血,52重生]
- !!VRz-1:S^Resurect.wav^;
- !!SN:Pz-1;
- !!UN:N3/1/y61/0;
- !!UN:N3/2/x2/0;
- !!VRz-10&x5=0:S^{%Z2}吸取{%Z1 %Y12}点生命值,{%Y79}个{%Z2}重生了,几率{%Y10%%}!^;
- !!VRz-10&x5<>0:S^{%Z2}吸取{%Z1 %Y12}点生命值,增长了{%Y79}个{%Z2},几率{%Y10%%}!^;
- !!BU:Mz-10 R;
- ***结束***
复制代码 |
|