- Joined
- Apr 14, 2019
- Messages
- 11
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
Hello All!
I have been googling a bit around this, but so far have not seen someone explaining how to handle what I would like to have happen in the software, or a plugin addressing it. (So I may be missing something super obvious).
Anyway, so I have a class who is all about just buffing allies, changing their attack element, other support stuff. The thing is, I can't figure out how to make the impact of their skills dependent on their intelligence (magic attack stat).
I haven't developed the exact math yet, but essentially I would like to do something along the lines of the following as an example:
Sample berserk spell that buffs ally's attack:
b.atk = b.atk + b.atk * ( Math.pow( a.mat / 999 , 0.5 ) * ( ( Math.random() * a.luk ) / 100 ) )
Again the exact formula isn't set in stone, but something where the stat increase is positively dependent on the casters magic attack. I thought I'd be able to be able to set this up in the state section (since the built in buff/debuff stuff is super simple), but haven't had any luck. Any help is greatly appreciated.
I have been googling a bit around this, but so far have not seen someone explaining how to handle what I would like to have happen in the software, or a plugin addressing it. (So I may be missing something super obvious).
Anyway, so I have a class who is all about just buffing allies, changing their attack element, other support stuff. The thing is, I can't figure out how to make the impact of their skills dependent on their intelligence (magic attack stat).
I haven't developed the exact math yet, but essentially I would like to do something along the lines of the following as an example:
Sample berserk spell that buffs ally's attack:
b.atk = b.atk + b.atk * ( Math.pow( a.mat / 999 , 0.5 ) * ( ( Math.random() * a.luk ) / 100 ) )
Again the exact formula isn't set in stone, but something where the stat increase is positively dependent on the casters magic attack. I thought I'd be able to be able to set this up in the state section (since the built in buff/debuff stuff is super simple), but haven't had any luck. Any help is greatly appreciated.



