To reflect all damage from multi-hit attacks

When multiple projectiles fired simultaneously or attacks from multiple characters hit at the same time,
only one instance of damage is counted.

Is there a way to make the system count damage for every single hit?

I considered processing each individual projectile upon impact, but since I can’t use attribute multipliers in that case, it’s proving difficult.
(Also, if I treat it as attacks from multiple characters, it would require processing for every single attack, which is quite cumbersome.)

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.

Thank you for your reply.

When I set the enemy’s invincibility time to 0, the regular attacks performed individually now result in multiple hits, which is causing difficulties.

After that, even if the enemy’s invincibility time is set to 0, if multiple shots hit at the same time like a shotgun,
it still only counts as one hit, right…

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?

Thank you for your reply.

I have uploaded it, so I would appreciate it if you could check it.

https://xgf.nu/fiicP

The enemy ahead is set to have 0 invincibility time.

Among the numbers displayed nearby, the top number represents the damage of a single shot, and the bottom number represents the health.

The player fires 5 bullets simultaneously using the X key.

The C key is for reloading.

Currently, even when all 5 bullets hit, only 12 damage is dealt, despite each bullet dealing 12 damage.

Thank you for the files, it was very helpful!

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

image

Multi-hit has been reflected. Thank you.

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