PlaceholderGames / 2022-yr2-team-bing-chilling

Second CS2S561 Game
0 stars 1 forks source link

Health on enemy #54

Closed Luckyxzx closed 2 years ago

Luckyxzx commented 2 years ago

For some odd reason, I couldn't get the damage working correctly.

What I mean by that is when I set the damage to 20 on the bullet it still does 50 no matter what value I give it, however, if I scale the enemy health from 100 to 200 it works and takes 4 shots to kill instead of 2.

I'm trying to fix the bug problem but if it all goes to shit we can just scale the enemy's health up

scrab333 commented 2 years ago

So i've looked into it and it works on my end. I changed the damage to 20 (both script and the inspector thou) and it worked fine so am just gonna assume that unity did an oppsie poopsie. 20 seems fine to me but would like to get some feedback

scrab333 commented 2 years ago

I'll push it into the main so maybe our QA @GooseGoesHjonk can have a look

Luckyxzx commented 2 years ago

godamn godamn arigato senpai

Luckyxzx commented 2 years ago

maybe i screwed up somewhere idk, good to see it fixed

scrab333 commented 2 years ago

At this point i just blame unity tbh, it likes to not work for no reason from time to time

Luckyxzx commented 2 years ago

Resolved - closed