Learn Basic JavaScript by Building a Role Playing Game - Step 130

Tell us what’s happening:

Not really sure what i’m doing wrong here please help

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

function defeatMonster() {
  gold += monsters[fighting].level * Math.floor(monsters[fighting].level * 6.7) + gold;
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.4 Safari/605.1.15

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 130

you do not need to add gold again, the += is already doing that

then, double check what you need to add to gold, you have more than requested, like you are multiplying the level twice

awesome just figured it out