Estriole Bribe script doesnt reduce gold when bribed

When using Estriole's Bribe script, it works as it should, meaning that I can escape battles when I have the gold required for it, however, the script doesn't reduce the gold for it(If I need to pay 200 gold to bribe an enemy, and I have 300, after using the Bribe command, I escape successfully, however, my gold is still 300, not 100). Someone please could fix this?

Estriole Bribe script
Is there a thread for it on the forum here? If so, you could just post in that and the developer will see it.

I can't tag the person who made it - not sure why. They haven't been active here for a couple of years, but if they have notifications, you might be able to send them a PM and they'll get an email.


edit: actually that's a really easy fix. Find this line in the script (line 53 in your link):
Code:
bribe_cost = $game_troop.bribe_cost

and add this on a new line after it:
Code:
$game_party.lose_gold(bribe_cost)
Thank you, Shaz, it was really just that simple to fix it 🙂
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/estriole-bribe-script-doesnt-reduce-gold-when-bribed.91465/