Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Attack doing way too much damage
- Code_Weegee
-
Scratcher
100+ posts
Attack doing way too much damage
One of the attacks in my game is doing seemingly infinite damage and I'm not sure why.
The link: https://scratch.mit.edu/projects/965643602/
The link: https://scratch.mit.edu/projects/965643602/
- deck26
-
Scratcher
1000+ posts
Attack doing way too much damage
More detail please. Which attack, for example?
- Code_Weegee
-
Scratcher
100+ posts
Attack doing way too much damage
The boomerang attack specifically is one-shotting every enemy type I have added, even when I change their hp to be absurdly high, it still one-shots
- deck26
-
Scratcher
1000+ posts
Attack doing way too much damage
You have a lot of sprites and scripts so it's a lot of work for anyone helping to look for conflicts. If you at least identify the relevant sprite and script we can potentially check that.
My recommendation with large projects is to make a stripped down copy to make it much easier to isolate the issue.
My recommendation with large projects is to make a stripped down copy to make it much easier to isolate the issue.
- Cr3at0rysm
-
Scratcher
100+ posts
Attack doing way too much damage
Your game is very messy, so it's harder to find the issue, my idea is that : when you throw the boomerang, it infinitely damages the enemy instead of attacking it once, certainly since it directly puts the hp to 0, it probably attacks the enemies a bunch bunch of times
- Code_Weegee
-
Scratcher
100+ posts
Attack doing way too much damage
The sprite that is inflicting the damage is the “Boomerang damage” sprite, and the sprite that tells it to do that is the “Boomerang projectile” sprite.
- deck26
-
Scratcher
1000+ posts
Attack doing way too much damage
Why is the boomerang damage being cloned?
- Code_Weegee
-
Scratcher
100+ posts
Attack doing way too much damage
it's to make multiple damage effects pop up since the boomerang is multi-hit
- Discussion Forums
- » Help with Scripts
-
» Attack doing way too much damage