Tinkers Construct

Tinkers Construct

170M Downloads

Arrow damage bugs with L_Ender 's Cataclysm

gjhihihi opened this issue ยท 1 comments

commented

Minecraft Version

1.20.1

Modloader

Forge

Modloader Version

36.1.0

Mantle Version

1.11.71

Tinkers' Construct Version

3.10.2.92

Describe your issue

While people is fighting with boss in L_Ender 's Cataclysm, if the player or any creature selected as a target by the boss is more than a specific grid distance away from it, then the boss will be completely immune to any damage from the target. But this might cause infinite increase in arrow damage when use bows which can increase damage when arrows hit the target.

Steps to reproduce

  1. Spawn a boss such as ender guardian;
  2. Prepar a bow that add arrow base damage in onProjectileHitEntity from ProjectileHitModifierHook.
  3. Stand at a distance of at least 12 blocks from it and shoot at it, so that the arrow bounces just right on its body;
  4. Get closer to it.

Crash Report

No response

Can you reproduce with just Tinkers?

No

Performance Enchancers

None of the above

Other mods

L_Ender 's Cataclysm

Searched for known issues?

I did not search

commented

Not sure what the deal is with L_Ender's Cataclysm, but I did push a fix that ensures the conditional power module (upcoming recommended way to do what you said) does not increase damage more than once.

This is handled manually by storing a flag in projectile data, so if you are adding a custom modifier either use the module or add the same check to your code.