修复换装bug

This commit is contained in:
草莓 2025-02-05 17:24:37 +08:00
parent 058f7088b3
commit 4079bb9710
5 changed files with 2743 additions and 2698 deletions

View File

@ -4624,8 +4624,8 @@ IdString
; ;
FixedId_List FixedId_List
: '生命'|'生命上限'|'攻击'|'防御'|'法强'|'魔攻比例'|'护盾比例'|'黄钥匙'|'蓝钥匙'|'红钥匙'|'金币'|'经验'|'魔力'|'魔力上限'|'当前横坐标'|'当前纵坐标'|'当前朝向'|'攻击增益'|'防御增益'|'护盾增益' : '生命'|'生命上限'|'攻击'|'防御'|'法强'|'魔攻比例'|'护盾比例'|'法抗比例'|'黄钥匙'|'蓝钥匙'|'红钥匙'|'金币'|'经验'|'魔力'|'魔力上限'|'当前横坐标'|'当前纵坐标'|'当前朝向'|'攻击增益'|'防御增益'|'法强增益'|'魔攻增益'|'法抗增益'|'护盾增益'
/*FixedId_List ['status:hp','status:hpmax','status:atk','status:def','status:spell','status:matk','status:mdef','item:yellowKey','item:blueKey','item:redKey','status:money','status:exp','status:mana','status:manamax','status:x','status:y','status:direction','buff:atk','buff:def','buff:mdef']*/; /*FixedId_List ['status:hp','status:hpmax','status:atk','status:def','status:spell','status:matk','status:mhp','status:mdef','item:yellowKey','item:blueKey','item:redKey','status:money','status:exp','status:mana','status:manamax','status:x','status:y','status:direction','buff:atk','buff:def','buff:spell','buff:matk','buff:mdef','buff:mhp']*/;
Id_List Id_List
: '变量' | '状态' | '物品' | '增益' | '独立开关' | '临时变量' |'全局存储' : '变量' | '状态' | '物品' | '增益' | '独立开关' | '临时变量' |'全局存储'
@ -4640,8 +4640,8 @@ EnemyPoint_List
/*EnemyPoint_List ['hp','atk','def','money','exp','point','name']*/; /*EnemyPoint_List ['hp','atk','def','money','exp','point','name']*/;
Equip_List Equip_List
: '生命'|'生命上限'|'攻击'|'防御'|'法强'|'魔攻比例'|'护盾比例'|'魔力'|'魔力上限'|'速度' : '生命'|'生命上限'|'攻击'|'防御'|'法强'|'魔攻比例'|'护盾比例'|'法抗百分比'|'魔力'|'魔力上限'|'速度'
/*Equip_List ['hp','hpmax','atk','def','spell','matk','mdef','mana','manamax','speed']*/; /*Equip_List ['hp','hpmax','atk','def','spell','matk','mhp','mdef','mana','manamax','speed']*/;
Key_List Key_List
: '黄钥匙'|'蓝钥匙'|'红钥匙'|'绿钥匙'|'铁门钥匙' : '黄钥匙'|'蓝钥匙'|'红钥匙'|'绿钥匙'|'铁门钥匙'

View File

@ -48,8 +48,8 @@ main.floors.yiqu1=
[140142, 0,120015,120028,201037, 0,201029, 0, 0, 0, 0, 0,110197], [140142, 0,120015,120028,201037, 0,201029, 0, 0, 0, 0, 0,110197],
[140150, 0, 0,120019, 0, 0,201029, 0,110189,140,110191, 0,110205], [140150, 0, 0,120019, 0, 0,201029, 0,110189,140,110191, 0,110205],
[ 92, 0, 0,120019,201037,201037,201037, 0,110197,140,110199, 81,110224], [ 92, 0, 0,120019,201037,201037,201037, 0,110197,140,110199, 81,110224],
[ 0, 0, 0,120027, 0, 0, 0, 0,110197,140,110199, 0,110232], [ 0, 0, 0,120027, 37, 37, 0, 0,110197,140,110199, 0,110232],
[110191, 0, 0, 0, 0, 0,110189,140,140,140,110199, 0, 94], [110191, 0, 0, 0, 36, 35,110189,140,140,140,110199, 0, 94],
[110199,140,140,110191, 0, 0,110197,140,140,110204,110207, 0, 0], [110199,140,140,110191, 0, 0,110197,140,140,110204,110207, 0, 0],
[140,140,140,110199,90684,90684,110197,140,140,110199,110234, 0, 0], [140,140,140,110199,90684,90684,110197,140,140,110199,110234, 0, 0],
[140,140,140,110199,100307,100308,110197,140,140,110199, 0, 0, 0] [140,140,140,110199,100307,100308,110197,140,140,110199, 0, 0, 0]

