Heya folks, I’m workin’ on a TD game and struggling a bit here, I created an enemy with a specific Defense value, Where if a Tower damage that Enemy the Enemy will take less damage compared to the Tower’s original damage value, I appreciate any helps thank you!
3 Likes
Its really not easy to say, It would really help if you sent the script responsible for damaging so I can see how to help.
1 Like
I can’t send it right now, I haven’t made the Code, It’s 9 pm in my area and I got school tomorrow, I’ll send them If I went back home from school
if you want a to take a precentage then just do (precentage to take/tower damage)*100 or just (precentage to take/100)*tower damage else if you want a precentage taken off you could do one of the above - tower damage I recommend the secon option
1 Like
Good Idea I’m gonna implement that to my Tower Script