Defense in spark

Want to chat with others? Feel free to do it here
Grimblade1228
Newbie
Newbie
Posts: 1

Defense in spark

Post#1 » Sat Dec 24, 2016 6:26 am

I am looking for a way to make a armor system in spark or some way to reduce damage from attacks without shields like for example: if you have 20 hp and have 15 armor and I hit you for 20 damage you only take 5 damage if someone understands this please help

DarkEater77
Newbie
Newbie
Posts: 8

Re: Defense in spark

Post#2 » Sun Dec 25, 2016 11:05 am

well, if i'm not mistaken(i don't have my xbox right now, so it's just speculation), you have to create a second health bar, that you're gonna call Armor. Then you will say that if the player is hit by ""What you want"", the bar decrease. And that once it reaches 0, next damages will be done to the health bar.

User avatar
Psychokiller1888
Site Admin
Posts: 357
Contact:

Re: Defense in spark

Post#3 » Mon Dec 26, 2016 10:51 am

DarkEater, you are proposing an armor system, I think he wants a DEF system.

Not hard, put a variable containing your DEF on your characters, and before applying the DMGs reduce them by that DEF variable

Return to “General discussions”

Who is online

Users browsing this forum: No registered users and 1 guest

cron