View File

@ -1450,31 +1450,30 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
if (play) core.doAction(); if (play) core.doAction();
}, },
"getStatusLabel": function (name) { "getStatusLabel": function (name) {
// 返回某个状态英文名的对应中文标签如atk -> 攻击def -> 防御等。 // 返回某个状态英文名的对应中文标签如atk -> 攻击def -> 防御等。
// 请注意此项仅影响 libs/ 下的内容(如绘制怪物手册、数据统计等) // 请注意此项仅影响 libs/ 下的内容(如绘制怪物手册、数据统计等)
// 自行定义的(比如获得道具效果)中用到的“攻击+3”等需要自己去对应地方修改 // 自行定义的(比如获得道具效果)中用到的“攻击+3”等需要自己去对应地方修改
return ( return ({
{ name: "名称",
name: "名称", lv: "等级",
lv: "等级", hpmax: "生命上限",
hpmax: "生命上限", hp: "生命",
hp: "生命", manamax: "魔力上限",
manamax: "魔力上限", mana: "魔力",
mana: "魔力", atk: "攻击",
atk: "攻击", def: "防御",
def: "防御", spell: "法强",
spell: "法强", matk: "魔攻比例",
matk: "魔攻比例", mhp: "护盾比例",
mdef: "护盾比例", mdef: "法抗比例",
speed: "速度", speed: "速度",
money: "金币", money: "金币",
exp: "经验", exp: "经验",
point: "加点", point: "加点",
steps: "步数", steps: "步数",
}[name] || name } [name] || name);
); },
},
"triggerDebuff": function (action, type) { "triggerDebuff": function (action, type) {
// 毒衰咒效果的获得与解除 // 毒衰咒效果的获得与解除
// action获得还是解除'get'表示获得,'remove'表示解除 // action获得还是解除'get'表示获得,'remove'表示解除
@ -1533,13 +1532,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
} }
}, },
"updateStatusBar": function () { "updateStatusBar": function () {
// 更新状态栏 // 更新状态栏
core.ui.statusBar.update(); core.ui.statusBar.update();
// 更新阻激夹域的伤害值 // 更新阻激夹域的伤害值
core.updateCheckBlock(); core.updateCheckBlock();
// 更新全地图显伤 // 更新全地图显伤
core.updateDamage(); core.updateDamage();
}, },
"updateCheckBlock": function (floorId) { "updateCheckBlock": function (floorId) {
// 领域、夹击、阻击等的伤害值计算 // 领域、夹击、阻击等的伤害值计算
floorId = floorId || core.status.floorId; floorId = floorId || core.status.floorId;

View File

@ -151,7 +151,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": 0, "type": 0,
"animate": "sword", "animate": "sword",
"value": { "value": {
"atk": 10 "mdef": 10
}, },
"percentage": {} "percentage": {}
}, },
@ -167,7 +167,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": "武器", "type": "武器",
"animate": "sword", "animate": "sword",
"value": { "value": {
"atk": 20 "mdef": 20
}, },
"percentage": {} "percentage": {}
}, },
@ -248,7 +248,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"equip": { "equip": {
"type": 1, "type": 1,
"value": { "value": {
"def": 10 "mdef": 10
}, },
"percentage": {} "percentage": {}
}, },

File diff suppressed because it is too large Load Diff