[Tutorial] How to increase fall damage with a potion effect

Started by 07creeper26 on

Topic category: User side tutorials

Last seen on 14:10, 13. Apr 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Tutorial] How to increase fall damage with a potion effect
Fri, 11/24/2023 - 21:30 (edited)

I'm going to assume you have already made a potion effect.

Let's get started.

 

https://imgur.com/XwWd0b4

 

Let's break this down.

[If Y Velocity < -0.5]

 

This checks if you are falling. Simple enough.

 

[If get level of potion (potion) = 0]

 

This checks the potion's level, currently level 1.

 

[Override fall distance with {get height * 5.5}]

 

This makes it so when the player hits the ground, they take more damage. I tested this with a 6 block fall. Instead of taking 1.5 hearts, I took 3.5 hearts.

 

[Attempt to override motion vector {Y velocity + 0.5}]

 

This makes it so you fall faster when falling.

 

The rest is just for levels 2 and 3.

 

I hope I was able to help.

Edited by 07creeper26 on Fri, 11/24/2023 - 21:30