fix: fix special values for poison tail. Fix poison values in MT20. Fix some scaling bugs

This commit is contained in:
bdf1 2023-03-16 21:29:46 +13:00
parent ce30b15d74
commit 82c3d54141
7 changed files with 15 additions and 6 deletions

View File

@ -1 +0,0 @@
{"viewportLoc":[0,0],"editorLastFloorId":"MT9","lastUsed":[{"idnum":554,"id":"N554","images":"npcs","y":42,"recent":1668243635497,"frequent":2},{"idnum":551,"id":"N551","images":"npcs","y":41,"recent":1668243645267,"frequent":2},{"idnum":46,"id":"fly","images":"items","y":12,"recent":1668239925419,"frequent":1},{"idnum":45,"id":"book","images":"items","y":9,"recent":1668238365160,"frequent":1}]}

View File

@ -1132,7 +1132,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"choices": [ "choices": [
{ {
"text": "魔防+${flag:mdefShop}", "text": "魔防+${flag:mdefShop}",
"need": "ture", "need": "true",
"action": [ "action": [
{ {
"type": "if", "type": "if",

View File

@ -67,7 +67,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"M300": {"name":"墙妖","hp":50,"atk":420,"def":300,"money":100,"exp":10,"point":0,"special":3}, "M300": {"name":"墙妖","hp":50,"atk":420,"def":300,"money":100,"exp":10,"point":0,"special":3},
"M301": {"name":"汪洋","hp":10000,"atk":300,"def":0,"money":1000,"exp":100,"point":0,"special":0,"beforeBattle":[{"type":"animate","name":"hainazhijian","loc":[6,5]}],"afterBattle":[{"type":"setValue","name":"flag:255","value":"1"},{"type":"setValue","name":"flag:bofang","value":"0"},{"type":"trigger","loc":[0,1]}]}, "M301": {"name":"汪洋","hp":10000,"atk":300,"def":0,"money":1000,"exp":100,"point":0,"special":0,"beforeBattle":[{"type":"animate","name":"hainazhijian","loc":[6,5]}],"afterBattle":[{"type":"setValue","name":"flag:255","value":"1"},{"type":"setValue","name":"flag:bofang","value":"0"},{"type":"trigger","loc":[0,1]}]},
"M302": {"name":"毒尾","hp":1000,"atk":140,"def":30,"money":100,"exp":20,"point":0,"special":[11,12],"value":0.34,"add":false}, "M302": {"name":"毒尾","hp":1000,"atk":140,"def":30,"money":100,"exp":20,"point":0,"special":[11,12],"value":0.34,"add":false},
"M303": {"name":"血尾雕像","hp":5000,"atk":100,"def":0,"money":200,"exp":10,"point":0,"special":[15,11],"value":100.34,"add":false}, "M303": {"name":"血尾雕像","hp":5000,"atk":100,"def":0,"money":200,"exp":10,"point":0,"special":[15,11],"value":null,"add":false,"zone":100,"vampire":0.34},
"E340": {"name":"戾鬼","hp":49999,"atk":18973,"def":1800,"money":5000,"exp":500,"point":0,"special":0}, "E340": {"name":"戾鬼","hp":49999,"atk":18973,"def":1800,"money":5000,"exp":500,"point":0,"special":0},
"E341": {"name":"媚儿","hp":25000,"atk":250,"def":180,"money":2500,"exp":250,"point":0,"special":0}, "E341": {"name":"媚儿","hp":25000,"atk":250,"def":180,"money":2500,"exp":250,"point":0,"special":0},
"E342": {"name":"圣狱","hp":30000,"atk":250,"def":180,"money":3000,"exp":300,"point":0,"special":0}, "E342": {"name":"圣狱","hp":30000,"atk":250,"def":180,"money":3000,"exp":300,"point":0,"special":0},

View File

@ -690,6 +690,11 @@ main.floors.MT20=
] ]
} }
] ]
},
{
"type": "setGlobalValue",
"name": "poisonDamage",
"value": 15
} }
] ]
}, },
@ -1078,6 +1083,11 @@ main.floors.MT20=
"function": "function(){\ncore.Confirmskip_Off();\n}" "function": "function(){\ncore.Confirmskip_Off();\n}"
} }
] ]
},
{
"type": "setGlobalValue",
"name": "poisonDamage",
"value": 75
} }
] ]
}, },

View File

@ -50,7 +50,7 @@ main.floors.huxiao1=
{ {
"type": "setValue", "type": "setValue",
"name": "flag:Memories_grayscale", "name": "flag:Memories_grayscale",
"value": "ture" "value": "true"
}, },
{ {
"type": "comment", "type": "comment",

View File

@ -73,7 +73,7 @@ main.floors.nandu=
}, },
{ {
"type": "sleep", "type": "sleep",
"time": 500, "time": 550,
"noSkip": true "noSkip": true
}, },
{ {

View File

@ -1750,7 +1750,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
setTimeout(function () { core.ui.drawStatusBar(); }, 100); setTimeout(function () { core.ui.drawStatusBar(); }, 100);
} }
if (core.status.floorId == "nandu") { if (core.status.floorId == "nandu") {
core.dom.statusCanvas.width *= 1; core.ui.clearMap(ctx = core.dom.statusCanvasCtx);
core.dom.statusCanvas.style.zIndex=80; core.dom.statusCanvas.style.zIndex=80;
} }
else core.dom.statusCanvas.style.zIndex=50; else core.dom.statusCanvas.style.zIndex=50;