How to Make Damage Drop-off (Different damage depending on the distance bullet travelled)

Started by Stick_Surfer on

Topic category: Advanced modding

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Make Damage Drop-off (Different damage depending on the distance bullet travelled)

Like the title says, I would like to have the bullets from my ranged weapons deal varying damage based on distance. Is there any way possible for this?

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe if you have an nbt for…
Thu, 07/29/2021 - 22:28

maybe if you have an nbt for the bullet the bullet that starts high but is lowered every tick?

Then on bullet hit entity do "deal "nbt tag" to entity"