diff --git a/_server/config.json b/_server/config.json deleted file mode 100644 index 7d97167..0000000 --- a/_server/config.json +++ /dev/null @@ -1 +0,0 @@ -{"viewportLoc":[0,0],"lastUsed":[{"idnum":1,"id":"yellowWall","images":"animates","y":10,"recent":1673440212744,"frequent":2},{"idnum":211,"id":"skeletonCaptain","images":"enemys","y":10,"recent":1673440202872,"frequent":1}],"editor_multi.fontSize":14,"editorLastFloorId":"NH5"} \ No newline at end of file diff --git a/project/enemys.js b/project/enemys.js index fa41ff5..b6af2a5 100644 --- a/project/enemys.js +++ b/project/enemys.js @@ -301,9 +301,9 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E778": {"name":"魔法兽人","hp":150000,"atk":58000,"def":37500,"money":200,"exp":0,"point":0,"special":[36],"level":"圣武初阶","notBomb":true,"displayIdInBook":null,"X":15}, "E779": {"name":"穿甲兽人","hp":130000,"atk":63500,"def":40500,"money":200,"exp":0,"point":0,"special":[36,37],"level":"圣武中阶","notBomb":true,"displayIdInBook":null,"X":10,"Y":10}, "E780": {"name":"硬头龟","hp":228000,"atk":72500,"def":18500,"money":240,"exp":0,"point":0,"special":[36],"level":"圣武初阶","notBomb":true,"displayIdInBook":null,"X":10}, - "E781": {"name":"卓棒龟","hp":260000,"atk":62500,"def":32500,"money":260,"exp":0,"point":0,"special":[30,36],"level":"圣武中阶","notBomb":true,"displayIdInBook":null,"X":25,"Y":0,"value30_1":1000,"value30_2":10}, + "E781": {"name":"卓棒龟","hp":260000,"atk":62500,"def":32500,"money":260,"exp":0,"point":0,"special":[30,36],"level":"圣武中阶","notBomb":true,"displayIdInBook":null,"X":25,"Y":0,"value30_1":1000,"value30_2":25}, "E782": {"name":"玄灵龟","hp":320000,"atk":65000,"def":44500,"money":300,"exp":0,"point":0,"special":[36],"level":"圣武高阶","notBomb":true,"displayIdInBook":null,"X":35,"Y":15}, - "E783": {"name":"绿飞虫","hp":240000,"atk":82000,"def":32500,"money":300,"exp":0,"point":0,"special":[30],"level":"圣武高阶","notBomb":true,"displayIdInBook":null,"X":30,"Y":15,"value30_2":20,"value30_1":1500}, + "E783": {"name":"绿飞虫","hp":240000,"atk":82000,"def":32500,"money":300,"exp":0,"point":0,"special":[30],"level":"圣武高阶","notBomb":true,"displayIdInBook":null,"X":30,"Y":15,"value30_2":30,"value30_1":1500}, "E784": {"name":"大爬虫","hp":270000,"atk":80000,"def":35500,"money":320,"exp":0,"point":0,"special":[],"level":"圣武高阶","notBomb":true,"displayIdInBook":null,"X":35,"Y":15,"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>36)","true":[{"type":"animate","name":"sword"},{"type":"setBlock","number":"N472"},"\t[${flag:shengqishi_name},N472]\b[this]此等骑士,不堪一击!",{"type":"setValue","name":"status:money","operator":"+=","value":"322"},"${flag:shengqishi_name}击杀魔王,获得322枚金币。",{"type":"insert","name":"回收钥匙商店"},{"type":"hide","remove":true}],"false":[]}]}, "E785": {"name":"猪猪虫","hp":260000,"atk":84000,"def":46500,"money":340,"exp":0,"point":0,"special":[],"level":"圣武高阶","notBomb":true,"displayIdInBook":null,"X":35,"Y":15}, "E786": {"name":"大胖虫","hp":470000,"atk":8000,"def":55500,"money":280,"exp":0,"point":0,"special":[2,32],"level":"圣武高阶","notBomb":true,"displayIdInBook":null,"X":35,"Y":15,"Z":50}, @@ -608,8 +608,8 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E1121": {"name":"蜜西娅","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"E1119","left":"E1120","right":"E1121","up":"E1122"},"displayIdInBook":null}, "E1122": {"name":"蜜西娅","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"E1119","left":"E1120","right":"E1121","up":"E1122"},"displayIdInBook":null}, "E1125": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E1126": {"name":"绿影骷髅","hp":2580000,"atk":840000,"def":365000,"money":100,"exp":0,"point":0,"special":[39],"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=68)","true":[{"type":"animate","name":"yijianzhanqianye"},"\t[${flag:shengqishi_name},N510]\b[this]让我来!","金币+120,攻击+2000",{"type":"setValue","name":"status:money","operator":"+=","value":"120"},{"type":"setValue","name":"status:atk","operator":"+=","value":"2000"}],"false":[]}],"Atkvalue":2000,"level":"七阶无上"}, - "E1127": {"name":"蓝影骷髅","hp":4250000,"atk":920000,"def":420000,"money":100,"exp":0,"point":0,"special":[39],"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=68)","true":[{"type":"animate","name":"yijianzhanqianye"},"\t[${flag:shengqishi_name},N510]\b[this]让我来!","金币+120,防御力+4000",{"type":"setValue","name":"status:money","operator":"+=","value":"120"},{"type":"setValue","name":"status:def","operator":"+=","value":"4000"}],"false":[]}],"Defvalue":4000,"level":"七阶无上"}, + "E1126": {"name":"绿影骷髅","hp":2580000,"atk":840000,"def":365000,"money":100,"exp":0,"point":0,"special":[39],"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=68)","true":[{"type":"animate","name":"yijianzhanqianye"},"\t[${flag:shengqishi_name},N510]\b[this]让我来!","金币+120,攻击+2000",{"type":"setValue","name":"status:money","operator":"+=","value":"120"},{"type":"setValue","name":"status:atk","operator":"+=","value":"2000"},{"type":"insert","name":"回收钥匙商店"},{"type":"hide","remove":true}],"false":[]}],"Atkvalue":2000,"level":"七阶无上"}, + "E1127": {"name":"蓝影骷髅","hp":4250000,"atk":920000,"def":420000,"money":100,"exp":0,"point":0,"special":[39],"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=68)","true":[{"type":"animate","name":"yijianzhanqianye"},"\t[${flag:shengqishi_name},N510]\b[this]让我来!","金币+120,防御力+4000",{"type":"setValue","name":"status:money","operator":"+=","value":"120"},{"type":"setValue","name":"status:def","operator":"+=","value":"4000"},{"type":"insert","name":"回收钥匙商店"},{"type":"hide","remove":true}],"false":[]}],"Defvalue":4000,"level":"七阶无上"}, "E1128": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1129": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1130": {"name":"黑暗兽君","hp":5800000,"atk":860000,"def":450000,"money":125,"exp":0,"point":0,"special":[30,36,39],"level":"八阶无上","X":25,"Atkvalue":4000,"Defvalue":4000,"Mdefvalue":12000,"value30_1":1000,"value30_2":50}, diff --git a/project/events.js b/project/events.js index e296e39..de65ec9 100644 --- a/project/events.js +++ b/project/events.js @@ -48,7 +48,7 @@ var events_c12a15a8_c380_4b28_8144_256cba95f760 = "回收钥匙商店": [ { "type": "function", - "function": "function(){\nif (core.hasEquip('I409')) { core.status.hero.mana += 1 }\nif (core.hasEquip('I410')) { core.status.hero.mana += 3 }\nif (core.hasEquip('I411')) { core.status.hero.mana += 5 }\nif (core.hasEquip('I412')) { core.status.hero.mana += 7 }\nif (core.hasEquip('I413')) { core.status.hero.mana += 9 }\nif (core.hasEquip('I595')) { core.status.hero.mana += 20 }\nif (core.hasEquip('I1115')) { core.status.hero.mana += 10 }\nif (core.hasEquip('I1116')) { core.status.hero.mana += 10 }\nif (core.hasItem('I722')) { core.status.hero.mana += Math.min(50, Math.sqrt((core.getEnemyInfo('', null, x, y).hp || 0) / 500)) }\nif (core.hasEquip('I723')) { core.status.hero.hp += core.status.hero.hpmax / 200 }\nif (core.hasItem('coin')) core.status.hero.money += 12;\nflags.lhjnb = (flags.lhjnb || 0) + (core.getEnemyInfo('', null, x, y).money || 0)\n}" + "function": "function(){\nif (core.hasEquip('I409')) { core.status.hero.mana += 1 }\nif (core.hasEquip('I410')) { core.status.hero.mana += 3 }\nif (core.hasEquip('I411')) { core.status.hero.mana += 5 }\nif (core.hasEquip('I412')) { core.status.hero.mana += 7 }\nif (core.hasEquip('I413')) { core.status.hero.mana += 9 }\nif (core.hasEquip('I595')) { core.status.hero.mana += 100 }\nif (core.hasEquip('I1115')) { core.status.hero.mana += 10 }\nif (core.hasEquip('I1116')) { core.status.hero.mana += 10 }\nif (core.hasItem('I722')) { core.status.hero.mana += Math.min(50, Math.sqrt((core.getEnemyInfo('', null, x, y).hp || 0) / 500)) }\nif (core.hasEquip('I723')) { core.status.hero.hp += core.status.hero.hpmax / 200 }\nif (core.hasItem('coin')) core.status.hero.money += 12;\nflags.lhjnb = (flags.lhjnb || 0) + (core.getEnemyInfo('', null, x, y).money || 0)\n}" } ] } diff --git a/project/floors/MJ2.js b/project/floors/MJ2.js index f73e46f..6dbca49 100644 --- a/project/floors/MJ2.js +++ b/project/floors/MJ2.js @@ -27,7 +27,36 @@ main.floors.MJ2= "stair": "downFloor" } }, - "beforeBattle": {}, + "beforeBattle": { + "4,10": [ + { + "type": "if", + "condition": "(flag:shengqishi>=68)", + "true": [ + { + "type": "setValue", + "name": "flag:door_MJ2_5_11", + "operator": "+=", + "value": "1" + } + ] + } + ], + "6,10": [ + { + "type": "if", + "condition": "(flag:shengqishi>=68)", + "true": [ + { + "type": "setValue", + "name": "flag:door_MJ2_5_11", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "afterBattle": { "4,10": [ { diff --git a/project/items.js b/project/items.js index 0bc5c7d..f89b16c 100644 --- a/project/items.js +++ b/project/items.js @@ -2087,13 +2087,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "constants", "name": "高阶光明宝典", "canUseItemEffect": "true", - "text": "使用后,消耗当前100%魔力值,恢复自身当前五倍魔力值的生命值", + "text": "使用后,消耗当前100%魔力值,恢复自身当前10倍魔力值的生命值", "useItemEvent": [ { "type": "setValue", "name": "status:hp", "operator": "+=", - "value": "(status:mana*5)" + "value": "(status:mana*10)" }, { "type": "setValue", @@ -2107,13 +2107,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "constants", "name": "超阶光明宝典", "canUseItemEffect": "true", - "text": "使用后,消耗当前100%魔力值,恢复自身当前10倍魔力值的生命值", + "text": "使用后,消耗当前100%魔力值,恢复自身当前20倍魔力值的生命值", "useItemEvent": [ { "type": "setValue", "name": "status:hp", "operator": "+=", - "value": "(status:mana*10)" + "value": "(status:mana*20)" }, { "type": "setValue",