Lykrast / MeetYourFight

Minecraft mod that adds bosses
Other
4 stars 5 forks source link

Phantasmal Rifle sometimes doesn't hit through walls #1

Open KrAzYGEEK32 opened 3 years ago

KrAzYGEEK32 commented 3 years ago

mod : 1.0.0 related: guns without roses : 1.0.6 forge : 35.1.0

issue: the bullets from a phantasmal rifle don't always seem to fire though walls, it occurs randomly. do they only travel through 1 block?. if not, this seems like a bug 2020-11-29_17 24 33 ive hit about 10 bullets to this skeleton but it does'nt seem to take damage

i have the maw of hunger ammo, and a normal enchanted phantasmal rifle, its also in a claimed chunk but i don't think that matters, noticed this in unclaimed areas as well

ill be happy to provide more info. also, yay on the first issue! :smile:

Lykrast commented 3 years ago

This is a known issue, because the bullets can travel through walls but not "hit" through walls. So mobs that are too close to a wall will sometimes not be hit cause the bullets will go right through the wall and them, but the hit detection will be blocked by that same wall.

I had no easy fix for it so I let it in cause gun that works 60% of the time is better than not having the cool gun I thought. The "fail" isn't random though, it depends on distance to the wall and the angle, so it's possible to work around it.