Open razcore-rad opened 1 year ago
I just had this same issue. the description states that the robot starts with 100 health and they will take an amount of damage equal to 50. using 50 (which makes the most sense as it is not an abstract like 'amount') gives an error, and the solutions says to use the 'amount'.
The Goals description is confusing:
Especially the second paragraph:
Add to the take_damage() [...]
.It's also unclear that
amount
, thetake_damage()
function parameter will have the value50
. It can be interpreted that the student has to subtract a constant50
value.Open based on: https://gdquest.mavenseed.com/community/15797-damaging-the-robot