I've done quite a bit of googling and re-thinking and more googling, and I'm sure given enough time I could figure this out without just asking, but I'm on a time and energy budget, so I'm asking.
If this requires a plugin, just let me know. (I know that there are ways to accomplish this from within a plugin, but the ways I've looked at I don't think would fully accomplish what I'm hoping to do)
The idea, is that when a crit occurs, a state is applied, and animation played. I was able to find a thread where someone got an animation to play from within the damage formula, but when testing it using the following code,
it didn't work. (I figured I'd test just having it play the animation before I moved on to the if statement part of it)
It's very important that the animation play at the moment the damage is dealt to line up with the crit, so having it play as a separate thing after the fact is likely less than ideal. (for clarity reasons). The animation is essentially a little pop-up that says the state was applied. Short words like BURN! BLEED! ect.
I have some ideas in how I could event something like this, but it would require two of every skill, and a bunch of other stuff, and I'd much rather keep the database more compact and organized, so if I can do all of this with one skill, that's what I'm hoping for.
Thankyou for your time, you guys are always really helpful. I want you to know your work here is greatly appreciated. ^.^
If this requires a plugin, just let me know. (I know that there are ways to accomplish this from within a plugin, but the ways I've looked at I don't think would fully accomplish what I'm hoping to do)
The idea, is that when a crit occurs, a state is applied, and animation played. I was able to find a thread where someone got an animation to play from within the damage formula, but when testing it using the following code,
it didn't work. (I figured I'd test just having it play the animation before I moved on to the if statement part of it)
b.startAnimation27 a.atk - b.def
or
b.startAnimation(27) a.atk - b.def
or
(b.startAnimation(27)) a.atk - b.def
It's very important that the animation play at the moment the damage is dealt to line up with the crit, so having it play as a separate thing after the fact is likely less than ideal. (for clarity reasons). The animation is essentially a little pop-up that says the state was applied. Short words like BURN! BLEED! ect.
I have some ideas in how I could event something like this, but it would require two of every skill, and a bunch of other stuff, and I'd much rather keep the database more compact and organized, so if I can do all of this with one skill, that's what I'm hoping for.
Thankyou for your time, you guys are always really helpful. I want you to know your work here is greatly appreciated. ^.^