This script allows creation of a state that when a character is damaged, the damage value will be stored. The stored value can be then released to a target with a skill (damage target with the total amount you stored). This script also features a state wherein the target will store any damage from any action, but the target will only be inflicted with the total damage once the state disappears.
