I'm looking to create a damage absorption effect, but I'm having some trouble figuring out the execution.
It would be a state that would need to be applied to an actor that would reduce PDR and MDR to 0%, but it would have to wear off after the actor would otherwise have taken x amount of damage. I'm not sure how to keep track of how much damage an attack *would've* done before reducing its damage to 0.
Maybe something in the troop events or common events or something that uses a variable that tracks the difference in actor current HP, then HP after an attack, but I don't even really know where to start with that - first, how I could take a variable before and after an attack, second, how I could do so without making pretty much every single damaging skill call said common event and variables or...
Well, I'm pretty well stumped.
I found this thread which has a script that apparently can drain physical attacks from the actor's MP total, but it's about the closest I've been able to find. It looks like someone else was trying to find the same thing I'm looking for, but never received an answer to their question. http://forums.rpgmakerweb.com/index.php?/topic/17089-shield-spell/?hl=%2Babsorb+%2Bshield#entry166892
It would be a state that would need to be applied to an actor that would reduce PDR and MDR to 0%, but it would have to wear off after the actor would otherwise have taken x amount of damage. I'm not sure how to keep track of how much damage an attack *would've* done before reducing its damage to 0.
Maybe something in the troop events or common events or something that uses a variable that tracks the difference in actor current HP, then HP after an attack, but I don't even really know where to start with that - first, how I could take a variable before and after an attack, second, how I could do so without making pretty much every single damaging skill call said common event and variables or...
Well, I'm pretty well stumped.
I found this thread which has a script that apparently can drain physical attacks from the actor's MP total, but it's about the closest I've been able to find. It looks like someone else was trying to find the same thing I'm looking for, but never received an answer to their question. http://forums.rpgmakerweb.com/index.php?/topic/17089-shield-spell/?hl=%2Babsorb+%2Bshield#entry166892