hocha113 / CalamityOverhaul

Calamity Overhaul Mod
MIT License
66 stars 8 forks source link

Murasama doesn't hit when you spam it. #23

Open Shadowblitz16 opened 1 week ago

Shadowblitz16 commented 1 week ago

If you click repeatedly instead of holding the left mouse button murasama swings really fast but doesn't hit anything.

hocha113 commented 1 week ago

I think it might be because the code instruction Owner.itemTime = 2 in the held projectile makes its attack cooldown extremely short (only two frames). However, this functionality is consistent with the original Calamity mod. I believe unmodified items exhibit the same behavior, so I will conduct specific tests to verify this. Whether this is considered an issue is worth discussing. If it does indeed harm the gameplay experience, then I should "fix" it by ensuring it adheres to the attack cooldown set in the weapon's stats, preventing players from rapidly clicking to attack at a high frequency.

Shadowblitz16 commented 2 days ago

It does indeed harm gameplay experience. I would either make the item be able to hit faster or just slow the item down to it's minimum hitbox speed.