多段ヒットのダメージをすべて反映させるには

同時発射の弾や複数キャラからの攻撃が同時ヒットした時に

ダメージが一発分しかカウントされないのですが

これをヒットした分全てカウントさせる方法はありますか?

当たった弾毎に処理することも考えましたが属性の倍率が使えないのもあり難しい状態です。

(複数キャラからの攻撃としてみるなら全攻撃に処理がいるのも大変なので)

1 Like

You would need to drop the invincibility duration of the player character down to 0.0 in the BaseSettings node to process all hits incoming. Otherwise invincibility will trigger after the first hit and no other hits will be counted until time timeout.

ご返信ありがとうございます。

敵の無敵時間を0にすると今度は単独による普通の攻撃が

多段ヒットしてしまうので難航している状態です。

後は敵の無敵時間を0にしても散弾のような同時着弾だと

やはり一発しかカウントされないんですよね、、

1 Like

Do you have a project sample you could post on this forum or send to pgmmv-support@gotchagotcha.jp so we can investigate?

ご返信ありがとうございます。

アップ致しましたのでご確認頂けると幸いです。

前方にいる的のような敵が無敵時間を0に設定しています。

近くに表示されている数字の内、上が一発のダメージ、下が体力です。

プレイヤーはXキーで一度に5発の弾を同時に発射します。

Cキーでリロードです。

現時点では5発動時に当たった時、一発が12ダメージにも関わらず全弾当てても12ダメージしか入りません。

Thank you for the files, it was very helpful!

It seems that unselecting Enable Invincibility will allow multiple AttackAreas to register at once:

image

多段ヒット反映されました。ありがとうございます。

Excuse me for jumping in.
I’m also having trouble with handling consecutive hits — where can I find the “Enable Invincibility” option?

You can find ‘Enable Invincibility’ on the BasicSettings node of a game object.

Thank you