# BUG：被命中的受到伤害与触发条件不同步 命中されたものの損傷と発動条件が同期していない The damage taken by the hit is out of sync with the trigger condition

**URL:** <https://guild.rpgmakerofficial.com/t/topic/616>\
**Category:** バグ報告\
**Tags:** 日本語, english, 中文\
**Created:** [2025 年 7 月 24 日午後 7:12 UTC](https://guild.rpgmakerofficial.com/t/topic/616 "2025-07-24T19:12:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnG](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/ang/32/904_2.png) [@AnG](https://guild.rpgmakerofficial.com/u/AnG)\
**Post date:** [2025 年 7 月 24 日午後 7:12 UTC](https://guild.rpgmakerofficial.com/t/topic/616/1 "2025-07-24T19:12:19Z")

</div>

## 説明： WSADで主人公を移動させ、敵は自動的にゆっくりと主人公に近づく。プレイヤーは常に攻撃用の衝突ボックスを持ち、敵は常に被弾用の衝突ボックスを持っている。敵がダメージを受けると、1秒間無敵になり、右に短く移動する。

## バグ：プレイヤーが動かずに敵がゆっくりと接触すると、敵は右に短く移動するトリガーが発動するが、無敵にはならず、HPも変わらない。

## ゲームにおける再現：もしプレイヤーが遅い弾を発射して敵に向けると、命中した後弾は消えるが、弾が消えたのに敵がダメージを受けないという状況が簡単に発生する。

* * *

## Description: WSAD controls the protagonist’s movement, and the enemy will automatically approach the protagonist slowly; The player always has an attack hitbox on them, and the enemy always has a hit hit box. Enemies are invincible for 1 second and briefly move to the right.

## BUG: If the player remains still and allows the enemy to touch the player slowly, the enemy will trigger a brief movement to the right, But it won’t be invincible, and HP won’t change.

## Embodiment in the use of the game: If the player fires a slow bullet at the enemy, the bullet will disappear after hitting, Then it is easy to have a situation where the bullet disappears, but the enemy is not injured.

* * *

[最小再現：被弾時のダメージとトリガー条件の同期不一致.zip](https://guild.rpgmakerofficial.com/uploads/short-url/9c1eZGIjXf2pVZxA3DT9jNG0TFn.zip) (137.6 KB)
