|
使用2个道具实现多个随机坐标挖宝
玩家获取797031未鉴定宝图,使用后获取797031宝图并增加0、1、2积分确定图纸等级
双击797031图纸,随机增加积分,用增加的积分值标记地图坐标,玩家到地点后,使用宝图通过规律计算将积分计算回5、6、7结果
根据计算的结果,给对应等级的奖励
宝图等级 | 初始积分 | 奖励积分 | 低级宝图 | 0 | 5 | 中级宝图 | 1 | 6 | 高级宝图 | 2 | 7 | 扩展1 | 3 | 8 | 扩展2 | 4 | 9 |
最多可以扩展5个图纸等级,坐标可以无限往后加,每一个坐标点计数增加10
- #797031未鉴定宝图
- block item 797030 > 1 || item 797031 != 0
- endwindow "\n\n 持有多张地图,要使用哪一个呢?"
- block item 797030 == 1 && item 797031 == 0
- if item 797035 != 0
- window "\n\n 地图上的灰尘似乎有魔力流动,用【强效净化药剂】处理吗?",YES,NO
- window_no
- gotof case10
- window_yes item 797035 != 0 && item 797030 == 1 && item 797031 == 0
- killitem 797035,1
- killitem 797030,1
- giveitem 797031,1
- addStampCount 797031,+2
- else
- *case10*
- if item 797034 != 0
- window "\n\n 地图上的灰尘似乎有魔力流动,用【净化药剂】处理吗?",YES,NO
- window_no
- gotof case11
- window_yes item 797034 != 0 && item 797030 == 1 && item 797031 == 0
- killitem 797034,1
- killitem 797030,1
- giveitem 797031,1
- addStampCount 797031,+1
- else
- *case11*
- window "\n\n 地图上的灰尘似乎有魔力流动,难道要直接抹掉吗?",YES,NO
- window_no
- window_yes item 797030 == 1 && item 797031 == 0
- killitem 797030,1
- giveitem 797031,1
- endif
- endif
- endwindow "\n\n 抹去了灰尘,这似乎是一张藏宝图。"
复制代码- #
- #797030宝图
- #
- # 计数减少10~100,计算结果确定藏宝图获取的奖励等级
- #
- # 计数 5 = 低级
- # 计数 6 = 中级
- # 计数 7 = 高级
- block item 797030 != 0 || item 797031 > 1
- endwindow "\n\n 持有多张地图,要使用哪一个呢?"
- block stampcount 797031 == 10 || stampcount 797031 == 11 || stampcount 797031 == 12
- if floor == 100 && xpos == 173 && ypos == 173
- addstampcount 797031,-5
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「芙蕾亚173.173」"
- endif
- block stampcount 797031 == 20 || stampcount 797031 == 21 || stampcount 797031 == 22
- if floor == 100 && xpos == 357 && ypos == 108
- addstampcount 797031,-15
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「芙蕾亚357.108」"
- endif
- block stampcount 797031 == 30 || stampcount 797031 == 31 || stampcount 797031 == 32
- if floor == 100 && xpos == 625 && ypos == 176
- addstampcount 797031,-25
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「芙蕾亚625.176」"
- endif
-
- block stampcount 797031 == 40 || stampcount 797031 == 41 || stampcount 797031 == 42
- if floor == 300 && xpos == 621 && ypos == 163
- addstampcount 797031,-35
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚621.163」"
- endif
- block stampcount 797031 == 50 || stampcount 797031 == 51 || stampcount 797031 == 52
- if floor == 300 && xpos == 620 && ypos == 368
- addstampcount 797031,-45
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚620.368」"
- endif
-
- block stampcount 797031 == 60 || stampcount 797031 == 61 || stampcount 797031 == 62
- if floor == 300 && xpos == 548 && ypos == 452
- addstampcount 797031,-55
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚548.452」"
- endif
- block stampcount 797031 == 70 || stampcount 797031 == 71 || stampcount 797031 == 72
- if floor == 300 && xpos == 216 && ypos == 222
- addstampcount 797031,-65
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚216.222」"
- endif
-
- block stampcount 797031 == 80 || stampcount 797031 == 81 || stampcount 797031 == 82
- if floor == 402 && xpos == 42 && ypos == 182
- addstampcount 797031,-75
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「莎莲娜42.182」"
- endif
- block stampcount 797031 == 90 || stampcount 797031 == 91 || stampcount 797031 == 92
- if floor == 400 && xpos == 128 && ypos == 309
- addstampcount 797031,-85
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「莎莲娜128.309」"
- endif
-
- block stampcount 797031 == 100 || stampcount 797031 == 101 || stampcount 797031 == 102
- if floor == 400 && xpos == 528 && ypos == 246
- addstampcount 797031,-95
- gotof case8
- else
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「莎莲娜528.246」"
- endif
- #
- # 计数用来区分藏宝图等级
- # 计数 0 = 低级
- # 计数 1 = 中级
- # 计数 2 = 高级
- # 计数增加10~100,区分十个藏宝图随机点
- block stampcount 797031 == 0 || stampcount 797031 == 1 || stampcount 797031 == 2
- LocalCount0 = random 10,0
- if LocalCount0 == 1
- addStampCount 797031,+10
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「芙蕾亚173.173」"
- else
- if LocalCount0 == 2
- addStampCount 797031,+20
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「芙蕾亚357.108」"
- else
- if LocalCount0 == 3
- addStampCount 797031,+30
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「芙蕾亚625.176」"
- else
- if LocalCount0 == 4
- addStampCount 797031,+40
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚621.163」"
- else
- if LocalCount0 == 5
- addStampCount 797031,+50
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚620.368」"
- else
- if LocalCount0 == 6
- addStampCount 797031,+60
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚548.452」"
- else
- if LocalCount0 == 7
- addStampCount 797031,+70
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「索奇亚216.222」"
- else
- if LocalCount0 == 8
- addStampCount 797031,+80
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「莎莲娜42.182」"
- else
- if LocalCount0 == 9
- addStampCount 797031,+90
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「莎莲娜128.309」"
- else
- addStampCount 797031,+100
- endwindow "\n\n\n@c 地图上标记了宝藏坐标在\n\n 「莎莲娜528.246」"
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- #endwindow "\n\n\n@c 地图上显现出了宝藏埋藏的坐标。\n\n 再次双击藏宝图即可查看"
- block gold > 2000000
- *case8*
- ##############
- # 低级藏宝图 #
- ##############
- #------------------------------------------
- ## 50%几率 随机水晶碎片*20、净化药剂、随机4-5级宝石
- ## 50%几率 随机风龙的皮*3、妖草的血*3、誓言之证*3、时间水晶L1、净化药剂
- ## 【法面:15203】 / 【肉丝:15206】 / 水晶碎片:18310-18313 / 净化药剂:797034 / 风龙的皮:18455 / 妖草的血:18456 / 誓言之证:18451 / 时间水晶L1:200210
- # giveitem (18310%1$20,18311%1$20,18312%1$20,18313%1$20,797034%1$1,13603%1$1,13613%1$1,13623%1$1,13633%1$1,13643%1$1,13653%1$1,13663%1$1)
- # giveitem (18455%1$3,18456%1$3,18451%1$3,200210%1$1,797034%1$1,13604%1$1,13614%1$1,13624%1$1,13634%1$1,13644%1$1,13654%1$1,13664%1$1)
- #------------------------------------------
- # ☆低级藏宝图:
- # 10%几率 宝库钥匙【797033】、时间水晶L1绑【200210】、技能草1000*1绑【797023】、精炼保护剂【9700402】
- # 10%几率 净化药剂(90%)【797034】、强化净化药剂(10%)【797035】
- # 80%几率 Lv3宝石【13602-62】、宠物碎片*1【9700412】、誓言之证*1【18451】、钢骑之矿*1【18449】、魔族水晶*1【18450】
- if StampCount 797031 == 5 && item 797031 != 0
- killitem 797031
- sendmsgtoall 挖到了地底埋藏的宝藏
- LocalCount 10 = random 10,0
- if localcount 10 == 1
- giveitem(200210,797023,9700402,797033),1
- else
- if localcount 10 == 2
- giveitem(797034%9$1,797035%1$1)
- else
- if localcount 10 <= 10
- giveitem(13602,13612,13622,13632,13642,13652,13662,9700412,18449,18450,18451),1
- endif
- endif
- endif
- else
- ##############
- # 中级藏宝图 #
- ##############
- #------------------------------------------
- # 10%几率 巧克力月饼的配方、咸蛋黄月饼的配方
- # giveitem (9700528%1$1,9700529%1$1)
- # 20%几率 随机+10-10种子、随机6级宝石
- # giveitem (651000,651001,651002,651003,651004,651005,651006,651007,651008,651009,651010,651011,651012,651013,651014,651015,651016,651017,651018,651019,13605,13615,13625,13635,13645,13655,13665),1
- # 70%几率 随机 钢骑之矿*3、魔族水晶*3、时间水晶L3、净化药剂、强化净化药剂
- # giveitem (18449%1$3,18450%1$3,200211%1$1,797034%1$1,797035%1$1)
- # 净化药剂:797034 / 强化净化药剂:797035 / 重来的种子651000 ~ 651019 / 钢骑之矿:18449 / 魔族水晶:18450 / 时间水晶L3:200211
- #------------------------------------------
- # ☆中级藏宝图:
- # 10%几率 时间水晶L3绑【669001】、VIP天卡绑【220105】、一次任务完成券绑【9700510】、宝库钥匙【797033】
- # 10%几率 净化药剂(40%)【797034】、强化净化药剂(30%)【797035】、宝库钥匙(30%)【797033】
- # 80%几率 宝库钥匙【797033】、Lv5宝石【13604-64】、宠物碎片*3【9700412】、誓言之证*2【18451】、钢骑之矿*2【18449】、魔族水晶*2【18450】
- if StampCount 797031 == 6 && item 797031 != 0
- killitem 797031
- sendmsgtoall 挖到了地底埋藏的宝藏
- LocalCount 20 = random 10,0
- if localcount 20 == 1
- giveitem(669001,220105,9700510,797033),1
- else
- if localcount 20 == 2
- giveitem(797034%4$1,797035%3$1,797033%3$1)
- else
- if localcount 20 <= 10
- giveitem(13604%1$1,13614%1$1,13624%1$1,13634%1$1,13644%1$1,13654%1$1,13664%1$1,9700412%1$3,18451%1$2,18449%1$2,18450%1$2)
- endif
- endif
- endif
- else
- # else
- # if localcount 20 == 10 && item 797031 != 0
- # killitem 797031
- # leavegroup
- # play_se 207,240,320
- # systemmessage 84000324
- # warp 0,60241,22,6
- # endif
- #------------------------------------------
- ##############
- # 高级藏宝图 #
- ##############
- #------------------------------------------
- # 泡菜:15213 / 钢骑之矿:18449 / 魔族水晶:18450 / 时间水晶L3:200211
- # giveitem (15213,18449,18450,200211),1
- # ☆高级藏宝图:
- # 10%几率 时间水晶L6绑【200211】、VIP周卡绑【220106】、全部任务完成券绑【9700511】、宠物装备解锁绑【9700761~9700766】
- # 10%几率 净化药剂(20%)【797034】、强化净化药剂(40%)【797035】、宝库钥匙(40%)【797033】
- # 80%几率 Lv7宝石【13606-66】、宠物碎片*5【9700412】、誓言之证*3【18451】、钢骑之矿*3【18449】、魔族水晶*3【18450】
- if StampCount 797031 == 7
- killitem 797031
- sendmsgtoall 挖到了地底埋藏的宝藏
- LocalCount 30 = random 10,0
- if localcount 30 == 1
- giveitem(200211,220106,9700511,9700761,9700762,9700763,9700764,9700765,9700766)
- else
- if localcount 30 == 2
- giveitem(797033%4$1,797034%2$1,797035%4$1)
- else
- if localcount 30 <= 10
- giveitem(797033%1$1,13606%1$1,13616%1$1,13626%1$1,13636%1$1,13646%1$1,13656%1$1,13666%1$1,9700412%1$5,18451%1$3,18449%1$3,18450%1$3)
- endif
- endif
- endif
- endif
- endif
- endif
- #以下未使用
- block gold > 2000000
- *case9*
- if floor == 100 && xpos == 173 && ypos == 173
- addstampcount 797031,+1
- else
- if floor == 100 && xpos == 357 && ypos == 108
- addstampcount 797031,+11
- else
- if floor == 100 && xpos == 625 && ypos == 176
- addstampcount 797031,+21
- else
- if floor == 300 && xpos == 621 && ypos == 163
- addstampcount 797031,+31
- else
- if floor == 300 && xpos == 620 && ypos == 368
- addstampcount 797031,+41
- else
- if floor == 300 && xpos == 548 && ypos == 452
- addstampcount 797031,+51
- else
- if floor == 300 && xpos == 216 && ypos == 222
- addstampcount 797031,+61
- else
- if floor == 402 && xpos == 42 && ypos == 182
- addstampcount 797031,+71
- else
- if floor == 400 && xpos == 128 && ypos == 309
- addstampcount 797031,+81
- if floor == 400 && xpos == 528 && ypos == 246
- addstampcount 797031,+91
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- gotob *case8*
复制代码- # 藏宝图任务道具
- 地图? 破损不堪的地图 Event/cbt/797030_cbt.txt ITEM_useMystery 797030 27424 0 26 0 1 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0 8400031 50 1 1 0
- 地图? 藏宝图 Event/cbt/797031_cbt.txt ITEM_useMystery 797031 27426 0 48 0 1 0 0 1 1 1 1 0 0 0 0 1 0 0 8400032 100 0 0 0
- 日记? 阿索特日记 Event/cbt/797032_cbtrj.txt ITEM_useMystery 797032 27800 0 48 0 1 0 0 1 1 1 1 0 0 0 0 0 1 0 8400041 100 1 1 0
- 钥匙? 阿索特宝库钥匙 Event/cbt/797033_cbtys.txt ITEM_useMystery 797033 27876 0 48 0 1 0 0 1 1 1 1 0 0 0 0 0 1 0 8400043 100 1 1 0
- 药水? 净化药剂 Event/cbt/797034_jh.txt ITEM_useMystery 797034 26206 0 26 0 1 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0 8400049 100 0 0 0
- 药水? 强效净化药剂 Event/cbt/797035_qxjh.txt ITEM_useMystery 797035 26206 0 26 0 1 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0 8400050 100 0 0 0
复制代码
|
|