Fix Bg/Fg map in floors

This commit is contained in:
oc 2018-09-19 20:40:40 +08:00
parent f11ceb0377
commit 8e234d396c
4 changed files with 6 additions and 2 deletions

View File

@ -118,7 +118,7 @@ comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"special": {
"_leaf": true,
"_type": "textarea",
"_range": "thiseval==null || thiseval instanceof Array || (thiseval==~~thiseval && thiseval>0)",
"_range": "thiseval==null || thiseval instanceof Array || (thiseval==~~thiseval && thiseval>=0)",
"_data": "特殊属性\n\n0:无,1:先攻,2:魔攻,3:坚固,4:2连击,\n5:3连击,6:n连击,7:破甲,8:反击,9:净化,\n10:模仿,11:吸血,12:中毒,13:衰弱,14:诅咒,\n15:领域,16:夹击,17:仇恨,18:阻击,19:自爆,\n20:无敌,21:退化,22:固伤,23:重生,24:激光\n\n多个属性例如用[1,4,11]表示先攻2连击吸血\n模仿怪的攻防设为0就好"
},
"value": {

View File

@ -47,7 +47,7 @@ data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"_leaf": true,
"_type": "textarea",
"_range": "thiseval instanceof Array && thiseval.length>=1 && thiseval[0] instanceof Array && thiseval[0].length==2",
"_data": "难度选择:每个数组的第一个是其在标题界面显示的难度,第二个是在游戏内部传输的字符串,会显示在状态栏,修改此处后需要在project/functions中作相应更改"
"_data": "难度选择:每个数组的第一个是其在标题界面显示的难度,第二个是在游戏内部传输的字符串,会显示在状态栏,修改此处后需要在project/functions中作相应更改。\n如果需直接开始游戏将下面的startDirectly开关打开即可。"
},
"equipName": {
"_leaf": true,

View File

@ -1526,6 +1526,8 @@ control.prototype.updateDamage = function () {
damage = core.formatBigNumber(damage);
if (core.enemys.hasSpecial(core.material.enemys[id], 19))
damage += "+";
if (core.enemys.hasSpecial(core.material.enemys[id], 21))
damage += "-";
}
core.setFillStyle('damage', '#000000');

View File

@ -1388,6 +1388,8 @@ ui.prototype.drawBook = function (index) {
damage = core.formatBigNumber(damage);
if (core.enemys.hasSpecial(core.material.enemys[enemy.id], 19))
damage += "+";
if (core.enemys.hasSpecial(core.material.enemys[enemy.id], 21))
damage += "-";
}
if (core.material.enemys[enemy.id].notBomb)
damage += "[b]";