Hi everyone,
I was going to put this in the formulas topic, but because it may not specifically include just formulas in order to solve this problem, I've posted it here.
I'm trying to store the damage dealt from an enemy (as in, the final number that pops up after the target has been hit) in a variable so I can use it in the following way:
1) Skill inflicts (somewhat random) HP damage
2) Said HP damage stored in variable
3) Force the same skill again, variable is multiplied by 2 to inflict twice the amount of damage as it did previously.
4) Force the same skill for a third time, variable is multiplied by 3 to inflict three times the amount of damage as it did previously.
I would like this to be primarily used by enemies, but it would handy to know how to use for actors to (should there even be any difference in the execution).
Note that this is a skill that targets all enemies. The problem I see here is that each target is going to receive a different amount of damage (depending on their defensive stats, etc), and I specifically want them to receive damage in the follow up attacks that references that same number they were hit with in the first place. Is any of this possible?
Thank you!
I was going to put this in the formulas topic, but because it may not specifically include just formulas in order to solve this problem, I've posted it here.
I'm trying to store the damage dealt from an enemy (as in, the final number that pops up after the target has been hit) in a variable so I can use it in the following way:
1) Skill inflicts (somewhat random) HP damage
2) Said HP damage stored in variable
3) Force the same skill again, variable is multiplied by 2 to inflict twice the amount of damage as it did previously.
4) Force the same skill for a third time, variable is multiplied by 3 to inflict three times the amount of damage as it did previously.
I would like this to be primarily used by enemies, but it would handy to know how to use for actors to (should there even be any difference in the execution).
Note that this is a skill that targets all enemies. The problem I see here is that each target is going to receive a different amount of damage (depending on their defensive stats, etc), and I specifically want them to receive damage in the follow up attacks that references that same number they were hit with in the first place. Is any of this possible?
Thank you!