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!

Attributes increased based on battle conditions

Hi everyone!

I'm breaking my bones to understand js, but it's rlly hard to me. Any way, i'm sure I'll be proefficient (some day).
But if anyone could gimme a little help, i'd be very grateful:

I'm trying to make a system that the attributes of the actor will not increase based on level up, but in what happened to him through the game. For exemple: if he take too much hits from his enimies, his MaxHP and DEF (or MgcDEF when it was magic atk) will be higher; if he use too much mana based attacks (spend too mana points), his MaxMP will increase, and thats so.

I tried use the conditional branch, but there's any condition like "When Actor 'Harold' take damage". I though that would be possible using a script code. Since then, I'm being beaten. Could anyone help?
 
Last edited:
Top