---
Greetings! I've modified the thread title as we've moved past the boundaries of the original question. Thank you all for your help! <3
---
Hello, all!
I'm having an issue with a battle mechanic I'm trying to implement. It's a transformation-style state that requires 100 TP to activate (but immediately fills it back up).
It gives stat boosts and unlocks other skills, usually costing TP themselves. Character loses 20% TP per turn. When TP hits 0, the state is supposed to end.
I've made some progress figuring out how to get this to work, but despite my best efforts I'm running into issues. Entering the state and the state itself works fine, but I'm having great difficulty with getting them to exit the state.
I have a common event 'if' statement that's basically 'if character's TP hits 0, remove these states'. And I have a troop event that's trying to call the common event at the end of every turn, in an ATB (wait) battle system.
But for whatever reason, the event isn't working. My guess is that the 'span' of the event has something to do with it, but I'm unsure how to make it function properly.
If span = battle, seems to do nothing
if span = turn, the state stops draining TP each turn
if span = moment, the game softlocks
I'm trying to figure out what to do from here, and wondering what can be done to properly get this to work. I thinkthis should be something do-able with events, but I'm not certain. Could I get advice to address this? My past tutorials were mainly getting advice on an RPG Maker discord on where to look. I'm unsure where to look for additional tutorials. Thank you for your help.
Images attached as follows are
--Plugins List, Actor page, skill page (event is called here as well from previous testing),state page, common event page,troop event page
Greetings! I've modified the thread title as we've moved past the boundaries of the original question. Thank you all for your help! <3
---
Hello, all!
I'm having an issue with a battle mechanic I'm trying to implement. It's a transformation-style state that requires 100 TP to activate (but immediately fills it back up).
It gives stat boosts and unlocks other skills, usually costing TP themselves. Character loses 20% TP per turn. When TP hits 0, the state is supposed to end.
I've made some progress figuring out how to get this to work, but despite my best efforts I'm running into issues. Entering the state and the state itself works fine, but I'm having great difficulty with getting them to exit the state.
I have a common event 'if' statement that's basically 'if character's TP hits 0, remove these states'. And I have a troop event that's trying to call the common event at the end of every turn, in an ATB (wait) battle system.
But for whatever reason, the event isn't working. My guess is that the 'span' of the event has something to do with it, but I'm unsure how to make it function properly.
If span = battle, seems to do nothing
if span = turn, the state stops draining TP each turn
if span = moment, the game softlocks
I'm trying to figure out what to do from here, and wondering what can be done to properly get this to work. I thinkthis should be something do-able with events, but I'm not certain. Could I get advice to address this? My past tutorials were mainly getting advice on an RPG Maker discord on where to look. I'm unsure where to look for additional tutorials. Thank you for your help.
Images attached as follows are
--Plugins List, Actor page, skill page (event is called here as well from previous testing),state page, common event page,troop event page