learn-gdscript icon indicating copy to clipboard operation
learn-gdscript copied to clipboard

#622 error in 13. conditions limited healing

Open Wolfy7 opened this issue 1 year ago • 0 comments

Please check if the PR fulfills these requirements:

  • [x] The commit message follows our guidelines.
  • For bug fixes and features:
    • [x] You tested the changes.

Related issue (if applicable): #622

New feature or change

What is the current behavior? Currently the test "Health Takes Different Values" will fail with missleading message when an floatingpoint value is used for health

Also the test "Health Does Not Go Above 80" will wrongly pass when an floatingpoint values between 80.1 and 80.9 is set:

What is the new behavior?

The test "Health Takes Different Values" will pass correctly even if "80" or "80.0" is set for health image

Also test "Health Does Not Go Above 80" will fail correctly

image

Other information

Wolfy7 avatar Oct 17 '24 11:10 Wolfy7