*********************************************************
有感于部份玩家在下生物宝屋时因受读盘限制在没有副英雄踩点的情况下而出现自杀现象,故写了这个生物宝屋加强脚本,按照惯例在二楼放出两个版本,一为普通加强版,二为普通版,至于变态版视情况再更新。
普通加强版功能说明如下:
一、地图上所有的已访问生物宝屋每月将自动刷新一次恢复成未访问状态;
二、英雄访问生物宝屋时宝屋守卫和奖励不再随机,而是按访问英雄的等级每5级增加,也就是说1级的英雄访问的宝屋永远都是小宝屋,6级英雄访问的宝屋永远都是中宝屋,11级英雄访问的宝屋永远都是大宝屋,15级以上英雄访问的宝屋永远都是最大的;
三、英雄访问生物宝屋时可以事先得知宝屋守卫具体数量及所得奖励,作为加强版,其实这个功能作用并不大;
四、强化的宝屋类型只包括只包括独眼/矮人/狮鹫/怪物/美杜莎/蛇妖/龙蝇这7种SOD生物宝屋,WOG后增加的宝屋无任何效果;
五、在WOG初始选项若开启中立城镇和生物银行增长的选项,此生物宝屋加强ERM将自动失效,功能有冲突嘛;
六、改换ERM名称后可作为通用脚本使用,原则上不会引起冲突,若想在地图中当事件版使用,请将此ERM置于开启生物经验事件后;
七、erm内有功能简要说明,一切以游戏所见功能为准。
普通版功能说明如下:
再普通不过了,只保留事先得知宝屋守卫数量及奖励的功能,坚决杜绝下宝屋自杀现象的发生。
以下是加强版代码:
ZVSE
**ERM制作:沧海一粟。
**V变量 v201-v204
**FU变量 48(x1=460-500)
**TM变量 64(每月触发)
!#TM64:S29/999/28/255;
!?TM64;
!!FU48:P460;
!?FU48&x1=460/1000;
!!UN:P235/?y-57;
!!FU&y-57=1:E;
!!UN:U16/-1/?x2;
!!VRv1:S-1;
!!DO48/1/x2/1&x2>0:P461/x2;
!!UN:R1;
!?FU48&x1=461;
!!UN:U16/-1/-1/1;
!!CBv1/v2/v3:T?y1;
!!FU&y1=0:E;
!!OBv1/v2/v3:U?y2;
!!FU&y2>6:E;
!!CBv1/v2/v3:T0 V0;
*********************************************************
!?OB16&1000;
!!VRv201:S0;
!!FU48:P470;
!!FU48:P480;
!?FU48&x1=470;
!!UN:P235/?y-57;
!!FU&y-57=1:E;
!!OBv998/v999/v1000:T?y1 U?y2;
!!CBv998/v999/v1000:T?y3;
!!FU&y3=1:E;
!!HE-1:Ed/?y4;
!!FU48&y2=0:P472/y4; 独眼宝屋
!!FU48&y2=1:P473/y4; 矮人宝屋
!!FU48&y2=2:P474/y4; 狮鹫宝屋
!!FU48&y2=3:P475/y4; 怪物宝屋
!!FU48&y2=4:P476/y4; 美杜莎宝屋
!!FU48&y2=5:P477/y4; 蛇妖宝屋
!!FU48&y2=6:P478/y4; 龙蝇宝屋
!?FU48&x1=472;
!!VRy5:S-1;
!!VRy5&x2<6:S4;
!!VRy5&x2>5/x2<11:S6;
!!VRy5&x2>10/x2<16:S8;
!!VRy5&x2>15:S10;
!!CBv998/v999/v1000:G0/-1/0 G1/-1/0 G2/-1/0 G3/-1/0 G4/-1/0 G5/-1/0;
!!CBv998/v999/v1000:G1/94/y5 G2/94/y5 G3/95/y5 G4/94/y5 G5/94/y5;
!!CBv998/v999/v1000:R0/y5 R1/y5 R2/y5 R3/y5 R4/y5 R5/y5;
!?FU48&x1=473;
!!VRy5:S-1; !!VRy6:S-1; !!VRy7:S-1;
!!VRy5&x2<6:S10;
!!VRy5&x2>5/x2<11:S15;
!!VRy5&x2>10/x2<16:S20;
!!VRy5&x2>15:S30;
!!VRy6&x2<6:S2;
!!VRy6&x2>5/x2<11:S3;
!!VRy6&x2>10/x2<16:S5;
!!VRy6&x2>15:S10;
!!VRy7&x2<6:S2500;
!!VRy7&x2>5/x2<11:S4000;
!!VRy7&x2>10/x2<16:S5000;
!!VRy7&x2>15:S7500;
!!CBv998/v999/v1000:G0/-1/0 G1/-1/0 G2/-1/0 G3/-1/0 G4/-1/0 G5/-1/0;
!!CBv998/v999/v1000:G1/16/y5 G2/16/y5 G3/17/y5 G4/16/y5 G5/16/y5;
!!CBv998/v999/v1000:R4/y6 R6/y7;
!?FU48&x1=474;
!!VRy5:S-1;
!!VRy5&x2<6:S10;
!!VRy5&x2>5/x2<11:S20;
!!VRy5&x2>10/x2<16:S30;
!!VRy5&x2>15:S40;
!!VRy6:Sy5:10;
!!CBv998/v999/v1000:G0/-1/0 G1/-1/0 G2/-1/0 G3/-1/0 G4/-1/0 G5/-1/0;
!!CBv998/v999/v1000:G1/4/y5 G2/4/y5 G3/5/y5 G4/4/y5 G5/4/y5;
!!CBv998/v999/v1000:M12/y6;
!?FU48&x1=475;
!!VRy5:S-1;
!!VRy5&x2<6:S20;
!!VRy5&x2>5/x2<11:S30;
!!VRy5&x2>10/x2<16:S40;
!!VRy5&x2>15:S60;
!!VRy6:Sy5:10;
!!VRy7:Sy5*50;
!!CBv998/v999/v1000:G0/-1/0 G1/-1/0 G2/-1/0 G3/-1/0 G4/-1/0 G5/-1/0;
!!CBv998/v999/v1000:G1/42/y5 G2/42/y5 G3/43/y5 G4/42/y5 G5/42/y5;
!!CBv998/v999/v1000:R1/y6 R6/y7;
!?FU48&x1=476;
!!VRy5:S-1; !!VRy6:S-1;
!!VRy5&x2<6:S4;
!!VRy5&x2>5/x2<11:S6;
!!VRy5&x2>10/x2<16:S8;
!!VRy5&x2>15:S10;
!!VRy6&x2<6:S5;
!!VRy6&x2>5/x2<11:S6;
!!VRy6&x2>10/x2<16:S8;
!!VRy6&x2>15:S10;
!!VRy7:Sy5*500;
!!CBv998/v999/v1000:G0/-1/0 G1/-1/0 G2/-1/0 G3/-1/0 G4/-1/0 G5/-1/0;
!!CBv998/v999/v1000:G1/76/y5 G2/76/y5 G3/77/y5 G4/76/y5 G5/76/y5;
!!CBv998/v999/v1000:R3/y6 R6/y7;
!?FU48&x1=477;
!!VRy5:S-1;
!!VRy5&x2<6:S2;
!!VRy5&x2>5/x2<11:S3;
!!VRy5&x2>10/x2<16:S4;
!!VRy5&x2>15:S6;
!!VRy6:Sy5*4;
!!VRy7:Sy5*2000;
!!CBv998/v999/v1000:G0/-1/0 G1/-1/0 G2/-1/0 G3/-1/0 G4/-1/0 G5/-1/0;
!!CBv998/v999/v1000:G1/38/y5 G2/38/y5 G3/39/y5 G4/38/y5 G5/38/y5;
!!CBv998/v999/v1000:R3/y6 R6/y7;
!?FU48&x1=478;
!!VRy5:S-1; !!VRy6:S-1;
!!VRy5&x2<6:S6;
!!VRy5&x2>5/x2<11:S9;
!!VRy5&x2>10/x2<16:S12;
!!VRy5&x2>15:S15;
!!VRy6&x2<6:S4;
!!VRy6&x2>5/x2<11:S6;
!!VRy6&x2>10/x2<16:S8;
!!VRy6&x2>15:S12;
!!CBv998/v999/v1000:G0/-1/0 G1/-1/0 G2/-1/0 G3/-1/0 G4/-1/0 G5/-1/0;
!!CBv998/v999/v1000:G1/105/y5 G2/105/y5 G3/105/y5 G4/105/y5 G5/105/y5;
!!CBv998/v999/v1000:M108/y6;
*********************************************************
!?FU48&x1=480;
!!UN:P235/?y-57;
!!FU&y-57=1:E;
!!OBv998/v999/v1000:T?y1 U?y2;
!!CBv998/v999/v1000:T?y3;
!!FU&y3=1:E;
!!DO48/1/5/1:P481;
!!FU48&y2=0:P482/v201; 独眼宝屋
!!FU48&y2=1:P483/v201; 矮人宝屋
!!FU48&y2=2:P484/v201; 狮鹫宝屋
!!FU48&y2=3:P485/v201; 怪物宝屋
!!FU48&y2=4:P486/v201; 美杜莎宝屋
!!FU48&y2=5:P487/v201; 蛇妖宝屋
!!FU48&y2=6:P488/v201; 龙蝇宝屋
!?FU48&x1=481;
!!CBv998/v999/v1000:Gx16/d/?x2;
!!VRv201:+x2;
!?FU48&x1=482;
!!CBv998/v999/v1000:R0/?x3;
!!IF:Q1/21/94/1^{独眼宝屋}
%X2只独眼宝屋的卫兵看护着数量为%X3的各类资源。^;
!?FU48&x1=483;
!!CBv998/v999/v1000:R4/?x3 R6/?x4;
!!IF:Q1/21/16/4//6//1^{矮人宝屋}
%X2只矮人宝屋的卫兵看护着%X3水晶和%X4金币。^;
!?FU48&x1=484;
!!CBv998/v999/v1000:Md/?x3;
!!IF:Q1/21/4/21/12/1^{狮鹫宝屋}
击败%X2只狮鹫宝屋的卫兵,你将可以得到%X3只天使。^;
!?FU48&x1=485;
!!CBv998/v999/v1000:R1/?x3 R6/?x4;
!!IF:Q1/21/42/1//6//1^{怪物宝屋}
%X2只怪物宝屋的卫兵看护着%X3水银和%X4金币。^;
!?FU48&x1=486;
!!CBv998/v999/v1000:R3/?x3 R6/?x4;
!!IF:Q1/21/76/3//6//1^{美杜莎宝屋}
%X2只美杜莎宝屋的卫兵看护着%X3硫磺和%X4金币。^;
!?FU48&x1=487;
!!CBv998/v999/v1000:R3/?x3 R6/?x4;
!!IF:Q1/21/38/3//6//1^{蛇妖宝屋}
%X2只蛇妖宝屋的卫兵看护着%X3硫磺和%X4金币。^;
!?FU48&x1=488;
!!CBv998/v999/v1000:Md/?x3;
!!IF:Q1/21/105/21/108/1^{龙蝇宝屋}
击败%X2只龙蝇宝屋的卫兵,你将可以得到%X3只飞龙。^;
*********************************************************
[ 本帖最后由 沧海一粟 于 2012-5-30 02:27 编辑 ] |