When having potion effect, player deals X2 more damage

Started by Spayzers on

Topic category: Help with MCreator software

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When having potion effect, player deals X2 more damage

Hello, what i wanna do is basically an effect that, when active, will make the player able to deals X2 damage, i've been trying but was stuck with some required dependencies. 

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure doesnt work,…
Thu, 07/25/2024 - 11:10

The procedure doesnt work, what it is supposed to do cuz it doesnt seels like its the one i wanna make

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
See if this works: https:/…
Thu, 08/08/2024 - 00:46

See if this works: https://imgur.com/a/fPa0O7v

It should check the amount of damage an entity takes, and if the attacker has the potion effect, the damage is applied again (for double damage). You won't notice the damage happening twice. If the damage isn't doubled for some reason, you can try multiplying the "amount" value by 2.