佳丽云

英雄无敌3-WoG中文站

 找回密码
 英雄注册|Register
查看: 2987|回复: 4

【已解决】脚本修改求助

[复制链接]
  • TA的每日心情
    慵懒
    昨天 19:51
  • 签到天数: 3739 天

    连续签到: 31 天

    [LV.Master]伴坛终老

    3867

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    73351
    发表于 2013-10-19 03:16:01 | 显示全部楼层 |阅读模式
    本帖最后由 gigichart 于 2013-10-25 11:28 编辑
    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魔智重置后的附加能力:^;
    复制代码

    这是fly的转世脚本.我想删掉这个脚本中的高级祝福和高级诅咒魔法功能保留超级复活和超级聚灵功能并用在ERA上.但删掉中间的

    1. !?FU66&x1=3;
    2. !!FU|x4<>1:E;
    3. !!IF:Wx3;
    4. !!VRe1:S0;
    5. !!VRe1:Sw144%1000; POWER
    6. !!VRe1::70;
    7. !!FU&e1<1:E;
    8. !!FU|x2<27/x2=38/x2=39/x2=40/x2=47/x2=57/x2=59/x2=60/x2>61:E;
    9. !!BG:D-1; 全体施法

    10. !?FU66&x1=4; 群体失明
    11. !!FU|x4<>1:E;
    12. !!IF:Wx3;
    13. !!VRe1:S0;
    14. !!VRe1:Sw144%1000; POWER
    15. !!VRe1::130;
    16. !!FU|e1<1/x2<>62:E;
    17. !!BG:D-1;

    18. !?FU66&x1=5; 群体疯狂
    19. !!FU|x4<>1:E;
    20. !!IF:Wx3;
    21. !!HEx3:I?g/1;
    22. !!VRe1:S0;
    23. !!VRe1:Sw144%1000; POWER
    24. !!VRe1::150;
    25. !!FU|e1<1/x2<>59:E;
    26. !!BMx16:N?y1 T?y2 P?y3;
    27. !!FU&y2>144/y2<150|y1<1/x6=y3/g<100:E;
    28. !!BHx5:Cx2/y3/1/1;

    29. !?FU66&x1=6; 群体攻击魔法
    30. !!FU|x4<>1:E;
    31. !!IF:Wx3;
    32. !!HEx3:I?g/1 Fd/d/?j/d/1;
    33. !!VRe1:S0;
    34. !!VRe1:Sw144%1000; POWER
    35. !!VRe1::100;
    36. !!VRy1:S-1;
    37. !!VRy1&x2>14/x2<19:S2;
    38. !!VRy1&x2>19/x2<24:S2;
    39. !!FU|e1<1/y1<0:E;
    40. !!BMx16:N?y-1 T?y2 P?y3;
    41. !!FU&y2>144/y2<150|y-1<1/x6=y3/g<50:E;
    42. !!BHx5:Cx2/y3/j/1;

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

    50. !?FU66&x1=18;
    51. !!FU|x2<>1/x3<>38/x3<>39:E;
    52. !!IF:Wx4;
    53. !!VRh:S0;
    54. !!VRh:Sw144%1000; POWER
    55. !!BMx5:I?g P?t N?y-1 B?y-2;
    56. !!FU|g<>x6/y-1<1/y-1>=y-2/h<1:E;
    57. !!BMx5:Cx3/t/3/h/1;

    58. !?FU66&x1=7; 玩家知识重转函数,一回合多次施法
    59. !!FU|x3<>1:E;
    60. !!BHx2:N?y1;
    61. !!OW:C?i;
    62. !!HEy1:O?g;
    63. !!FU&i<>g:E;
    64. !!IF&y1>-1:Wy1;
    65. !!VRv1:S0;
    66. !!VRv1:Sw144:1000; knowlege
    67. !!VRv1::30;
    68. !!VRv2:Sv1-v76;
    69. !!FU|v2=<0/v76>4:E;
    70. !!BHx2:M0;
    71. !!VRv76:+1;

    72. !?FU66&x1=-6; 有益魔法
    73. !!IF:Wx4;
    74. !!FU|x3<>1:E;
    75. !!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;
    76. !!BMx16:Gx2/?y-1/?y-2;
    77. !!FU&y-1=0:E;
    78. !!HEx4:Fd/d/?y11/d/1;
    79. !!VRh:S0;
    80. !!VRh:Sw144%1000; POWER
    81. !!VRy-1:+h;
    82. !!VRy12:Sy11+h;
    83. !!BMx16:I?g;
    84. !!FU|g<>x5/y-1>y12:E;
    85. !!BMx16:Mx2/y-1/y-2;

    86. !?FU66&x1=-7; 诅咒魔法
    87. !!IF:Wx4;
    88. !!FU|x3<>1:E;
    89. !!VRy21:S0;
    90. !!VRy21|x2=42/x2=45/x2=50/x2=52/x2=54/x2=60/x2=61/x2=62:S1;
    91. !!FU|y21<>1:E;
    92. !!BMx16:Gx2/?y-1/?y-2;
    93. !!FU&y-1=0:E;
    94. !!HEx4:Fd/d/?y11/d/1;
    95. !!VRh:S0;
    96. !!VRh:Sw144%1000; POWER
    97. !!VRy-1:+h;
    98. !!VRy12:Sy11+h;
    99. !!BMx16:I?g;
    100. !!FU|g=x5/y-1>y12:E;
    101. !!BMx16:Mx2/y-1/y-2;

    102. !?CM4;
    103. !!BG:H?v1 Q?v2;
    104. !!FU|v76>4:E;
    105. !!IF:Wv1;
    106. !!VRm:S0;
    107. !!VRm:Sw144%1000; POWER
    108. !!VRm::20;
    109. !!VRn:S0;
    110. !!VRn:Sw144:1000; knowlege
    111. !!VRn::20;
    112. !!CM:I?y30 S?y31 F?y32;
    113. !!FU66:P9/y30/y31/y32/m;
    114. !!FU66:P10/y30/y31/y32/n;

    115. !?FU66&x1=9; 玩家魔力重转函数,一回合多次高级诅咒魔法
    116. !!FU|x2<>2005/x3<>14/x4<>512/x5<1/v76>x5:E;
    117. !!CM:R0;
    118. !!VRz-1:S^(请选择您想对敌方部队施放的6级魔法{MP>=:100})^;
    119. !!VRz-2&x5>=3:S^70. 石化 Required MP=60,10回合有效。^; v1=1
    120. !!VRz-3&x5>=1:S^71. 中毒 Required MP=20^; v1=2
    121. !!VRz-4&x5>=5:S^72. 缠绕 Required MP=100,3回合有效。^; v1=4
    122. !!VRz-5&x5>=1:S^73. 疾病 Required MP=10^; v1=8
    123. !!VRz-6&x5>=3:S^74. 麻痹 Required MP=60,10回合有效。^; v1=16
    124. !!VRz-7&x5>=4:S^75. 老化 Required MP=50^; v1=32
    125. !!VRz-8&x5>=2:S^78. 驱散有益魔法 Required MP=30^; v1=64
    126. !!VRz-9&x5>=2:S^80. 酸液攻击 Required MP=25^; v1=128
    127. !!VRz-10:S^退出,我不想施法了。^; v1=256
    128. !!IF:G1/1/256/-1/-2/-3/-4/-5/-6/-7/-8/-9/-10;
    129. !!FU|v1=256:E;
    130. !!VRv4711&v1=1:S70;
    131. !!VRv4711&v1=2:S71;
    132. !!VRv4711&v1=4:S72;
    133. !!VRv4711&v1=8:S73;
    134. !!VRv4711&v1=16:S74;
    135. !!VRv4711&v1=32:S75;
    136. !!VRv4711&v1=64:S78;
    137. !!VRv4711&v1=128:S80;
    138. !!IF:V9/1; enables another mouse click trigger
    139. !!UN:R5/3/0 R7/0/1;

    140. !?FU66&x1=10; 玩家知识重转函数,一回合多次高级祝福魔法
    141. !!FU|x2<>2010/x3<>14/x4<>512/x5<1/v76>x5:E;
    142. !!CM:R0;
    143. !!VRz-1:S^(请选择您想对本方部队施放的6级魔法{MP>=:100})^;
    144. !!VRz2&x5>=6:S^镜像大法---单体双剑实体克隆。Required MP=100^; v1=1
    145. !!VRz-3&x5>=5:S^狂暴大法---嗜血,孤注一掷,屠龙。Required MP=50^; v1=2
    146. !!VRz-4&x5>=1:S^神行太保---加速,祈祷,石肤。Required MP=30^; v1=4
    147. !!VRz-5&x5>=3:S^天堂之盾---护盾,气盾,火盾。Required MP=40^; v1=8
    148. !!VRz-6&x5>=2:S^神之祝福---医疗,祝福,祈祷。Required MP=35^; v1=16
    149. !!VRz-7&x5>=4:S^手舞足蹈---幸运,欢欣鼓舞,反戈一击。Required MP=40^;v1=32
    150. !!VRz-8&x5>=3:S^一箭穿心---祝福,精确,孤注一掷。Required MP=35^; v1=64
    151. !!VRz-9&x5>=2:S^终极魔盾---御气,御火,御水,御土,魔镜。Required MP=60^; v1=128
    152. !!VRz-10:S^退出,我不想施法了。^; v1=256
    153. !!IF:G1/1/256/-1/2/-3/-4/-5/-6/-7/-8/-9/-10;
    154. !!FU|v1=256:E;
    155. !!VRv4711&v1=1:S1;
    156. !!VRv4711&v1=2:S2;
    157. !!VRv4711&v1=4:S3;
    158. !!VRv4711&v1=8:S4;
    159. !!VRv4711&v1=16:S5;
    160. !!VRv4711&v1=32:S6;
    161. !!VRv4711&v1=64:S7;
    162. !!VRv4711&v1=128:S8;
    163. !!IF:V10/1; enables another mouse click trigger
    164. !!UN:R5/3/0 R7/0/1;

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

    170. !?CM4&9;
    171. !!CM:R0;
    172. !!BG:H?y1 Q?y2;
    173. !!CM:D?y-1 S?y31; hex number
    174. !!FU|y-1<1/y-1>185:E; Exit if invalid hex
    175. !!IF:V9/0;
    176. !!FU66:P11/y-1/y2/y31/y1;
    177. !!UN:R7/0/0;

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

    183. !?CM4&10;
    184. !!CM:R0;
    185. !!BG:H?y1 Q?y2;
    186. !!CM:D?y-1 S?y31; hex number
    187. !!FU|y-1<1/y-1>185:E; Exit if invalid hex
    188. !!IF:V10/0;
    189. !!FU66:P12/y-1/y2/y31/y1;
    190. !!UN:R7/0/0;

    191. !?FU66&x1=11; cast slow at x1 (if valid)
    192. !!BU:Ex2/?y2; get stack # at hex x1 (-1 if none)
    193. !!FU&y2=-1:E;
    194. !!BMy2:I?y1 P?y3 T?y4;
    195. !!BMy2:G34/?y-1/?y-2;
    196. !!VRk:S0;!!VRj:S0;
    197. !!VRk:Sw144%1000; POWER
    198. !!VRk::200;
    199. !!VRj&y4>173/y4<192|y4=27/y4=83/y4=132/y4=151/y4=155/y4=116/y4=117:S1;
    200. !!VRj|k>0:-1;
    201. !!IF|j>0:M^施法目标为黑龙类魔免生物。此魔法无效。^;
    202. !!IF|y-1>0:M^施法目标有抗魔大法附体。无法施放此魔法。^;
    203. !!IF|y1=x3:M^你不能对本方部队施放此魔法。^;
    204. !!FU|y1=x3/y3<>x2/x4<>12/y-1>0/j>0:E;
    205. !!HEx5:I?y12/1;
    206. !!IF|y12<100:M^你的魔法值不够100点,无法施放此魔法。^;
    207. !!FU|y12<100:E;
    208. !!VRy13:Sv4711;!!VRy14:S0;
    209. !!VRy14|y13=70:S59; 60
    210. !!VRy14|y13=71:S19; 20
    211. !!VRy14|y13=72:S99; 100
    212. !!VRy14|y13=73:S9; 10
    213. !!VRy14|y13=74:S59; 60
    214. !!VRy14|y13=75:S49; 50
    215. !!VRy14|y13=78:S29; 30
    216. !!VRy14|y13=80:S24; 25
    217. !!VRy12:-y14;
    218. !!HEx5:Iy12/1;
    219. !!VRy15:S0;
    220. !!VRy15|y13=70/y13=74:S1;
    221. !!BHx3|y15=0:Cy13/y3/3/1;
    222. !!BMy2&y2>-1/y15=1:Cy13/y3/1/10/1;
    223. !!BG:N?y50;
    224. !!BMy50&y15=1:C2/y3/0/0/0;
    225. !!VRy9&y2>-1/y2<21/y13=72:S2520+y2;
    226. !!VRy9&y2>20/y13=72:S2500+y2;
    227. !!VRy10&y2>-1/y2<21/y13=72:S2500+y2;
    228. !!VRy10&y2>20/y13=72:S2480+y2;
    229. !!VRvy9&y2>-1/y13=72:Sv997+3;
    230. !!VRvy10&y2>-1/y13=72:Sy2;
    231. !!VRv76:+1;
    232. !!IF:Wx5;
    233. !!VRm:S0;
    234. !!VRm:Sw144%1000; POWER
    235. !!VRm::20;
    236. !!FU&v76>m:E;
    237. !!BHx3:M0;

    238. !?FU66&x1=-100;
    239. !!BMvx16&vx16>-1:G72/?y-1/?y-2;
    240. !!FU&y-1=0:E;
    241. !!VRy3:S-1;
    242. !!VRy1:Sv997;
    243. !!VRy2:Sx16+20;
    244. !!VRy3:Svy2-y1;
    245. !!BMvx16&vx16>-1:P?g;
    246. !!BMvx16&vx16>-1/y3=0:C63/g/1/1/1 Pg V26;

    247. !?FU66&x1=-101;
    248. !!VRvx16:S-1;

    249. !?FU66&x1=12; cast slow at x1 (if valid)
    250. !!BU:Ex2/?y2; get stack # at hex x1 (-1 if none)
    251. !!FU&y2=-1:E;
    252. !!BMy2:I?y1 P?y3;
    253. !!IF|y1<>x3:M^你不能对敌方部队施放此魔法。^;
    254. !!FU|y1<>x3/y3<>x2/x4<>12:E;
    255. !!HEx5:I?y12/1;
    256. !!IF|y12<100:M^你的魔法值不够100点,无法施放此魔法。^;
    257. !!FU|y12<100:E;
    258. !!VRy13:Sv4711;!!VRy14:S0;
    259. !!VRy14|y13=1:S80; 20+ need 100
    260. !!VRy14|y13=2:S22; 28+ need 50
    261. !!VRy14|y13=3:S9; 21+ need 30
    262. !!VRy14|y13=4:S15; 25+ need 40
    263. !!VRy14|y13=5:S14; 21+ need 35
    264. !!VRy14|y13=6:S6; 34+ need 40
    265. !!VRy14|y13=7:S13; 22+ need 35
    266. !!VRy14|y13=8:S18; 42+ need 60
    267. !!VRy12:-y14;
    268. !!HEx5:Iy12/1;
    269. !!HEx5:S14/?v5 S15/?v6 S16/?v7 S17/?v8;
    270. !!HEx5:S14/1 S15/1 S16/1 S17/1;
    271. !!FU66:P13/y3/x3/y13/y2;
    272. !!BHx3&y13=2:C43/y3/2/1 C55/y3/2/1 C56/y3/2/1;
    273. !!BHx3&y13=3:C53/y3/2/1 C46/y3/2/1 C48/y3/2/1;
    274. !!BHx3&y13=4:C27/y3/2/1 C28/y3/2/1 C29/y3/2/1;
    275. !!BHx3&y13=5:C37/y3/2/1 C41/y3/2/1 C48/y3/2/1;
    276. !!BHx3&y13=6:C49/y3/2/1 C51/y3/2/1 C58/y3/2/1;
    277. !!BHx3&y13=7:C41/y3/2/1 C44/y3/2/1 C56/y3/2/1;
    278. !!BHx3&y13=8:C30/y3/2/1 C31/y3/2/1 C32/y3/2/1 C33/y3/2/1 C36/y3/2/1;
    279. !!HEx5:S14/v5 S15/v6 S16/v7 S17/v8;
    280. !!VRv76:+1;
    281. !!IF:Wx5;
    282. !!VRn:S0;
    283. !!VRn:Sw144:1000; knowlege
    284. !!VRn::20;
    285. !!FU&v76>n:E;
    286. !!BHx3:M0;
    复制代码

    并用到ERA里放超级复活时会提示语法错误.是哪里删错了?
    另外这个脚本附加的攻防属性不正确,一些兵有附加一些兵没附加,求帮解决
    =w=
  • TA的每日心情
    郁闷
    2015-6-6 16:12
  • 签到天数: 52 天

    连续签到: 1 天

    [LV.5]女巫

    4949

    回帖

    3万

    金币

    35

    精华

    超级版主

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

    积分
    34677

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

    发表于 2013-10-21 08:46:44 | 显示全部楼层
    楼主把发生错误的提示语句贴上来呢.
    弹出错误框有提示错误语句的.

    点评

    ----------------------- ERM syntax Error. File: erm Line: 2879 Reason: "!!VR:"-wrong command. Save all ERM vars to WOGERMLOG.TXT (may take time)? ----------------------- -----Context----  详情 回复 发表于 2013-10-21 11:47
  • TA的每日心情
    慵懒
    昨天 19:51
  • 签到天数: 3739 天

    连续签到: 31 天

    [LV.Master]伴坛终老

    3867

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    73351
     楼主| 发表于 2013-10-21 11:47:43 | 显示全部楼层
    贤知有您 发表于 2013-10-21 08:46
    楼主把发生错误的提示语句贴上来呢.
    弹出错误框有提示错误语句的.

    -----------------------
    ERM syntax Error.
            File: erm
            Line: 2879
            Reason:
            "!!VR:"-wrong command.

    Save all ERM vars to WOGERMLOG.TXT (may take time)?
    -----------------------
    -----Context-----
    s^ 超级转世重生让 %x8{%z1}起死回生^;
    !!VRz10&x8>=v9:S^ 超级转世重生让 %V9{%Z1}起死回生^;
    !!MM:Sz10;
    !!HEx3:Iy-9/1;

    !?FU66;
    !!FU|x1<>17/x2<0/x2>41:E;目标堆栈不存在退出
    !!IF:Wx3;
    !!VRm:S0;
    !!VRm:Sw144:.....
    -----------------


    超级聚灵没试过,最近没用鬼族玩,但估计也会是一样的情况

    点评

    很奇怪,为何你的 s^ 超级转世重生让 %x8{%z1}起死回生^; 中的s是小写的呢?  详情 回复 发表于 2013-10-21 14:31
    =w=
  • TA的每日心情
    郁闷
    2015-6-6 16:12
  • 签到天数: 52 天

    连续签到: 1 天

    [LV.5]女巫

    4949

    回帖

    3万

    金币

    35

    精华

    超级版主

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

    积分
    34677

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

    发表于 2013-10-21 14:31:09 | 显示全部楼层
    gigichart 发表于 2013-10-21 11:47
    -----------------------
    ERM syntax Error.
            File: erm

    很奇怪,为何你的
    s^ 超级转世重生让 %x8{%z1}起死回生^;
    中的s是小写的呢?

    点评

    把那小写改大写就没问题了 奇怪这脚本这里原来就是小写的以前怎么都没出问题  详情 回复 发表于 2013-10-21 15:02
  • TA的每日心情
    慵懒
    昨天 19:51
  • 签到天数: 3739 天

    连续签到: 31 天

    [LV.Master]伴坛终老

    3867

    回帖

    5万

    金币

    0

    精华

    9级 Promising Supreme Hero

    Rank: 9Rank: 9Rank: 9

    积分
    73351
     楼主| 发表于 2013-10-21 15:02:05 | 显示全部楼层
    贤知有您 发表于 2013-10-21 14:31
    很奇怪,为何你的
    s^ 超级转世重生让 %x8{%z1}起死回生^;
    中的s是小写的呢?

    把那小写改大写就没问题了
    奇怪这脚本这里原来就是小写的以前怎么都没出问题
    =w=
    ahome_bigavatar:guest
    ahome_bigavatar:welcomelogin
    您需要登录后才可以回帖 登录 | 英雄注册|Register

    本版积分规则

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

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

    GMT+8, 2024-11-16 07:49 , Processed in 0.401204 second(s), 12 queries , Gzip On, File On.

    Powered by Discuz! X3.4

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

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