Skript: Removing health from a mob doesn't show damage

Created on 11 Jan 2020  路  3Comments  路  Source: SkriptLang/Skript

Description


When you use "remove x from entity's health", you can't see the entity taking damage.

Steps to Reproduce

  1. Load this script:
on rightclick:
    remove 2 from clicked entity's health
  1. Click on a mob; you'll see nothing. If you repeat clicking, the mob will die.

Expected Behavior


In 2.4.1, you saw the mob was taking damage. So there's a little bug. :)

Errors / Screenshots


N/A

Server Information

  • Server version/platform: Paper 1.15.1 build 43
  • Skript version: 2.5; it does work on 2.4.1

Additional Context


N/A

won't fix

Most helpful comment

I don't see how this is a bug... you're not damaging the entity, you're just modifying the health. It's often really useful to be able to modify the health like that without the entity visibly taking damage.

If you want to damage it, why not just use the damage effect?

All 3 comments

I don't see how this is a bug... you're not damaging the entity, you're just modifying the health. It's often really useful to be able to modify the health like that without the entity visibly taking damage.

If you want to damage it, why not just use the damage effect?

To be clear, this change happened because my patch changed the way HealthUtils handled damage application. In the past, it damaged the entity directly (behaviour you are expecting), which can cause issues in certain cases. Try using the damage effect instead, and if that still has issues please open another issue, thanks.

The damage effect doesn't show the damage either.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheClassic36 picture TheClassic36  路  3Comments

ghost picture ghost  路  3Comments

dhgameryt picture dhgameryt  路  3Comments

Snow-Pyon picture Snow-Pyon  路  4Comments

MrScopes picture MrScopes  路  3Comments