fix(curriculum): update wording for RPG project (#53635)

This commit is contained in:
Tyler
2024-02-10 00:28:55 -05:00
committed by GitHub
parent 31fbdcb75b
commit fe017205f8

View File

@@ -7,7 +7,7 @@ dashedName: step-127
# --description--
In your `defeatMonster` function, set `gold` equal to `gold` plus the monster's level times `6.7`. You can get the monster's level with the `level` property.
In your `defeatMonster` function, set `gold` equal to `gold` plus the monster's level times `6.7`. Remember you can get the monster's level by using `monsters[fighting].level`.
Here is an example of setting `num` to `num` plus `5` * `8`: `num += 5 * 8`. Use `Math.floor()` to round the result down.