Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bug : Enemy Projectile when hits player Damage set not matching correctly

A topic by Smokeback created Mar 19, 2024 Views: 185 Replies: 3
Viewing posts 1 to 3
(2 edits)

since we can now check player health since it starts at 100 tested when enemy damage is set to 10 it didn't reduce correctly it took 11 or 12 shots instead of 10 based on enemy set damage. so at time it would remove 10,9 or 8 so its was acting like enemy damage is set to random when not  also tested it if enemy damage is set to 1 it still would take 1 shot at times then other would be 2,3 4 or 5  shots  to remove 1 from player health 100 to make it 99.

Developer

Did you set your weapon's "random damage" to 0?

yes could that be the cause since when i left it at -1 my weapon damage was  not accurate ,when i set enemy health to 2 would be 2  or 3 shots to kill them so i thought t it was the random causing it but when i set  it to zero random damage the killing enemy with bullets matching there health was back to normal

(1 edit)

apologies i didn't phrase the bug right ,the player is the one not getting damaged correctly when hit by an enemy 's projectile. if player has 100 health and an enemy damage is set to 1 it will take  2,3,4,5 enemy projectile hits for player's health to drop to 99