#why ts not work

1 messages · Page 1 of 1 (latest)

south glacier
#

Dmg = 10
Pierce = 0
Defense = 20

inner lance
#

What doesn't work

south glacier
#

The TotalDmg comes out as -10

solar marlinBOT
#

studio** You are now Level 7! **studio

south glacier
#

when if the totaldmg is less than 0 it should change to 1

foggy sierra
#

Why local TotalDmg = 1 at almost the bottom

#

U dont need local

inner lance
#

yea

foggy sierra
#

U already defined it

south glacier
#

alright thanks

#

I forgot

sweet siren
#
#

that's really good material

#

rather than verifying ur total damage after subtracting, add it inside clamp as the value to be returned

#

if it's in between 1 (your min) and ur max value, then no issues

#

if it's below 1, it becomes 1

neon night
#

20 - 10 = 10

#

10 - 20 = -10

south glacier