Issue-
I'm trying to create a shop that consumes your mana and life for items, I got the hp and mp check down by using
"$gameParty.leader().mp >= 50" and "$gameParty.leader().hpRate() > 0.2" in conditional branches to check if the party leader has enough, but I can't figure out how to make it reduce mana or life. Is there a plugin for something like this because I can't figure out how to do it normally. I don't know very much about coding, so I might just be missing something. The end goal is to make an event that takes 50 of the party leaders mana (The actor that the player is currently controlling) and 20% of their hp as well.
List of Info-
Plugins->
What I've Tried-
To reduce the party leaders mp, I've tried putting "$gameParty.leader().mp -= 50" into a script command in the contents of the event, but nothing happens in game when activated.
When trying to do this in a new project, it still doesn't do anything
I'm trying to create a shop that consumes your mana and life for items, I got the hp and mp check down by using
"$gameParty.leader().mp >= 50" and "$gameParty.leader().hpRate() > 0.2" in conditional branches to check if the party leader has enough, but I can't figure out how to make it reduce mana or life. Is there a plugin for something like this because I can't figure out how to do it normally. I don't know very much about coding, so I might just be missing something. The end goal is to make an event that takes 50 of the party leaders mana (The actor that the player is currently controlling) and 20% of their hp as well.
List of Info-
Plugins->
What I've Tried-
To reduce the party leaders mp, I've tried putting "$gameParty.leader().mp -= 50" into a script command in the contents of the event, but nothing happens in game when activated.