How to make a damage formula based on gold

Is there any way I can make a damage formula based off the total gold of the party?
Just use $game_party.gold in your formula
thanks Shaz 🙂 consider it case closed. I'm going to fix up my tag on this cuz I wasn't able to find information when I searched for this.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-damage-formula-based-on-gold.16446/