佳丽云

英雄无敌3-WoG中文站

 找回密码
 英雄注册|Register
查看: 2975|回复: 8

这是哪里出错了?

[复制链接]
  • TA的每日心情
    慵懒
    昨天 20:28
  • 签到天数: 3777 天

    连续签到: 69 天

    [LV.Master]伴坛终老

    3869

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    74746
    发表于 2013-9-25 22:45:05 | 显示全部楼层 |阅读模式
    战场上任何单位行动前都来这么一段错误信息

    ScreenShot007.jpg
    ScreenShot008.jpg
    ScreenShot009.jpg
    ScreenShot010.jpg
    ScreenShot011.jpg
    ScreenShot012.jpg

    =w=
  • TA的每日心情
    郁闷
    2015-6-6 16:12
  • 签到天数: 52 天

    连续签到: 1 天

    [LV.5]女巫

    4949

    回帖

    3万

    金币

    35

    精华

    超级版主

    Rank: 11Rank: 11Rank: 11Rank: 11

    积分
    34677

    论坛守望者论坛元老杰出贡献

    发表于 2013-9-26 08:42:56 | 显示全部楼层
    楼主先自己查查 Gw28/?y20/?21
    这句语句出自你添加的哪个脚本中.

    点评

    我想把那些附加的魔法都去掉,但是去掉后连转世功能都没了  详情 回复 发表于 2013-9-26 11:32
    Gw28没找到 y20在怪3和英雄重转的脚本里都找到了,是这个问题么  详情 回复 发表于 2013-9-26 11:11
  • TA的每日心情
    慵懒
    昨天 20:28
  • 签到天数: 3777 天

    连续签到: 69 天

    [LV.Master]伴坛终老

    3869

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    74746
     楼主| 发表于 2013-9-26 11:11:40 | 显示全部楼层
    贤知有您 发表于 2013-9-26 08:42
    楼主先自己查查 Gw28/?y20/?21
    这句语句出自你添加的哪个脚本中.

    Gw28没找到
    y20在怪3和英雄重转的脚本里都找到了,是这个问题么
    1. ZVSE
    2. _WARNING_#1=IMPORTANT! This file is not in a plain text format. NEVER use any editor except ERM_S for making any kind of changes!
    3. ERMS_ScriptName=攻防重置
    4. ERMS_ScriptAuthor=syz
    5. ERMS_ScriptVersion=1.0.0
    6. ERMS_ScriptDate=23.6(June).2013
    7. ERMS_ScriptERMVersion=2.70
    8. ERMS_ScriptLanguage=中文(简体,中国) or 中文(简体) (native)
    9. ERMS_PoweredBy=ERM Scripter v. 2004.6.29.918
    10. **w143=A,D,w144=P, K FU66 AHI v94 DFI v95 ACT v300-v305 v76 v4711-v4712 V9-V10 V2500-V2541
    11. ********************************
    12. !?PI;
    13. !!DO66/0/155/1:P1;
    14. ********************************
    15. ********************************
    16. !?CM2;
    17. !!CM:I?f F?g;
    18. !!CM:H?h/?i;
    19. !!FU66:P-4/h/f/g P-5/h/f/g;
    20. ********************************
    21. ********************************
    22. !?BA0; 战斗一开始增加魔法值
    23. !!IF:V9/0V10/0;
    24. !!BA:H0/?v94 H1/?v95;
    25. !!FU66:P-1/v94;
    26. !!FU66&v95>-1:P-1/v95;
    27. !!DO66/2500/2541/1:P-101;

    28. !?FU66&x1=-1; 英雄知识重转函数
    29. !!IF:Wx2;
    30. !!HEx2:Fd/d/d/?j/1 S24/?y-1;
    31. !!VRj&y-1=0:*10;
    32. !!VRj&y-1=1:*125:100;
    33. !!VRj&y-1=2:*15;
    34. !!VRj&y-1=3:*20;
    35. !!HEx2:I?t/1;
    36. !!VRk:S0;
    37. !!VRk:Sw144:1000; knowlege
    38. !!VRk:*2;
    39. !!FU&t>j:E;
    40. !!HEx2:Idk/1;

    41. !?BF;
    42. !!DO66/0/20/1&v94>-1:P2/v94;
    43. !!DO66/21/41/1&v95>-1:P2/v95;

    44. !?BG0;
    45. !!BG:A?v300 S?v301 H?v302 Q?v303 D?v304 E?v305;
    46. !!FU66:P3/v301/v302/v300 P4/v301/v302/v300;
    47. !!DO66/0/21/1&v303=1:P5/v301/v302/v300/v303/v304;群体疯狂
    48. !!DO66/21/41/1&v303=0:P5/v301/v302/v300/v303/v304;
    49. !!DO66/0/21/1&v303=1:P6/v301/v302/v300/v303/v304;群体攻击魔法
    50. !!DO66/21/41/1&v303=0:P6/v301/v302/v300/v303/v304;
    51. !!DO66/0/20/1&v303=0:P14/v301/v302/v303/v304/v300;Resurrection Magic
    52. !!DO66/21/41/1&v303=1:P14/v301/v302/v303/v304/v300;
    53. !!DO66/0/20/1&v303=0:P15/v301/v302/v303/v304/v300;Animate Dead Magic
    54. !!DO66/21/41/1&v303=1:P15/v301/v302/v303/v304/v300;
    55. !!FU66&v300=1/v301=38:P16/v305/v302;超级复活 x2目标堆栈 x3英雄
    56. !!FU66&v300=1/v301=39:P17/v305/v302;超级聚灵 x2目标堆栈 x3英雄

    57. !?FU66&x1=3;
    58. !!FU|x4<>1:E;
    59. !!IF:Wx3;
    60. !!VRe1:S0;
    61. !!VRe1:Sw144%1000; POWER
    62. !!VRe1::70;
    63. !!FU&e1<1:E;
    64. !!FU|x2<27/x2=38/x2=39/x2=40/x2=47/x2=57/x2=59/x2=60/x2>61:E;
    65. !!BG:D-1; 全体施法

    66. !?FU66&x1=4; 群体失明
    67. !!FU|x4<>1:E;
    68. !!IF:Wx3;
    69. !!VRe1:S0;
    70. !!VRe1:Sw144%1000; POWER
    71. !!VRe1::130;
    72. !!FU|e1<1/x2<>62:E;
    73. !!BG:D-1;

    74. !?FU66&x1=5; 群体疯狂
    75. !!FU|x4<>1:E;
    76. !!IF:Wx3;
    77. !!HEx3:I?g/1;
    78. !!VRe1:S0;
    79. !!VRe1:Sw144%1000; POWER
    80. !!VRe1::150;
    81. !!FU|e1<1/x2<>59:E;
    82. !!BMx16:N?y1 T?y2 P?y3;
    83. !!FU&y2>144/y2<150|y1<1/x6=y3/g<100:E;
    84. !!BHx5:Cx2/y3/1/1;

    85. !?FU66&x1=6; 群体攻击魔法
    86. !!FU|x4<>1:E;
    87. !!IF:Wx3;
    88. !!HEx3:I?g/1 Fd/d/?j/d/1;
    89. !!VRe1:S0;
    90. !!VRe1:Sw144%1000; POWER
    91. !!VRe1::100;
    92. !!VRy1:S-1;
    93. !!VRy1&x2>14/x2<19:S2;
    94. !!VRy1&x2>19/x2<24:S2;
    95. !!FU|e1<1/y1<0:E;
    96. !!BMx16:N?y-1 T?y2 P?y3;
    97. !!FU&y2>144/y2<150|y-1<1/x6=y3/g<50:E;
    98. !!BHx5:Cx2/y3/j/1;

    99. !?BG1; 英雄魔力重转函数,增加魔法持续时间
    100. !!DO66/0/20/1&v303=0:P-6/v301/v300/v302/v303;
    101. !!DO66/21/41/1&v303=1:P-6/v301/v300/v302/v303;
    102. !!DO66/0/20/1&v303=1:P-7/v301/v300/v302/v303;
    103. !!DO66/21/41/1&v303=0:P-7/v301/v300/v302/v303;
    104. !!FU66:P7/v303/v300;一回合多次施法
    105. !!FU66:P18/v300/v301/v302/v305/v303; 魔力重转后复活或者聚灵魔法威力计算

    106. !?FU66&x1=18;
    107. !!FU|x2<>1/x3<>38/x3<>39:E;
    108. !!IF:Wx4;
    109. !!VRh:S0;
    110. !!VRh:Sw144%1000; POWER
    111. !!BMx5:I?g P?t N?y-1 B?y-2;
    112. !!FU|g<>x6/y-1<1/y-1>=y-2/h<1:E;
    113. !!BMx5:Cx3/t/3/h/1;

    114. !?FU66&x1=7; 玩家知识重转函数,一回合多次施法
    115. !!FU|x3<>1:E;
    116. !!BHx2:N?y1;
    117. !!OW:C?i;
    118. !!HEy1:O?g;
    119. !!FU&i<>g:E;
    120. !!IF&y1>-1:Wy1;
    121. !!VRv1:S0;
    122. !!VRv1:Sw144:1000; knowlege
    123. !!VRv1::30;
    124. !!VRv2:Sv1-v76;
    125. !!FU|v2=<0/v76>4:E;
    126. !!BHx2:M0;
    127. !!VRv76:+1;

    128. !?FU66&x1=-6; 有益魔法
    129. !!IF:Wx4;
    130. !!FU|x3<>1:E;
    131. !!FU|x2<27/x2=35/x2=38/x2=39/x2=40/x2=42/x2=45/x2=50/x2=52/x2=47/x2=54/x2>55:E;
    132. !!BMx16:Gx2/?y-1/?y-2;
    133. !!FU&y-1=0:E;
    134. !!HEx4:Fd/d/?y11/d/1;
    135. !!VRh:S0;
    136. !!VRh:Sw144%1000; POWER
    137. !!VRy-1:+h;
    138. !!VRy12:Sy11+h;
    139. !!BMx16:I?g;
    140. !!FU|g<>x5/y-1>y12:E;
    141. !!BMx16:Mx2/y-1/y-2;

    142. !?FU66&x1=-7; 诅咒魔法
    143. !!IF:Wx4;
    144. !!FU|x3<>1:E;
    145. !!VRy21:S0;
    146. !!VRy21|x2=42/x2=45/x2=50/x2=52/x2=54/x2=60/x2=61/x2=62:S1;
    147. !!FU|y21<>1:E;
    148. !!BMx16:Gx2/?y-1/?y-2;
    149. !!FU&y-1=0:E;
    150. !!HEx4:Fd/d/?y11/d/1;
    151. !!VRh:S0;
    152. !!VRh:Sw144%1000; POWER
    153. !!VRy-1:+h;
    154. !!VRy12:Sy11+h;
    155. !!BMx16:I?g;
    156. !!FU|g=x5/y-1>y12:E;
    157. !!BMx16:Mx2/y-1/y-2;

    158. !?CM4;
    159. !!BG:H?v1 Q?v2;
    160. !!FU|v76>4:E;
    161. !!IF:Wv1;
    162. !!VRm:S0;
    163. !!VRm:Sw144%1000; POWER
    164. !!VRm::20;
    165. !!VRn:S0;
    166. !!VRn:Sw144:1000; knowlege
    167. !!VRn::20;
    168. !!CM:I?y30 S?y31 F?y32;
    169. !!FU66:P9/y30/y31/y32/m;
    170. !!FU66:P10/y30/y31/y32/n;

    171. !?FU66&x1=9; 玩家魔力重转函数,一回合多次高级诅咒魔法
    172. !!FU|x2<>2005/x3<>14/x4<>512/x5<1/v76>x5:E;
    173. !!CM:R0;
    174. !!VRz-1:S^(请选择您想对敌方部队施放的6级魔法{MP>=:100})^;
    175. !!VRz-2&x5>=3:S^70. 石化 Required MP=60,10回合有效。^; v1=1
    176. !!VRz-3&x5>=1:S^71. 中毒 Required MP=20^; v1=2
    177. !!VRz-4&x5>=5:S^72. 缠绕 Required MP=100,3回合有效。^; v1=4
    178. !!VRz-5&x5>=1:S^73. 疾病 Required MP=10^; v1=8
    179. !!VRz-6&x5>=3:S^74. 麻痹 Required MP=60,10回合有效。^; v1=16
    180. !!VRz-7&x5>=4:S^75. 老化 Required MP=50^; v1=32
    181. !!VRz-8&x5>=2:S^78. 驱散有益魔法 Required MP=30^; v1=64
    182. !!VRz-9&x5>=2:S^80. 酸液攻击 Required MP=25^; v1=128
    183. !!VRz-10:S^退出,我不想施法了。^; v1=256
    184. !!IF:G1/1/256/-1/-2/-3/-4/-5/-6/-7/-8/-9/-10;
    185. !!FU|v1=256:E;
    186. !!VRv4711&v1=1:S70;
    187. !!VRv4711&v1=2:S71;
    188. !!VRv4711&v1=4:S72;
    189. !!VRv4711&v1=8:S73;
    190. !!VRv4711&v1=16:S74;
    191. !!VRv4711&v1=32:S75;
    192. !!VRv4711&v1=64:S78;
    193. !!VRv4711&v1=128:S80;
    194. !!IF:V9/1; enables another mouse click trigger
    195. !!UN:R5/3/0 R7/0/1;

    196. !?FU66&x1=10; 玩家知识重转函数,一回合多次高级祝福魔法
    197. !!FU|x2<>2010/x3<>14/x4<>512/x5<1/v76>x5:E;
    198. !!CM:R0;
    199. !!VRz-1:S^(请选择您想对本方部队施放的6级魔法{MP>=:100})^;
    200. !!VRz2&x5>=6:S^镜像大法---单体双剑实体克隆。Required MP=100^; v1=1
    201. !!VRz-3&x5>=5:S^狂暴大法---嗜血,孤注一掷,屠龙。Required MP=50^; v1=2
    202. !!VRz-4&x5>=1:S^神行太保---加速,祈祷,石肤。Required MP=30^; v1=4
    203. !!VRz-5&x5>=3:S^天堂之盾---护盾,气盾,火盾。Required MP=40^; v1=8
    204. !!VRz-6&x5>=2:S^神之祝福---医疗,祝福,祈祷。Required MP=35^; v1=16
    205. !!VRz-7&x5>=4:S^手舞足蹈---幸运,欢欣鼓舞,反戈一击。Required MP=40^;v1=32
    206. !!VRz-8&x5>=3:S^一箭穿心---祝福,精确,孤注一掷。Required MP=35^; v1=64
    207. !!VRz-9&x5>=2:S^终极魔盾---御气,御火,御水,御土,魔镜。Required MP=60^; v1=128
    208. !!VRz-10:S^退出,我不想施法了。^; v1=256
    209. !!IF:G1/1/256/-1/2/-3/-4/-5/-6/-7/-8/-9/-10;
    210. !!FU|v1=256:E;
    211. !!VRv4711&v1=1:S1;
    212. !!VRv4711&v1=2:S2;
    213. !!VRv4711&v1=4:S3;
    214. !!VRv4711&v1=8:S4;
    215. !!VRv4711&v1=16:S5;
    216. !!VRv4711&v1=32:S6;
    217. !!VRv4711&v1=64:S7;
    218. !!VRv4711&v1=128:S8;
    219. !!IF:V10/1; enables another mouse click trigger
    220. !!UN:R5/3/0 R7/0/1;

    221. !?MM0&9; trigger for mouse hint text
    222. !!MM:D?y-1; hex number
    223. !!FU|y-1<1/y-1>185:E; Exit if invalid hex
    224. !!VRz-10&9:S^选择施法位置(左键点击敌方部队)。^;
    225. !!MM&9:Mz-10;

    226. !?CM4&9;
    227. !!CM:R0;
    228. !!BG:H?y1 Q?y2;
    229. !!CM:D?y-1 S?y31; hex number
    230. !!FU|y-1<1/y-1>185:E; Exit if invalid hex
    231. !!IF:V9/0;
    232. !!FU66:P11/y-1/y2/y31/y1;
    233. !!UN:R7/0/0;

    234. !?MM0&10; trigger for mouse hint text
    235. !!MM:D?y-1; hex number
    236. !!FU|y-1<1/y-1>185:E; Exit if invalid hex
    237. !!VRz-10&10:S^选择施法位置(左键点击我方部队)。^;
    238. !!MM&10:Mz-10;

    239. !?CM4&10;
    240. !!CM:R0;
    241. !!BG:H?y1 Q?y2;
    242. !!CM:D?y-1 S?y31; hex number
    243. !!FU|y-1<1/y-1>185:E; Exit if invalid hex
    244. !!IF:V10/0;
    245. !!FU66:P12/y-1/y2/y31/y1;
    246. !!UN:R7/0/0;

    247. !?FU66&x1=11; cast slow at x1 (if valid)
    248. !!BU:Ex2/?y2; get stack # at hex x1 (-1 if none)
    249. !!FU&y2=-1:E;
    250. !!BMy2:I?y1 P?y3 T?y4;
    251. !!BMy2:G34/?y-1/?y-2;
    252. !!VRk:S0;!!VRj:S0;
    253. !!VRk:Sw144%1000; POWER
    254. !!VRk::200;
    255. !!VRj&y4>173/y4<192|y4=27/y4=83/y4=132/y4=151/y4=155/y4=116/y4=117:S1;
    256. !!VRj|k>0:-1;
    257. !!IF|j>0:M^施法目标为黑龙类魔免生物。此魔法无效。^;
    258. !!IF|y-1>0:M^施法目标有抗魔大法附体。无法施放此魔法。^;
    259. !!IF|y1=x3:M^你不能对本方部队施放此魔法。^;
    260. !!FU|y1=x3/y3<>x2/x4<>12/y-1>0/j>0:E;
    261. !!HEx5:I?y12/1;
    262. !!IF|y12<100:M^你的魔法值不够100点,无法施放此魔法。^;
    263. !!FU|y12<100:E;
    264. !!VRy13:Sv4711;!!VRy14:S0;
    265. !!VRy14|y13=70:S59; 60
    266. !!VRy14|y13=71:S19; 20
    267. !!VRy14|y13=72:S99; 100
    268. !!VRy14|y13=73:S9; 10
    269. !!VRy14|y13=74:S59; 60
    270. !!VRy14|y13=75:S49; 50
    271. !!VRy14|y13=78:S29; 30
    272. !!VRy14|y13=80:S24; 25
    273. !!VRy12:-y14;
    274. !!HEx5:Iy12/1;
    275. !!VRy15:S0;
    276. !!VRy15|y13=70/y13=74:S1;
    277. !!BHx3|y15=0:Cy13/y3/3/1;
    278. !!BMy2&y2>-1/y15=1:Cy13/y3/1/10/1;
    279. !!BG:N?y50;
    280. !!BMy50&y15=1:C2/y3/0/0/0;
    281. !!VRy9&y2>-1/y2<21/y13=72:S2520+y2;
    282. !!VRy9&y2>20/y13=72:S2500+y2;
    283. !!VRy10&y2>-1/y2<21/y13=72:S2500+y2;
    284. !!VRy10&y2>20/y13=72:S2480+y2;
    285. !!VRvy9&y2>-1/y13=72:Sv997+3;
    286. !!VRvy10&y2>-1/y13=72:Sy2;
    287. !!VRv76:+1;
    288. !!IF:Wx5;
    289. !!VRm:S0;
    290. !!VRm:Sw144%1000; POWER
    291. !!VRm::20;
    292. !!FU&v76>m:E;
    293. !!BHx3:M0;

    294. !?FU66&x1=-100;
    295. !!BMvx16&vx16>-1:G72/?y-1/?y-2;
    296. !!FU&y-1=0:E;
    297. !!VRy3:S-1;
    298. !!VRy1:Sv997;
    299. !!VRy2:Sx16+20;
    300. !!VRy3:Svy2-y1;
    301. !!BMvx16&vx16>-1:P?g;
    302. !!BMvx16&vx16>-1/y3=0:C63/g/1/1/1 Pg V26;

    303. !?FU66&x1=-101;
    304. !!VRvx16:S-1;

    305. !?FU66&x1=12; cast slow at x1 (if valid)
    306. !!BU:Ex2/?y2; get stack # at hex x1 (-1 if none)
    307. !!FU&y2=-1:E;
    308. !!BMy2:I?y1 P?y3;
    309. !!IF|y1<>x3:M^你不能对敌方部队施放此魔法。^;
    310. !!FU|y1<>x3/y3<>x2/x4<>12:E;
    311. !!HEx5:I?y12/1;
    312. !!IF|y12<100:M^你的魔法值不够100点,无法施放此魔法。^;
    313. !!FU|y12<100:E;
    314. !!VRy13:Sv4711;!!VRy14:S0;
    315. !!VRy14|y13=1:S80; 20+ need 100
    316. !!VRy14|y13=2:S22; 28+ need 50
    317. !!VRy14|y13=3:S9; 21+ need 30
    318. !!VRy14|y13=4:S15; 25+ need 40
    319. !!VRy14|y13=5:S14; 21+ need 35
    320. !!VRy14|y13=6:S6; 34+ need 40
    321. !!VRy14|y13=7:S13; 22+ need 35
    322. !!VRy14|y13=8:S18; 42+ need 60
    323. !!VRy12:-y14;
    324. !!HEx5:Iy12/1;
    325. !!HEx5:S14/?v5 S15/?v6 S16/?v7 S17/?v8;
    326. !!HEx5:S14/1 S15/1 S16/1 S17/1;
    327. !!FU66:P13/y3/x3/y13/y2;
    328. !!BHx3&y13=2:C43/y3/2/1 C55/y3/2/1 C56/y3/2/1;
    329. !!BHx3&y13=3:C53/y3/2/1 C46/y3/2/1 C48/y3/2/1;
    330. !!BHx3&y13=4:C27/y3/2/1 C28/y3/2/1 C29/y3/2/1;
    331. !!BHx3&y13=5:C37/y3/2/1 C41/y3/2/1 C48/y3/2/1;
    332. !!BHx3&y13=6:C49/y3/2/1 C51/y3/2/1 C58/y3/2/1;
    333. !!BHx3&y13=7:C41/y3/2/1 C44/y3/2/1 C56/y3/2/1;
    334. !!BHx3&y13=8:C30/y3/2/1 C31/y3/2/1 C32/y3/2/1 C33/y3/2/1 C36/y3/2/1;
    335. !!HEx5:S14/v5 S15/v6 S16/v7 S17/v8;
    336. !!VRv76:+1;
    337. !!IF:Wx5;
    338. !!VRn:S0;
    339. !!VRn:Sw144:1000; knowlege
    340. !!VRn::20;
    341. !!FU&v76>n:E;
    342. !!BHx3:M0;

    343. !?FU66&x1=13;
    344. !!FU&x4<>1:E;
    345. !!BHx3:C65/x2/2/1;
    346. !!BMx5&x5>-1:U5/?y1;
    347. !!BMy1:F?g F?h;
    348. !!VRg:&12582912;
    349. !!VRh&g>0:-8388608;
    350. !!BMy1:Fh;
    351. !!VRy-4&y1>-1:Sy1;
    352. !!VRy-4&y1>-1:+1 *-1;
    353. !!EAy-4&y1>-1:E10/12/d/d;
    354. !!EAy-4&y1>-1:R156/7;

    355. !?FU66;
    356. !!FU|x1<>14/x6<>1:E;
    357. !!BMx16:T?y10 N?y11 B?y12 O?y13;
    358. !!BMx16:P?y14 H?y15 F?i F?j F?k;
    359. !!BMx16:G34/?y9/d;
    360. !!FU|y9>0/y10<0/y11=>y12/y13=-1:E;
    361. !!FU&y10>29/y10<34:E;
    362. !!FU&y10>111/y10<118:E;
    363. !!FU&y10>159/y10<169:E;
    364. !!FU&y10>173/y10<192:E;
    365. !!FU|y10=27/y10=83/y10=120/y10=121/y10=123/y10=125:E;
    366. !!FU|y10=127/y10=129/y10=132/y10=151/y10=155/y10=156:E;
    367. !!VRi:&16;
    368. !!VRj:&1;
    369. !!VRy19:S0;
    370. !!IF:Wx3;
    371. !!VRe1:S0;
    372. !!VRe1:Sw144:1000; knowlege
    373. !!VRe1::70;
    374. !!VRm:S0;
    375. !!VRm:Sw144%1000; POWER
    376. !!FU|e1<1/i=0:E;
    377. !!HEx3:Fd/d/?y-99/d/1 I?y-9/1;
    378. !!VRy-9:-30;
    379. !!VRy19&x4=0:Sy14+1; !!VRy19&x4=1:Sy14-1;
    380. !!BU:Ey14/?y20 Ey19/?y21;
    381. !!FU|x2<>38/y-9<0:E;
    382. !!BHx4&y11>0/y14<>x5:Cx2/y14/y-99/1;
    383. !!BMx16&y11>0:Cx2/y14/3/m/1;
    384. !!BHx4&y11<1/j=0/y20=-1/y14<>x5:Cx2/y14/y-99/0;
    385. !!BMx16&y11>0/j=0/y20=-1:Cx2/y14/3/m/1;
    386. !!BHx4&y11<1/j>0/y20=-1/y21=-1/y14<>x5:Cx2/y14/y-99/0;
    387. !!BMx16&y11>0/j>0/y20=-1/y21=-1:Cx2/y14/3/m/1;
    388. !!HEx3:Iy-9/1;

    389. !?FU66;
    390. !!FU|x1<>15/x6<>1:E;
    391. !!BMx16:T?y10 N?y11 B?y12 O?y13;
    392. !!BMx16:P?y14 H?y15 F?i F?j F?k;
    393. !!BMx16:G34/?y9/d;
    394. !!FU|y9>0/y10<0/y11=>y12/y13=-1:E;
    395. !!FU&y10>173/y10<192:E;
    396. !!VRi:&16;
    397. !!VRj:&1;
    398. !!VRk:&262144;
    399. !!FU|i<>0/k=0:E;
    400. !!FU|y10=196:E;
    401. !!VRy19:S0;
    402. !!IF:Wx3;
    403. !!VRe1:S0;
    404. !!VRe1:Sw144:1000; knowlege
    405. !!VRe1::100;
    406. !!VRm:S0;
    407. !!VRm:Sw144%1000; POWER
    408. !!FU|e1<1:E;
    409. !!HEx3:Fd/d/?y-99/d/1 I?y-9/1;
    410. !!VRy-9:-40;
    411. !!VRy19&x4=0:Sy14+1; !!VRy19&x4=1:Sy14-1;
    412. !!BU:Ey14/?y20 Ey19/?y21;
    413. !!FU|x2<>39/y-9<0:E;
    414. !!BHx4&y11>0/y14<>x5:Cx2/y14/y-99/1;
    415. !!BMx16&y11>0:Cx2/y14/3/m/1;
    416. !!BHx4&y11<1/j=0/y20=-1/y14<>x5:Cx2/y14/y-99/0;
    417. !!BMx16&y11>0/j=0/y20=-1:Cx2/y14/3/m/1;
    418. !!BHx4&y11<1/j>0/y20=-1/y21=-1/y14<>x5:Cx2/y14/y-99/0;
    419. !!BMx16&y11>0/j>0/y20=-1/y21=-1:Cx2/y14/3/m/1;
    420. !!HEx3:Iy-9/1;

    421. !?FU66;
    422. !!FU|x1<>16/x2<0/x2>41:E;目标堆栈不存在退出
    423. !!IF:Wx3;
    424. !!VRm:S0;
    425. !!VRm:Sw144:1000; knowlege
    426. !!VRe1:Sm:130;
    427. !!HEx3:Fd/d/?n/d/1 I?y-9/1;
    428. !!BMx2:N?x5 B?x6;目标堆栈原始数量和现存数量
    429. !!FU|x5<1/x6<1/x5>=x6/e1<1/y-9<50:E;如果全部阵亡或没有伤亡退出
    430. !!VRx12:Sm+n;
    431. !!VRy-9:-50;
    432. !!BMx2:H?x7 T?x10; 目标堆栈的生命值
    433. !!VRx8:Sx6-x5;阵亡数量
    434. !!VRv9:Sx12 *500;恢复的生命值
    435. !!VRv9::x7;算出恢复的数量
    436. !!VRy1:Sx12 *50 +160;算出正常重生值
    437. !!VRy1::x7;算出正常恢复数量
    438. !!VRy1:+1;恢复数量加1
    439. !!VRx8:-y1;阵亡数量减去正常恢复数量
    440. !!FU|x8<1/v9<1:E;
    441. !!BMx2&x8<v9:ndx8 v4;
    442. !!BMx2&x8>=v9:Ndv9 V4;
    443. !!UN:N3/1/x10/0;
    444. !!VRz10&x8<v9:s^ 超级转世重生让 %x8{%z1}起死回生^;
    445. !!VRz10&x8>=v9:S^ 超级转世重生让 %V9{%Z1}起死回生^;
    446. !!MM:Sz10;
    447. !!HEx3:Iy-9/1;

    448. !?FU66;
    449. !!FU|x1<>17/x2<0/x2>41:E;目标堆栈不存在退出
    450. !!IF:Wx3;
    451. !!VRm:S0;
    452. !!VRm:Sw144:1000; knowlege
    453. !!VRe1:Sm:150;
    454. !!HEx3:Fd/d/?n/d/1 I?y-9/1;
    455. !!BMx2:N?x5 B?x6;目标堆栈原始数量和现存数量
    456. !!FU|x5<1/x6<1/x5>=x6/e1<1/y-9<50:E;如果全部阵亡或没有伤亡退出
    457. !!VRx12:Sm+n;
    458. !!VRy-9:-60;
    459. !!BMx2:H?x7 T?x10; 目标堆栈的生命值
    460. !!VRx8:Sx6-x5;阵亡数量
    461. !!VRv9:Sx12 *500;恢复的生命值
    462. !!VRv9::x7;算出恢复的数量
    463. !!VRy1:Sx12 *50 +160;算出正常重生值
    464. !!VRy1::x7;算出正常恢复数量
    465. !!VRy1:+1;恢复数量加1
    466. !!VRx8:-y1;阵亡数量减去正常恢复数量
    467. !!FU|x8<1/v9<1:E;
    468. !!BMx2&x8<v9:ndx8 v4;
    469. !!BMx2&x8>=v9:Ndv9 V4;
    470. !!UN:N3/1/x10/0;
    471. !!VRz10&x8<v9:s^ 超级聚灵奇术让 %x8{%z1}起死回生^;
    472. !!VRz10&x8>=v9:S^ 超级聚灵奇术让 %V9{%Z1}起死回生^;
    473. !!MM:Sz10;
    474. !!HEx3:Iy-9/1;
    475. *******************************
    476. !?BR; 每回合回复魔法值
    477. !!FU&v997<1:E;
    478. !!FU66&v95<0:P-8/v94;
    479. !!FU66&v95>-1:P8/v94/v95;
    480. !!DO66/2500/2520/1:P-100;
    481. !!VRv76:S0;

    482. !?FU66&x1=-8; 野兵作战根据知识重转值增加魔法值
    483. !!IF:Wx2;
    484. !!VRh:S0;
    485. !!VRh:Sw144:1000; knowlege
    486. !!HEx2:Fd/d/d/?j/1 S24/?y-1;
    487. !!HEx2:I?y1/1;
    488. !!VRj&y-1=0:*10;
    489. !!VRj&y-1=1:*125:100;
    490. !!VRj&y-1=2:*15;
    491. !!VRj&y-1=3:*20;
    492. !!FU|y1>=j:E;
    493. !!VRy1:+h;
    494. !!HEx2:Iy1/1;

    495. !?FU66&x1=8; 英雄之间作战根据知识重转值增减魔法值
    496. !!IF:Wx2;
    497. !!VRv1:C0/0/0;
    498. !!VRv1:Sw144:1000; knowlege
    499. !!IF:Wx3;
    500. !!VRv2:Sw144:1000; knowlege
    501. !!VRv3:Sv1-v2;
    502. !!HEx2:Fd/d/d/?j/1 S24/?y-1;
    503. !!HEx2:I?y1/1;
    504. !!VRj&y-1=0:*20;
    505. !!VRj&y-1=1:*25;
    506. !!VRj&y-1=2:*30;
    507. !!VRj&y-1=3:*40;
    508. !!VRm:Sv1;
    509. !!VRm&y-1=0:*20;
    510. !!VRm&y-1=1:*25;
    511. !!VRm&y-1=2:*30;
    512. !!VRm&y-1=3:*40;
    513. !!VRj:+m;
    514. !!VRy1:+v3;
    515. !!VRy1&y1<0:S0;
    516. !!HEx2&y1<j:Iy1/1;
    517. !!HEx3:Fd/d/d/?k/1 S24/?y-2;
    518. !!HEx3:I?y2/1;
    519. !!VRk&y-2=0:*20;
    520. !!VRk&y-2=1:*25;
    521. !!VRk&y-2=2:*30;
    522. !!VRk&y-2=3:*40;
    523. !!VRn:Sv2;
    524. !!VRn&y-2=0:*20;
    525. !!VRn&y-2=1:*25;
    526. !!VRn&y-2=2:*30;
    527. !!VRn&y-2=3:*40;
    528. !!VRk:+n;
    529. !!VRy2:-v3;
    530. !!VRy2&y2<0:S0;
    531. !!HEx3&y2<k:Iy2/1;
    532. ********************************
    533. !?FU66&x1=1; 英雄变量复位函数
    534. !!IF:Wx16;
    535. !!VRw143:S0; A,D储存
    536. !!VRw144:S0; P,K储存
    537. ********************************
    538. ********************************
    539. !?FU66&x1=-2; 四围刷新函数
    540. !!HEx2:F?v1/?v2/d/d/1; 获取四围
    541. !!FU|v1<85/v2<85:E; 不足85时中止
    542. !!VRy11:Sv1 -85;
    543. !!VRy12:Sv2 -85;
    544. !!IF:Wx2; 使用英雄变量
    545. !!VRw143:+y11; 攻击储存
    546. !!VRy12:*1000;
    547. !!VRw143:+y12; 防御储存
    548. !!HEx2:F85/85/d/d; 四围刷新
    549. !!HEx2:B0/?z7;
    550. !!IF&x3=0:M^{恭喜,%Z7 成功重转}^;
    551. !!UN&x3=0:R3/-1;

    552. !?FU66&x1=-3; 四围刷新函数
    553. !!HEx2:Fd/d/?v3/?v4/1; 获取四围
    554. !!FU|v3<80/v4<80:E; 不足80时中止
    555. !!VRy13&v3>80:Sv3 -80;
    556. !!VRy14&v4>80:Sv4 -80;
    557. !!IF:Wx2; 使用英雄变量
    558. !!VRw144:+y13; 魔力储存
    559. !!VRy14:*1000;
    560. !!VRw144:+y14; 知识储存
    561. !!HEx2:Fd/d/80/80; 四围刷新
    562. !!HEx2:B0/?z7;
    563. !!IF&x3=0:M^{恭喜,%Z7 成功重转}^;
    564. !!UN&x3=0:R3/-1;
    565. ********************************
    566. ********************************
    567. !?FU66&x1=2;战场攻防补偿函数
    568. !!BMx16:T?y10 N?y11;
    569. !!FU|y10<0/y11<1:E;
    570. !!IF:Wx2;
    571. !!VRm:S0; !!VRn:S0;
    572. !!VRm:Sw143:1000; D+
    573. !!VRn:Sw143%1000; A+
    574. !!BMx16:Adn Ddm;
    575. *******************************
    576. ********************************
    577. !?FU66&x1=-4;
    578. !!FU|x3<103/x3>104/x4<>512:E;
    579. !!HEx2:B0/?z7;
    580. !!HEx2:F?y11/?y12/d/d/1;
    581. !!IF|y11<85/y12<85:Q3/31/0/32/0/4^{%Z7} 还不够重转条件

    582. 攻击防御同时大于85才能重转^;
    583. !!FU|y11<85/y12<85:E;
    584. !!IF:Q10/31/0/32/0/2^%Z7已满足重转条件,要重转吗?^;
    585. !!FU66&10:P-2/x2/0;
    586. !!CM&10:R0;

    587. !?FU66&x1=-5;
    588. !!FU|x3<105/x3>106/x4<>512:E;
    589. !!HEx2:B0/?z7;
    590. !!HEx2:Fd/d/?y13/?y14/1;
    591. !!IF|y13<80/y14<80:Q4/33/0/34/0/4^{%Z7} 还不够重转条件

    592. 魔力知识同时大于80才能重转^;
    593. !!FU|y13<80/y14<80:E;
    594. !!IF:Q10/33/0/34/0/2^%Z7已满足重转条件,要重转吗?^;
    595. !!FU66&10:P-3/x2/0;
    596. !!CM&10:R0;
    597. ********************************
    598. ********************************
    599. !?CM2;
    600. !!CM:I?y30 S?y31 F?y32;
    601. !!FU|y30<>1/y31<>14/y32<>512:E;
    602. !!HE-1:B0/?z7;
    603. !!IF:W-1;
    604. !!VRm:S0; !!VRn:S0; !!VRg:S0; !!VRh:S0;
    605. !!VRm:Sw143:1000; defense
    606. !!VRn:Sw143%1000; attack
    607. !!VRg:Sw144:1000; knowlege
    608. !!VRh:Sw144%1000; POWER
    609. !!IF:Q2/31/n/32/m/1^%Z7攻防重置后的附加能力:^;
    610. !!IF:Q2/33/h/34/g/1^%Z7魔智重置后的附加能力:^;
    611. !!CM:R0;
    612. ********************************
    613. !?MR0; 英雄魔力重转<=>魔法伤害加成
    614. !!BG:A?y-1 S?y-2 H?y-3;
    615. !!IF:Wy-3;
    616. !!FU|y-1<>1:E;
    617. !!MR:D?y-9;
    618. !!VRy-4:S0;!!VRk:S0;
    619. !!VRy-4&y-2=15:S10; magic arrow
    620. !!VRy-4&y-2=16:S20; Ice Bolt
    621. !!VRy-4&y-2=17:S25; Lightning Bolt
    622. !!VRy-4&y-2=18:S80; Implosion
    623. !!VRy-4&y-2=19:S40; Chain Lightning
    624. !!VRy-4&y-2=20:S10; Frost Ring
    625. !!VRy-4&y-2=21:S10; Fireball
    626. !!VRy-4&y-2=22:S10; Inferno
    627. !!VRy-4&y-2=23:S25; Meteor Shower
    628. !!VRy-4&y-2=24:S5; Death Ripple
    629. !!VRy-4&y-2=25:S10; Destroy Undead
    630. !!VRy-4&y-2=26:S50; Armageddon
    631. !!VRy-4&y-2=57:S600; Titan's Lightning Bolt
    632. !!VRk:Sw144%1000; POWER
    633. !!VRy-10:Sk*y-4;
    634. !!VRy-9:+y-10;
    635. !!HEy-3:Ed/?m;
    636. !!VRy-9&k>199:*m; 魔力重转值大于200魔法伤害=基本伤害*英雄等级
    637. !!MR:Dy-9;
    638. ********************************
    639. !?MR2; 英雄魔力重转<=>无视魔法免疫
    640. !!IF:Wv302;
    641. !!VRe1:S0;
    642. !!VRe1:Sw144%1000; POWER
    643. !!VRe1::200;
    644. !!FU|e1<1/v300<>1:E;
    645. !!MR:F0;
    646. ********************************
    647. !#TM5:S2/999/1/255;

    648. !?TM5;
    649. !!DO66/0/155/1:P-99;

    650. !?FU66&x1=-99;
    651. !!HEx16:N?j O?y-1;
    652. !!OW&y-1>-1:Iy-1/?y-1;
    653. !!HEj&j>-1:F?y1/?y2/?y3/?y4/1; 获取英雄四围
    654. !!FU66&y-1=1:P-9/j/y1/y2;
    655. !!FU66&y-1=1:P-10/j/y3/y4;

    656. !?FU66&x1=-9; 四围刷新函数
    657. !!FU|x3<75/x4<75:E; 不足75时中止
    658. !!VRy11:Sx3 -75;
    659. !!VRy12:Sx4 -75;
    660. !!IF:Wx2; 使用英雄变量
    661. !!VRw143:+y11; 攻击储存
    662. !!VRy12:*1000;
    663. !!VRw143:+y12; 防御储存
    664. !!HEx2:F75/75/d/d; 四围刷新

    665. !?FU66&x1=-10; 四围刷新函数
    666. !!FU|x3<70/x4<70:E; 不足70时中止
    667. !!VRy13:Sx3 -70;
    668. !!VRy14:Sx4 -70;
    669. !!IF:Wx2; 使用英雄变量
    670. !!VRw144:+y13; 魔力储存
    671. !!VRy14:*1000;
    672. !!VRw144:+y14; 知识储存
    673. !!HEx2:Fd/d/70/70; 四围刷新
    674. **过天判断**英雄移动是魔法值是否为满值作为判断条件
    675. !?HM-1;
    676. !!HE-1:N?j;
    677. !!FU66:P-11/j;

    678. !?FU66&x1=-11;
    679. !!HEx2:Fd/d/d/?y1 S24/?y-1;
    680. !!IF:Wx2;!!VRy11:S0;!!VRy12:S0;!!VRy13:S0;
    681. !!VRy11:Sw144:1000; knowlege
    682. !!FU|y11<1:E;
    683. !!VRv1&y-1=0:Sy1*10;
    684. !!VRv1&y-1=1:Sy1*125:100;
    685. !!VRv1&y-1=2:Sy1*15;
    686. !!VRv1&y-1=3:Sy1*20;
    687. !!VRv2&y-1=0:Sy1*20;
    688. !!VRv2&y-1=1:Sy1*25;
    689. !!VRv2&y-1=2:Sy1*30;
    690. !!VRv2&y-1=3:Sy1*40;
    691. !!HEx2:I?y2;
    692. !!VRy12&y-1=0/y2=v1:Sy11*10;
    693. !!VRy12&y-1=1/y2=v1:Sy11*125:100;
    694. !!VRy12&y-1=2/y2=v1:Sy11*15;
    695. !!VRy12&y-1=3/y2=v1:Sy11*20;
    696. !!VRy13&y-1=0/y2=v2:Sy11*20;
    697. !!VRy13&y-1=1/y2=v2:Sy11*25;
    698. !!VRy13&y-1=2/y2=v2:Sy11*30;
    699. !!VRy13&y-1=3/y2=v2:Sy11*40;
    700. !!VRv3&y2=v1:Sy2+y12;
    701. !!VRv4&y2=v2:Sy2+y13;
    702. !!HEx2&y2=v1:Iv3;
    703. !!HEx2&y2=v2:Iv4;

    704. !?CM4&1000; mouse move trigger
    705. !!CM:D?y-1 F?y1;
    706. !!BG:Q?y-10; attacking side? (0=left, 1= right)
    707. !!BHy-10:N?y-5;
    708. !!IF:Wy-5;
    709. !!HEy-5:B0/?z7;
    710. !!VRm:S0; !!VRn:S0; !!VRg:S0; !!VRh:S0;
    711. !!VRm:Sw143:1000; defense
    712. !!VRn:Sw143%1000; attack
    713. !!VRg:Sw144:1000; knowlege
    714. !!VRh:Sw144%1000; POWER
    715. !!VRy2&y-10=0:S252;!!VRy2&y-10=1:S253;
    716. !!IF&y1=512/y-1=y2:Q2/31/n/32/m/4^%Z7攻防重置后的附加能力:^;
    717. !!IF&y1=512/y-1=y2:Q2/33/h/34/g/4^%Z7魔智重置后的附加能力:^;
    718. !!VRy-11&y-10=0:S1; !!VRy-11&y-10=1:S0; opponent hero?
    719. !!BHy-11:N?y-30; is this a hot seat 2 hero battle?
    720. !!FU&y-30=-1:E; end if no hero opponent on field]
    721. !!IF:Wy-30;
    722. !!HEy-30:B0/?z7;
    723. !!VRm:S0; !!VRn:S0; !!VRg:S0; !!VRh:S0;
    724. !!VRm:Sw143:1000; defense
    725. !!VRn:Sw143%1000; attack
    726. !!VRg:Sw144:1000; knowlege
    727. !!VRh:Sw144%1000; POWER
    728. !!VRy3&y-10=0:S253;!!VRy3&y-10=1:S252;
    729. !!IF&y1=512/y-1=y3:Q2/31/n/32/m/4^%Z7攻防重置后的附加能力:^;
    730. !!IF&y1=512/y-1=y3:Q2/33/h/34/g/4^%Z7魔智重置后的附加能力:^;
    复制代码

    点评

    找W28这个变量,好像是城镇增加生物产量这个Erm里面。  详情 回复 发表于 2013-9-26 14:13
    =w=
  • TA的每日心情
    慵懒
    昨天 20:28
  • 签到天数: 3777 天

    连续签到: 69 天

    [LV.Master]伴坛终老

    3869

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    74746
     楼主| 发表于 2013-9-26 11:32:06 | 显示全部楼层
    贤知有您 发表于 2013-9-26 08:42
    楼主先自己查查 Gw28/?y20/?21
    这句语句出自你添加的哪个脚本中.

    我想把那些附加的魔法都去掉,但是去掉后连转世功能都没了
    =w=
  • TA的每日心情
    郁闷
    2015-6-6 16:12
  • 签到天数: 52 天

    连续签到: 1 天

    [LV.5]女巫

    4949

    回帖

    3万

    金币

    35

    精华

    超级版主

    Rank: 11Rank: 11Rank: 11Rank: 11

    积分
    34677

    论坛守望者论坛元老杰出贡献

    发表于 2013-9-26 11:51:36 | 显示全部楼层
    应该在某个脚本中有这句的
    Gw28/?y20/?y21
    不然不会出现这句错误的提示.
    我也不知道这句是出自哪个脚本,手头没有那么全的脚本.

    点评

    找到了,这要怎么修改呢  详情 回复 发表于 2013-9-26 14:29
  • TA的每日心情
    开心
    2019-1-31 14:25
  • 签到天数: 130 天

    连续签到: 1 天

    [LV.7]血污怪

    2778

    回帖

    2万

    金币

    14

    精华

    论坛嘉宾

    Rank: 9Rank: 9Rank: 9

    积分
    14801

    退役版主社区QQ达人魅力之星

    发表于 2013-9-26 14:13:48 | 显示全部楼层
    本帖最后由 fly123 于 2013-9-26 14:16 编辑
    gigichart 发表于 2013-9-26 11:11
    Gw28没找到
    y20在怪3和英雄重转的脚本里都找到了,是这个问题么

    找W28这个变量,在英雄特技增强这个Erm里面。

    点评

    fly帮我看看转世脚本。我只想要基本的数值转世效果,就把转世中间那段多次施法超级复活和高级诅咒高级祝福的删了,但是在战场上查看转世后附加的力量和知识变的很难,战场上右键点英雄显示附加的攻击和防御然后  详情 回复 发表于 2013-9-26 14:41
  • TA的每日心情
    慵懒
    昨天 20:28
  • 签到天数: 3777 天

    连续签到: 69 天

    [LV.Master]伴坛终老

    3869

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    74746
     楼主| 发表于 2013-9-26 14:29:25 | 显示全部楼层
    贤知有您 发表于 2013-9-26 11:51
    应该在某个脚本中有这句的
    Gw28/?y20/?y21
    不然不会出现这句错误的提示.

    找到了,这要怎么修改呢
    1. **英雄自动施法优化补丁 by异界行者
    2. !?FU805;
    3. !!VRv428&v425=0/w30=0:S0; //v428 is side which will under spell
    4. !!VRv428&v425=0/w30=1:S1;
    5. !!VRv428&v425=1/w30=0:S1;
    6. !!VRv428&v425=1/w30=1:S0;
    7. !!VRv437: *5 +3 %8;
    8. !!VRv430:R20;
    9. !!VRx16:S0;
    10. !!BMv430&v430>-1/v430<42:N?v429; //v429 - number of monsters
    11. !!BMv430&v430>-1/v430<42:T?v435; //v435 - type of monster
    12. !!VRv429&v435>=145/v435<=149:S0; //tower arrows and ballistas cannot be target
    13. !!VRv429|v435=122/v435=124/v435=128:S0;
    14. !!VRy28:S1;
    15. !!VRy28&w28>65/w28<70:S0; //元素召唤 检测
    16. ;//小检测段
    17. !!BMv430:Gw28/?y20/?y21; //y20 当前持续时间
    18. !!VRy20&w28=47:S0; //毁灭之光 检测
    19. !!VRy29:Sy20*y28;
    20. !!VRv430|y29>1/v429<=0:R6; 新查找
    21. !!VRv430&v428=0:%21; //堆栈矫正
    22. !!VRv430&v428=1:%21+21; //堆栈矫正
    23. !!BMv430&v430>-1/v430<42:N?v429;
    24. !!BMv430&v430>-1/v430<42:T?v435;
    25. !!VRv429&v435>=145/v435<=149:S0;
    26. !!VRv429|v435=122/v435=124/v435=128:S0;
    27. ;//
    28. !!BMv430:Gw28/?y20/?y21; //y20 当前持续时间
    29. !!VRy20&w28=47:S0; //毁灭之光 检测
    30. !!VRy29:Sy20*y28;
    31. !!VRv430|y29>1/v429<=0:R6; 新查找
    32. !!VRv430&v428=0:%21; //堆栈矫正
    33. !!VRv430&v428=1:%21+21; //堆栈矫正
    34. !!BMv430&v430>-1/v430<42:N?v429;
    35. !!BMv430&v430>-1/v430<42:T?v435;
    36. !!VRv429&v435>=145/v435<=149:S0;
    37. !!VRv429|v435=122/v435=124/v435=128:S0;
    38. ;//
    39. !!BMv430:Gw28/?y20/?y21; //y20 当前持续时间
    40. !!VRy20&w28=47:S0; //毁灭之光 检测
    41. !!VRy29:Sy20*y28;
    42. !!VRv430|y29>1/v429<=0:R6; 新查找
    43. !!VRv430&v428=0:%21; //堆栈矫正
    44. !!VRv430&v428=1:%21+21; //堆栈矫正
    45. !!BMv430&v430>-1/v430<42:N?v429;
    46. !!BMv430&v430>-1/v430<42:T?v435;
    47. !!VRv429&v435>=145/v435<=149:S0;
    48. !!VRv429|v435=122/v435=124/v435=128:S0;

    49. !!DO646/0/41/1:P; //循环检测
    50. !!VRv431:S0; //v431 - position to cast if 0 then do not cast
    51. !!BMv430&v429>0:P?v431;
    52. !!VRv429:Sw29+w31-1; //v429 - chance is 1 of (w29+w31)
    53. !!VRv432&v431>0/v429>0:S0Rv429; //randomize v432
    54. !!BMv430:Gw28/?y20/?y21; //y20 当前持续时间
    55. !!BMv430&w28=47:D?y22;
    56. !!VRy20&w28=47/y22>0:S0; //毁灭之光 检测
    57. !!VRy23:S0; //疗伤魔法
    58. !!VRy24:S0;
    59. !!BMv430&w28=37:L?y23; //疗伤 检测是否损血
    60. !!VRy24&y23>0:S1;
    61. !!BMv430&y24=0:G42/?y23/?y21; //疗伤 异常状态检测 检测
    62. !!VRy24&y23>0:S1;
    63. !!BMv430&y24=0:G54/?y23/?y21;
    64. !!VRy24&y23>0:S1;
    65. !!BMv430&y24=0:G45/?y23/?y21;
    66. !!VRy24&y23>0:S1;
    67. !!BMv430&y24=0:G62/?y23/?y21;
    68. !!VRy24&y23>0:S1;
    69. !!BMv430&y24=0:G45/?y23/?y21;
    70. !!VRy24&y23>0:S1;
    71. !!BMv430&y24=0:G52/?y23/?y21;
    72. !!VRy24&y23>0:S1;
    73. !!BMv430&y24=0:G60/?y23/?y21;
    74. !!VRy24&y23>0:S1;
    75. !!BMv430&y24=0:G61/?y23/?y21;
    76. !!VRy24&y23>0:S1;
    77. !!BMv430&y24=0:G50/?y23/?y21;
    78. !!VRy24&y23>0:S1;
    79. !!BMv430&y24=0:G59/?y23/?y21;
    80. !!VRy20&y24=0/w28=37:S10;
    81. !!VRv432&v431>0/v429<1/y20<2:S1; //if (w29+w31)<=1 that means the time to cast
    82. !!HEv433:I?v429/1;
    83. !!HEv433:I100/1;
    84. !!HEv433:Sw32/?v435;
    85. !!BHv425:M?v434;
    86. !!BG:A?v430; //if hero or monster casts spell do not randomly spell
    87. !!VRv432|v430=1/v430=10:S2;

    88. !!BHv425&v432=1/v431>0/y20<2/v429>0:Cw28/v431/v435/0; //v432=1 means that time to cast 施法
    89. !!VRw31&v432=1/v431>0/y20<2/w28>0/w28<1000:+w29; //if hero casts spell then w31 increasing by w29 value
    90. !!VRw31&w28>0/w28<1000|v432<>1/v431<=0/y20>1:-1; //w43 keeps addition value that added to w29. w31 decrement every turn and the chance is increasing
    91. !!VRv430:+1;
    92. !!BHv425:Mv434;
    93. !!HEv433:Sw32/v435;
    94. !!HEv433:Iv429/1;
    95. !!VRv429:Sw29+w31;
    96. !!VRw31&v429<2:S-1*w29+2; //if chance is more than 1/2 then decrease to 1/2
    97. !?FU646;
    98. *//循环段
    99. !!BMv430:Gw28/?y20/?y21; //y20 当前持续时间
    100. !!VRy20&w28=47:S0; //毁灭之光 检测
    101. !!VRy29:Sy20*y28;
    102. !!VRv430|y29>1/v429<=0:+1; 新查找
    103. !!VRv430&v428=0:%21; //堆栈矫正
    104. !!VRv430&v428=1:%21+21; //堆栈矫正
    105. !!BMv430&v430>-1/v430<42:N?v429;
    106. !!BMv430&v430>-1/v430<42:T?v435;
    107. !!VRv429&v435>=145/v435<=149:S0;
    108. !!VRv429|v435=122/v435=124/v435=128:S0;
    109. !!FU&y20<2/v429>0:E;
    复制代码
    =w=
  • TA的每日心情
    慵懒
    昨天 20:28
  • 签到天数: 3777 天

    连续签到: 69 天

    [LV.Master]伴坛终老

    3869

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    74746
     楼主| 发表于 2013-9-26 14:41:59 | 显示全部楼层
    fly123 发表于 2013-9-26 14:13
    找W28这个变量,在英雄特技增强这个Erm里面。

    fly帮我看看转世脚本。我只想要基本的数值转世效果,就把转世中间那段多次施法超级复活和高级诅咒高级祝福的删了,但是在战场上查看转世后附加的力量和知识变的很难,战场上右键点英雄显示附加的攻击和防御然后鼠标点一下显示出的力量和知识的画面只持续不到半秒。是哪里多删了么?
    1. ZVSE
    2. _WARNING_#1=IMPORTANT! This file is not in a plain text format. NEVER use any editor except ERM_S for making any kind of changes!
    3. ERMS_ScriptName=攻防重置
    4. ERMS_ScriptAuthor=syz
    5. ERMS_ScriptVersion=1.0.0
    6. ERMS_ScriptDate=26.9(September).2013
    7. ERMS_ScriptERMVersion=2.70
    8. ERMS_ScriptLanguage=中文(简体,中国) or 中文(简体) (native)
    9. ERMS_PoweredBy=ERM Scripter v. 2004.6.29.918
    10. **w143=A,D,w144=P, K FU66 AHI v94 DFI v95 ACT v300-v305 v76 v4711-v4712 V9-V10 V2500-V2541
    11. ********************************
    12. !?PI;
    13. !!DO66/0/155/1:P1;
    14. ********************************
    15. ********************************
    16. !?CM2;
    17. !!CM:I?f F?g;
    18. !!CM:H?h/?i;
    19. !!FU66:P-4/h/f/g P-5/h/f/g;
    20. ********************************
    21. ********************************
    22. !?BA0; 战斗一开始增加魔法值
    23. !!IF:V9/0V10/0;
    24. !!BA:H0/?v94 H1/?v95;
    25. !!FU66:P-1/v94;
    26. !!FU66&v95>-1:P-1/v95;
    27. !!DO66/2500/2541/1:P-101;

    28. !?FU66&x1=-1; 英雄知识重转函数
    29. !!IF:Wx2;
    30. !!HEx2:Fd/d/d/?j/1 S24/?y-1;
    31. !!VRj&y-1=0:*10;
    32. !!VRj&y-1=1:*125:100;
    33. !!VRj&y-1=2:*15;
    34. !!VRj&y-1=3:*20;
    35. !!HEx2:I?t/1;
    36. !!VRk:S0;
    37. !!VRk:Sw144:1000; knowlege
    38. !!VRk:*2;
    39. !!FU&t>j:E;
    40. !!HEx2:Idk/1;

    41. !?BF;
    42. !!DO66/0/20/1&v94>-1:P2/v94;
    43. !!DO66/21/41/1&v95>-1:P2/v95;

    44. !?BG0;
    45. !!BG:A?v300 S?v301 H?v302 Q?v303 D?v304 E?v305;
    46. !!FU66:P3/v301/v302/v300 P4/v301/v302/v300;
    47. !!DO66/0/21/1&v303=1:P5/v301/v302/v300/v303/v304;群体疯狂
    48. !!DO66/21/41/1&v303=0:P5/v301/v302/v300/v303/v304;
    49. !!DO66/0/21/1&v303=1:P6/v301/v302/v300/v303/v304;群体攻击魔法
    50. !!DO66/21/41/1&v303=0:P6/v301/v302/v300/v303/v304;
    51. !!DO66/0/20/1&v303=0:P14/v301/v302/v303/v304/v300;Resurrection Magic
    52. !!DO66/21/41/1&v303=1:P14/v301/v302/v303/v304/v300;
    53. !!DO66/0/20/1&v303=0:P15/v301/v302/v303/v304/v300;Animate Dead Magic
    54. !!DO66/21/41/1&v303=1:P15/v301/v302/v303/v304/v300;

    55. !?FU66&x1=3;
    56. !!FU|x4<>1:E;
    57. !!IF:Wx3;
    58. !!VRe1:S0;
    59. !!VRe1:Sw144%1000; POWER
    60. !!VRe1::70;
    61. !!FU&e1<1:E;
    62. !!FU|x2<27/x2=38/x2=39/x2=40/x2=47/x2=57/x2=59/x2=60/x2>61:E;
    63. !!BG:D-1; 全体施法

    64. !?FU66&x1=4; 群体失明
    65. !!FU|x4<>1:E;
    66. !!IF:Wx3;
    67. !!VRe1:S0;
    68. !!VRe1:Sw144%1000; POWER
    69. !!VRe1::130;
    70. !!FU|e1<1/x2<>62:E;
    71. !!BG:D-1;

    72. !?FU66&x1=5; 群体疯狂
    73. !!FU|x4<>1:E;
    74. !!IF:Wx3;
    75. !!HEx3:I?g/1;
    76. !!VRe1:S0;
    77. !!VRe1:Sw144%1000; POWER
    78. !!VRe1::150;
    79. !!FU|e1<1/x2<>59:E;
    80. !!BMx16:N?y1 T?y2 P?y3;
    81. !!FU&y2>144/y2<150|y1<1/x6=y3/g<100:E;
    82. !!BHx5:Cx2/y3/1/1;

    83. !?FU66&x1=6; 群体攻击魔法
    84. !!FU|x4<>1:E;
    85. !!IF:Wx3;
    86. !!HEx3:I?g/1 Fd/d/?j/d/1;
    87. !!VRe1:S0;
    88. !!VRe1:Sw144%1000; POWER
    89. !!VRe1::100;
    90. !!VRy1:S-1;
    91. !!VRy1&x2>14/x2<19:S2;
    92. !!VRy1&x2>19/x2<24:S2;
    93. !!FU|e1<1/y1<0:E;
    94. !!BMx16:N?y-1 T?y2 P?y3;
    95. !!FU&y2>144/y2<150|y-1<1/x6=y3/g<50:E;
    96. !!BHx5:Cx2/y3/j/1;

    97. !?BG1; 英雄魔力重转函数,增加魔法持续时间
    98. !!DO66/0/20/1&v303=0:P-6/v301/v300/v302/v303;
    99. !!DO66/21/41/1&v303=1:P-6/v301/v300/v302/v303;
    100. !!DO66/0/20/1&v303=1:P-7/v301/v300/v302/v303;
    101. !!DO66/21/41/1&v303=0:P-7/v301/v300/v302/v303;
    102. !!FU66:P7/v303/v300;一回合多次施法
    103. !!FU66:P18/v300/v301/v302/v305/v303; 魔力重转后复活或者聚灵魔法威力计算

    104. !?FU66&x1=18;
    105. !!FU|x2<>1/x3<>38/x3<>39:E;
    106. !!IF:Wx4;
    107. !!VRh:S0;
    108. !!VRh:Sw144%1000; POWER
    109. !!BMx5:I?g P?t N?y-1 B?y-2;
    110. !!FU|g<>x6/y-1<1/y-1>=y-2/h<1:E;
    111. !!BMx5:Cx3/t/3/h/1;

    112. !?FU66&x1=7; 玩家知识重转函数,一回合多次施法
    113. !!FU|x3<>1:E;
    114. !!BHx2:N?y1;
    115. !!OW:C?i;
    116. !!HEy1:O?g;
    117. !!FU&i<>g:E;
    118. !!IF&y1>-1:Wy1;
    119. !!VRv1:S0;
    120. !!VRv1:Sw144:1000; knowlege
    121. !!VRv1::30;
    122. !!VRv2:Sv1-v76;
    123. !!FU|v2=<0/v76>4:E;
    124. !!BHx2:M0;
    125. !!VRv76:+1;

    126. !?FU66&x1=-6; 有益魔法
    127. !!IF:Wx4;
    128. !!FU|x3<>1:E;
    129. !!FU|x2<27/x2=35/x2=38/x2=39/x2=40/x2=42/x2=45/x2=50/x2=52/x2=47/x2=54/x2>55:E;
    130. !!BMx16:Gx2/?y-1/?y-2;
    131. !!FU&y-1=0:E;
    132. !!HEx4:Fd/d/?y11/d/1;
    133. !!VRh:S0;
    134. !!VRh:Sw144%1000; POWER
    135. !!VRy-1:+h;
    136. !!VRy12:Sy11+h;
    137. !!BMx16:I?g;
    138. !!FU|g<>x5/y-1>y12:E;
    139. !!BMx16:Mx2/y-1/y-2;

    140. !?FU66&x1=-7; 诅咒魔法
    141. !!IF:Wx4;
    142. !!FU|x3<>1:E;
    143. !!VRy21:S0;
    144. !!VRy21|x2=42/x2=45/x2=50/x2=52/x2=54/x2=60/x2=61/x2=62:S1;
    145. !!FU|y21<>1:E;
    146. !!BMx16:Gx2/?y-1/?y-2;
    147. !!FU&y-1=0:E;
    148. !!HEx4:Fd/d/?y11/d/1;
    149. !!VRh:S0;
    150. !!VRh:Sw144%1000; POWER
    151. !!VRy-1:+h;
    152. !!VRy12:Sy11+h;
    153. !!BMx16:I?g;
    154. !!FU|g=x5/y-1>y12:E;
    155. !!BMx16:Mx2/y-1/y-2;

    156. !?CM4;
    157. !!BG:H?v1 Q?v2;
    158. !!FU|v76>4:E;
    159. !!IF:Wv1;
    160. !!VRm:S0;
    161. !!VRm:Sw144%1000; POWER
    162. !!VRm::20;
    163. !!VRn:S0;
    164. !!VRn:Sw144:1000; knowlege
    165. !!VRn::20;
    166. !!CM:I?y30 S?y31 F?y32;
    167. !!FU66:P9/y30/y31/y32/m;
    168. !!FU66:P10/y30/y31/y32/n;

    169. *******************************
    170. !?BR; 每回合回复魔法值
    171. !!FU&v997<1:E;
    172. !!FU66&v95<0:P-8/v94;
    173. !!FU66&v95>-1:P8/v94/v95;
    174. !!DO66/2500/2520/1:P-100;
    175. !!VRv76:S0;

    176. !?FU66&x1=-8; 野兵作战根据知识重转值增加魔法值
    177. !!IF:Wx2;
    178. !!VRh:S0;
    179. !!VRh:Sw144:1000; knowlege
    180. !!HEx2:Fd/d/d/?j/1 S24/?y-1;
    181. !!HEx2:I?y1/1;
    182. !!VRj&y-1=0:*10;
    183. !!VRj&y-1=1:*125:100;
    184. !!VRj&y-1=2:*15;
    185. !!VRj&y-1=3:*20;
    186. !!FU|y1>=j:E;
    187. !!VRy1:+h;
    188. !!HEx2:Iy1/1;

    189. !?FU66&x1=8; 英雄之间作战根据知识重转值增减魔法值
    190. !!IF:Wx2;
    191. !!VRv1:C0/0/0;
    192. !!VRv1:Sw144:1000; knowlege
    193. !!IF:Wx3;
    194. !!VRv2:Sw144:1000; knowlege
    195. !!VRv3:Sv1-v2;
    196. !!HEx2:Fd/d/d/?j/1 S24/?y-1;
    197. !!HEx2:I?y1/1;
    198. !!VRj&y-1=0:*20;
    199. !!VRj&y-1=1:*25;
    200. !!VRj&y-1=2:*30;
    201. !!VRj&y-1=3:*40;
    202. !!VRm:Sv1;
    203. !!VRm&y-1=0:*20;
    204. !!VRm&y-1=1:*25;
    205. !!VRm&y-1=2:*30;
    206. !!VRm&y-1=3:*40;
    207. !!VRj:+m;
    208. !!VRy1:+v3;
    209. !!VRy1&y1<0:S0;
    210. !!HEx2&y1<j:Iy1/1;
    211. !!HEx3:Fd/d/d/?k/1 S24/?y-2;
    212. !!HEx3:I?y2/1;
    213. !!VRk&y-2=0:*20;
    214. !!VRk&y-2=1:*25;
    215. !!VRk&y-2=2:*30;
    216. !!VRk&y-2=3:*40;
    217. !!VRn:Sv2;
    218. !!VRn&y-2=0:*20;
    219. !!VRn&y-2=1:*25;
    220. !!VRn&y-2=2:*30;
    221. !!VRn&y-2=3:*40;
    222. !!VRk:+n;
    223. !!VRy2:-v3;
    224. !!VRy2&y2<0:S0;
    225. !!HEx3&y2<k:Iy2/1;
    226. ********************************
    227. !?FU66&x1=1; 英雄变量复位函数
    228. !!IF:Wx16;
    229. !!VRw143:S0; A,D储存
    230. !!VRw144:S0; P,K储存
    231. ********************************
    232. ********************************
    233. !?FU66&x1=-2; 四围刷新函数
    234. !!HEx2:F?v1/?v2/d/d/1; 获取四围
    235. !!FU|v1<85/v2<85:E; 不足85时中止
    236. !!VRy11:Sv1 -85;
    237. !!VRy12:Sv2 -85;
    238. !!IF:Wx2; 使用英雄变量
    239. !!VRw143:+y11; 攻击储存
    240. !!VRy12:*1000;
    241. !!VRw143:+y12; 防御储存
    242. !!HEx2:F85/85/d/d; 四围刷新
    243. !!HEx2:B0/?z7;
    244. !!IF&x3=0:M^{恭喜,%Z7 成功重转}^;
    245. !!UN&x3=0:R3/-1;

    246. !?FU66&x1=-3; 四围刷新函数
    247. !!HEx2:Fd/d/?v3/?v4/1; 获取四围
    248. !!FU|v3<80/v4<80:E; 不足80时中止
    249. !!VRy13&v3>80:Sv3 -80;
    250. !!VRy14&v4>80:Sv4 -80;
    251. !!IF:Wx2; 使用英雄变量
    252. !!VRw144:+y13; 魔力储存
    253. !!VRy14:*1000;
    254. !!VRw144:+y14; 知识储存
    255. !!HEx2:Fd/d/80/80; 四围刷新
    256. !!HEx2:B0/?z7;
    257. !!IF&x3=0:M^{恭喜,%Z7 成功重转}^;
    258. !!UN&x3=0:R3/-1;
    259. ********************************
    260. ********************************
    261. !?FU66&x1=2;战场攻防补偿函数
    262. !!BMx16:T?y10 N?y11;
    263. !!FU|y10<0/y11<1:E;
    264. !!IF:Wx2;
    265. !!VRm:S0; !!VRn:S0;
    266. !!VRm:Sw143:1000; D+
    267. !!VRn:Sw143%1000; A+
    268. !!BMx16:Adn Ddm;
    269. *******************************
    270. ********************************
    271. !?FU66&x1=-4;
    272. !!FU|x3<103/x3>104/x4<>512:E;
    273. !!HEx2:B0/?z7;
    274. !!HEx2:F?y11/?y12/d/d/1;
    275. !!IF|y11<85/y12<85:Q3/31/0/32/0/4^{%Z7} 还不够重转条件

    276. 攻击防御同时大于85才能重转^;
    277. !!FU|y11<85/y12<85:E;
    278. !!IF:Q10/31/0/32/0/2^%Z7已满足重转条件,要重转吗?^;
    279. !!FU66&10:P-2/x2/0;
    280. !!CM&10:R0;

    281. !?FU66&x1=-5;
    282. !!FU|x3<105/x3>106/x4<>512:E;
    283. !!HEx2:B0/?z7;
    284. !!HEx2:Fd/d/?y13/?y14/1;
    285. !!IF|y13<80/y14<80:Q4/33/0/34/0/4^{%Z7} 还不够重转条件

    286. 魔力知识同时大于80才能重转^;
    287. !!FU|y13<80/y14<80:E;
    288. !!IF:Q10/33/0/34/0/2^%Z7已满足重转条件,要重转吗?^;
    289. !!FU66&10:P-3/x2/0;
    290. !!CM&10:R0;
    291. ********************************
    292. ********************************
    293. !?CM2;
    294. !!CM:I?y30 S?y31 F?y32;
    295. !!FU|y30<>1/y31<>14/y32<>512:E;
    296. !!HE-1:B0/?z7;
    297. !!IF:W-1;
    298. !!VRm:S0; !!VRn:S0; !!VRg:S0; !!VRh:S0;
    299. !!VRm:Sw143:1000; defense
    300. !!VRn:Sw143%1000; attack
    301. !!VRg:Sw144:1000; knowlege
    302. !!VRh:Sw144%1000; POWER
    303. !!IF:Q2/31/n/32/m/1^%Z7攻防重置后的附加能力:^;
    304. !!IF:Q2/33/h/34/g/1^%Z7魔智重置后的附加能力:^;
    305. !!CM:R0;
    306. ********************************
    307. !?MR0; 英雄魔力重转<=>魔法伤害加成
    308. !!BG:A?y-1 S?y-2 H?y-3;
    309. !!IF:Wy-3;
    310. !!FU|y-1<>1:E;
    311. !!MR:D?y-9;
    312. !!VRy-4:S0;!!VRk:S0;
    313. !!VRy-4&y-2=15:S10; magic arrow
    314. !!VRy-4&y-2=16:S20; Ice Bolt
    315. !!VRy-4&y-2=17:S25; Lightning Bolt
    316. !!VRy-4&y-2=18:S80; Implosion
    317. !!VRy-4&y-2=19:S40; Chain Lightning
    318. !!VRy-4&y-2=20:S10; Frost Ring
    319. !!VRy-4&y-2=21:S10; Fireball
    320. !!VRy-4&y-2=22:S10; Inferno
    321. !!VRy-4&y-2=23:S25; Meteor Shower
    322. !!VRy-4&y-2=24:S5; Death Ripple
    323. !!VRy-4&y-2=25:S10; Destroy Undead
    324. !!VRy-4&y-2=26:S50; Armageddon
    325. !!VRy-4&y-2=57:S600; Titan's Lightning Bolt
    326. !!VRk:Sw144%1000; POWER
    327. !!VRy-10:Sk*y-4;
    328. !!VRy-9:+y-10;
    329. !!HEy-3:Ed/?m;
    330. !!VRy-9&k>199:*m; 魔力重转值大于200魔法伤害=基本伤害*英雄等级
    331. !!MR:Dy-9;
    332. ********************************
    333. !?MR2; 英雄魔力重转<=>无视魔法免疫
    334. !!IF:Wv302;
    335. !!VRe1:S0;
    336. !!VRe1:Sw144%1000; POWER
    337. !!VRe1::200;
    338. !!FU|e1<1/v300<>1:E;
    339. !!MR:F0;
    340. ********************************
    341. !#TM5:S2/999/1/255;

    342. !?TM5;
    343. !!DO66/0/155/1:P-99;

    344. !?FU66&x1=-99;
    345. !!HEx16:N?j O?y-1;
    346. !!OW&y-1>-1:Iy-1/?y-1;
    347. !!HEj&j>-1:F?y1/?y2/?y3/?y4/1; 获取英雄四围
    348. !!FU66&y-1=1:P-9/j/y1/y2;
    349. !!FU66&y-1=1:P-10/j/y3/y4;

    350. !?FU66&x1=-9; 四围刷新函数
    351. !!FU|x3<75/x4<75:E; 不足75时中止
    352. !!VRy11:Sx3 -75;
    353. !!VRy12:Sx4 -75;
    354. !!IF:Wx2; 使用英雄变量
    355. !!VRw143:+y11; 攻击储存
    356. !!VRy12:*1000;
    357. !!VRw143:+y12; 防御储存
    358. !!HEx2:F75/75/d/d; 四围刷新

    359. !?FU66&x1=-10; 四围刷新函数
    360. !!FU|x3<70/x4<70:E; 不足70时中止
    361. !!VRy13:Sx3 -70;
    362. !!VRy14:Sx4 -70;
    363. !!IF:Wx2; 使用英雄变量
    364. !!VRw144:+y13; 魔力储存
    365. !!VRy14:*1000;
    366. !!VRw144:+y14; 知识储存
    367. !!HEx2:Fd/d/70/70; 四围刷新
    368. **过天判断**英雄移动是魔法值是否为满值作为判断条件
    369. !?HM-1;
    370. !!HE-1:N?j;
    371. !!FU66:P-11/j;

    372. !?FU66&x1=-11;
    373. !!HEx2:Fd/d/d/?y1 S24/?y-1;
    374. !!IF:Wx2;!!VRy11:S0;!!VRy12:S0;!!VRy13:S0;
    375. !!VRy11:Sw144:1000; knowlege
    376. !!FU|y11<1:E;
    377. !!VRv1&y-1=0:Sy1*10;
    378. !!VRv1&y-1=1:Sy1*125:100;
    379. !!VRv1&y-1=2:Sy1*15;
    380. !!VRv1&y-1=3:Sy1*20;
    381. !!VRv2&y-1=0:Sy1*20;
    382. !!VRv2&y-1=1:Sy1*25;
    383. !!VRv2&y-1=2:Sy1*30;
    384. !!VRv2&y-1=3:Sy1*40;
    385. !!HEx2:I?y2;
    386. !!VRy12&y-1=0/y2=v1:Sy11*10;
    387. !!VRy12&y-1=1/y2=v1:Sy11*125:100;
    388. !!VRy12&y-1=2/y2=v1:Sy11*15;
    389. !!VRy12&y-1=3/y2=v1:Sy11*20;
    390. !!VRy13&y-1=0/y2=v2:Sy11*20;
    391. !!VRy13&y-1=1/y2=v2:Sy11*25;
    392. !!VRy13&y-1=2/y2=v2:Sy11*30;
    393. !!VRy13&y-1=3/y2=v2:Sy11*40;
    394. !!VRv3&y2=v1:Sy2+y12;
    395. !!VRv4&y2=v2:Sy2+y13;
    396. !!HEx2&y2=v1:Iv3;
    397. !!HEx2&y2=v2:Iv4;

    398. !?CM4&1000; mouse move trigger
    399. !!CM:D?y-1 F?y1;
    400. !!BG:Q?y-10; attacking side? (0=left, 1= right)
    401. !!BHy-10:N?y-5;
    402. !!IF:Wy-5;
    403. !!HEy-5:B0/?z7;
    404. !!VRm:S0; !!VRn:S0; !!VRg:S0; !!VRh:S0;
    405. !!VRm:Sw143:1000; defense
    406. !!VRn:Sw143%1000; attack
    407. !!VRg:Sw144:1000; knowlege
    408. !!VRh:Sw144%1000; POWER
    409. !!VRy2&y-10=0:S252;!!VRy2&y-10=1:S253;
    410. !!IF&y1=512/y-1=y2:Q2/31/n/32/m/4^%Z7攻防重置后的附加能力:^;
    411. !!IF&y1=512/y-1=y2:Q2/33/h/34/g/4^%Z7魔智重置后的附加能力:^;
    412. !!VRy-11&y-10=0:S1; !!VRy-11&y-10=1:S0; opponent hero?
    413. !!BHy-11:N?y-30; is this a hot seat 2 hero battle?
    414. !!FU&y-30=-1:E; end if no hero opponent on field]
    415. !!IF:Wy-30;
    416. !!HEy-30:B0/?z7;
    417. !!VRm:S0; !!VRn:S0; !!VRg:S0; !!VRh:S0;
    418. !!VRm:Sw143:1000; defense
    419. !!VRn:Sw143%1000; attack
    420. !!VRg:Sw144:1000; knowlege
    421. !!VRh:Sw144%1000; POWER
    422. !!VRy3&y-10=0:S253;!!VRy3&y-10=1:S252;
    423. !!IF&y1=512/y-1=y3:Q2/31/n/32/m/4^%Z7攻防重置后的附加能力:^;
    424. !!IF&y1=512/y-1=y3:Q2/33/h/34/g/4^%Z7魔智重置后的附加能力:^;
    复制代码
    =w=
  • TA的每日心情
    郁闷
    2015-6-6 16:12
  • 签到天数: 52 天

    连续签到: 1 天

    [LV.5]女巫

    4949

    回帖

    3万

    金币

    35

    精华

    超级版主

    Rank: 11Rank: 11Rank: 11Rank: 11

    积分
    34677

    论坛守望者论坛元老杰出贡献

    发表于 2013-9-26 16:57:39 | 显示全部楼层
    <英雄自动施法优化补丁>
    这个脚本我没法改,看着头晕.
    很早就知道不适合ERA下运作.估计跟怪3冲突了吧.
    这个,最好还是停用一下这个优化补丁脚本.
    ahome_bigavatar:guest
    ahome_bigavatar:welcomelogin
    您需要登录后才可以回帖 登录 | 英雄注册|Register

    本版积分规则

    捐赠
    关注我们,英3Mod一网打尽!

    WoG中文站 ( 辽B2-20210485-10 )|辽公网安备 21128202000228 号

    GMT+8, 2024-12-24 00:53 , Processed in 1.090576 second(s), 27 queries , Gzip On, File On.

    Powered by Discuz! X3.4

    Copyright © 2004-2022, Beijing Second Sight Technology Co., LTD.

    快速回复 返回顶部 返回列表