Fix Equipment Bug

This commit is contained in:
oc 2018-04-19 00:30:40 +08:00
parent 99b1f9b671
commit fd22c0aba2
3 changed files with 8 additions and 8 deletions

View File

@ -73,7 +73,7 @@ HTML5 canvas制作的魔塔样板支持全平台游戏
* [x] 地图临界显伤
* [x] 单个存档清理
* [x] 大数据魔塔的支持
* [x] 进一步对JS文件和图标进行压缩
* [x] 进一步对JS文件和图标进行压缩,大幅提高加载速度
* [x] 修复有时候无法输入ID的问题
* [x] 其他细节优化

View File

@ -360,9 +360,9 @@ functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.status.hero.atk += core.values[itemId];
}
else {
core.status.hero.atk -= core.values[itemId].atk || 0;
core.status.hero.def -= core.values[itemId].def || 0;
core.status.hero.mdef -= core.values[itemId].mdef || 0;
core.status.hero.atk += core.values[itemId].atk || 0;
core.status.hero.def += core.values[itemId].def || 0;
core.status.hero.mdef += core.values[itemId].mdef || 0;
}
core.setItem(now, 1);
@ -386,9 +386,9 @@ functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.status.hero.def += core.values[itemId];
}
else {
core.status.hero.atk -= core.values[itemId].atk || 0;
core.status.hero.def -= core.values[itemId].def || 0;
core.status.hero.mdef -= core.values[itemId].mdef || 0;
core.status.hero.atk += core.values[itemId].atk || 0;
core.status.hero.def += core.values[itemId].def || 0;
core.status.hero.mdef += core.values[itemId].mdef || 0;
}
core.setItem(now, 1);

View File

@ -8,7 +8,7 @@ APP端也能下载或读取文件 √
地图临界显伤 √
单个存档清理 √
大数据魔塔的支持(临界计算等) √
进一步对JS文件和图标进行压缩 √
进一步对JS文件和图标进行压缩,大幅提高加载速度
修复有时候无法输入ID的问题 √
其他细节优化 √