mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-28 21:14:30 +08:00
Deploying to gh-pages from @ 98123bede8 🚀
This commit is contained in:
1 parent
ac208c8a5f
commit
47ef0b0f84
42 files changed
+1387
-429
No files matched your search
+4
-2
@@ -1495,7 +1495,8 @@ actions.prototype._clickViewMaps = function (x, y, px, py) {
|
||||
while (
|
||||
index < core.floorIds.length &&
|
||||
index != now &&
|
||||
core.status.maps[core.floorIds[index]].cannotViewMap
|
||||
(core.status.maps[core.floorIds[index]].cannotViewMap ||
|
||||
core.status.maps[core.floorIds[index]].deleted)
|
||||
)
|
||||
index++;
|
||||
if (index < core.floorIds.length) core.ui._drawViewMaps(index);
|
||||
@@ -1510,7 +1511,8 @@ actions.prototype._clickViewMaps = function (x, y, px, py) {
|
||||
while (
|
||||
index >= 0 &&
|
||||
index != now &&
|
||||
core.status.maps[core.floorIds[index]].cannotViewMap
|
||||
(core.status.maps[core.floorIds[index]].cannotViewMap ||
|
||||
core.status.maps[core.floorIds[index]].deleted)
|
||||
)
|
||||
index--;
|
||||
if (index >= 0) core.ui._drawViewMaps(index);
|
||||
|
||||
+3
-3
@@ -1659,17 +1659,17 @@ control.prototype._updateDamage_extraDamage = function (floorId, onMap) {
|
||||
text: damage,
|
||||
px: 32 * x + 16,
|
||||
py: 32 * (y + 1) - 14,
|
||||
color: '#ffaa33',
|
||||
color: '#fa3',
|
||||
alpha: alpha
|
||||
});
|
||||
} else {
|
||||
// 检查捕捉
|
||||
// 电摇嘲讽
|
||||
if (core.status.checkBlock.mockery[x + ',' + y]) {
|
||||
core.status.damage.extraData.push({
|
||||
text: '嘲',
|
||||
px: 32 * x + 16,
|
||||
py: 32 * (y + 1) - 14,
|
||||
color: '#ffaa33',
|
||||
color: '#fd4',
|
||||
alpha: alpha
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user