Describe the bug
On lesson 14. Multiplying, 1. Increasing maximum health exponentially, I typed,
''var level = 1
var max_health = 100
func level_up():
level += 1
max_health *= 1.1'',
as the solution I thought was correct, which produced error messages which said;
"ERROR Level variable's value is 2; It should be 3 after levelling up twice.", and
"ERROR Max health variable's value is 110; It should be 121 after levelling up twice."
After checking the correct solution it matched mine perfectly, this made me think it could be a syntax error on my end so I pressed "Reset" > ''Solution'' > ''Use solution" > ''Run"
To Reproduce
Steps to reproduce the bug:
- Go to 'https://school.gdquest.com/courses/learn_2d_gamedev_godot_4/learn_gdscript/learn_gdscript_app' > lesson 14. Multiplying, 1. Increasing maximum health exponentially
- Click on ''Solution'' > ''Use solution" > ''Run"
- See error
Expected behavior
I expected to complete the task successfully
Screenshots
Information about your device (please complete the following information):
- Operating System: Windows 10
- Browser: Firefox
Describe the bug
On lesson 14. Multiplying, 1. Increasing maximum health exponentially, I typed,
''var level = 1
var max_health = 100
func level_up():
level += 1
max_health *= 1.1'',
as the solution I thought was correct, which produced error messages which said;
"ERROR Level variable's value is 2; It should be 3 after levelling up twice.", and
"ERROR Max health variable's value is 110; It should be 121 after levelling up twice."
After checking the correct solution it matched mine perfectly, this made me think it could be a syntax error on my end so I pressed "Reset" > ''Solution'' > ''Use solution" > ''Run"
To Reproduce
Steps to reproduce the bug:
Expected behavior
I expected to complete the task successfully
Screenshots
Information about your device (please complete the following information):