How do I…
I’m trying to make a piercing projectile, so I tried making this like take a variable as an id into an array on the attack so it doesn’t damage it when it doesn’t have to.
What is the expected result
It should damage the enemy the right amount.
What is the actual result
It does way more damage than it should.
Related screenshots
also this is my 3rd attempt. my first attempt I thought was good for awhile, since it worked until I realized it was ignoring the stronger attack when you hit with both the weaker and stronger attack. My second attempt made all enemies invincible somehow, and this third attempt seems to not work well.
I also had looked to see if anyone else had this issue/problem and there were similar ones, but none exact, and nothing seemed to help much.