I am reporting this issue again because I was misunderstood in build 6132. As a result, the changes did not fix the original problem and instead made the plugin's existing mechanics worse.
1. Shield breaking issue
You changed the shield-breaking mechanic, but this is not what I asked for. The original problem was completely different. After the changes, when a projectile hits a player who is blocking with a shield, it only deals damage and does not break the shield. I do not have any setting that should disable shield breaking.
2. damage function issue
I asked you to fix the damage function specifically.
The problem is the following:
- A projectile is flying toward Player A.
- The boss is targeting Player A.
- When the projectile hits Player A, the
damagefunction works correctly and deals damage. - If Player B gets in the path of the projectile and the projectile hits Player B, Player B does not receive any damage.
The damage should be dealt to any player who is actually hit by the projectile, regardless of which player the boss is currently targeting.
In other words, the problem is with the damage function: it uses the boss's current target instead of the player who was actually hit by the projectile.