mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
修复伤害弹出显示
This commit is contained in:
parent
dede46666f
commit
5f8762d158
@ -4557,7 +4557,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
|||||||
var damage = core.status.checkBlock.damage[loc];
|
var damage = core.status.checkBlock.damage[loc];
|
||||||
if (damage) {
|
if (damage) {
|
||||||
if (!main.replayChecking)
|
if (!main.replayChecking)
|
||||||
core.addPop(x * 32 + 12, y * 32 + 20, damage);
|
core.addPop(
|
||||||
|
(x - core.bigmap.offsetX / 32) * 32 + 12,
|
||||||
|
(y - core.bigmap.offsetY / 32) * 32 + 20,
|
||||||
|
damage
|
||||||
|
);
|
||||||
core.status.hero.hp -= damage;
|
core.status.hero.hp -= damage;
|
||||||
var text =
|
var text =
|
||||||
Object.keys(core.status.checkBlock.type[loc] || {}).join(
|
Object.keys(core.status.checkBlock.type[loc] || {}).join(
|
||||||
|
Loading…
Reference in New Issue
Block a user