- Joined
- Aug 4, 2012
- Messages
- 640
- Reaction score
- 353
- First Language
- English
- Primarily Uses
- RMMV
I'm not actually sure if this is a possible script to create, since it would involve information in the editor.
Basically, what I'm looking to do is show damage calculations in an ability's description. For example, right now, I have an ability with the damage formula "((1.8 * a.mat) + 17) - b.mdf" and the ability's description reads "Deals 180% MAT plus 17 holy damage." I'd like it to be the case that, in game, when you go to select the skill, if you had, say, 30 MAT, it would simply read "Deals 71 holy damage."
If possible, it would be great if it could calculate the variance, too, so that if the above example has a variance of 20, it would say, "Deals 57-85 holy damage," but that's not as important. Since you can't know the enemy's magic defense until the skill and target have already been selected, it doesn't need to calculate that aspect.
Is this something feasible to do?
Basically, what I'm looking to do is show damage calculations in an ability's description. For example, right now, I have an ability with the damage formula "((1.8 * a.mat) + 17) - b.mdf" and the ability's description reads "Deals 180% MAT plus 17 holy damage." I'd like it to be the case that, in game, when you go to select the skill, if you had, say, 30 MAT, it would simply read "Deals 71 holy damage."
If possible, it would be great if it could calculate the variance, too, so that if the above example has a variance of 20, it would say, "Deals 57-85 holy damage," but that's not as important. Since you can't know the enemy's magic defense until the skill and target have already been selected, it doesn't need to calculate that aspect.
Is this something feasible to do?
Last edited by a moderator:

