---
id: 5d7df2a68360d21c6826a9b2
title: Part 97
challengeType: 0
---
# --description--
Next, set `health` to equal `health` minus the monster's level. You can get the monster's level with `monsters[fighting].level`.
# --hints--
See description above for instructions.
```js
(health = 50), fightDragon(), attack(), assert(health === 30);
```
# --seed--
## --before-user-code--
```html
RPG - Dragon Repeller
XP: 0Health: 100Gold: 50
Monster Name: Health:
Welcome to Dragon Repeller. You must defeat the dragon that is preventing people from leaving the town. You are in the town square. Where do you want to go? Use the buttons above.