Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

TP Recover Based on Formula?

Status
Not open for further replies.

Trumully

Cyborg Kiwi
Hello!
I'm trying to design a skill that recovers TP, pending on how much defence you have.
I know you could do this with HP, MP, etc, but I wanted to do it with TP.
Any thoughts of how I could do this?
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
Yes, through a common event. Create a variable named TP Increase, and set it to game data > Actor > Defense . Next create a command "Change TP" and set it to the actor you want it to be used on and make it equal to TP Increase variable you created earlier. Call the common event for your skill and it will recover the tp based on defense.
Common Event.png
Obviously set the scope to the user ;) My mistake, too quick sometimes lol
Skill.png
 

Trumully

Cyborg Kiwi
Yes, through a common event. Create a variable named TP Increase, and set it to game data > Actor > Defense . Next create a command "Change TP" and set it to the actor you want it to be used on and make it equal to TP Increase variable you created earlier. Call the common event for your skill and it will recover the tp based on defense.
Obviously set the scope to the user ;) My mistake, too quick sometimes lol
View attachment 558
Cheers, LTN! It worked :P
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
I'm glad it worked for you, worked like a charm for me as well. It's a good idea I may have to continue it's use lol.

I'm going to lock this thread now, if you have a reason to re-open it just report the post with explanation.
 
Status
Not open for further replies.
Top