- Joined
- Nov 11, 2016
- Messages
- 8
- Reaction score
- 1
- First Language
- English
- Primarily Uses
Using the damage formula, I'm able to script conditionals for applying states and other non damage effects. However, if I have a
situation where a state can't apply, the damage formula defaults to Zero damage. How can I skip the damage effect (numbers and hit effect) and display a miss statement instead? Is there a way to use script call to force a miss? Or is it too late to make that appear because the attack would have gone though the hit stage before calculating damage. Here's an example of a formula I'm using that ultimately leads to a damage number and effect.
b.isStateAffected(74) ? b.die() : 0
This formula checks if the battler is affected by a Zombie state, and if so, kills them. But if the battler doesn't have the zombie state, it should just miss, but in this case (obviously) it creates a damage effect and displays a zero. I would be okay if it had the effect of damage, and didn't display the number but ideally, I'd rather it just force a miss or Immune statement instead. I haven't found a plug in that specifically does this either.
situation where a state can't apply, the damage formula defaults to Zero damage. How can I skip the damage effect (numbers and hit effect) and display a miss statement instead? Is there a way to use script call to force a miss? Or is it too late to make that appear because the attack would have gone though the hit stage before calculating damage. Here's an example of a formula I'm using that ultimately leads to a damage number and effect.
b.isStateAffected(74) ? b.die() : 0
This formula checks if the battler is affected by a Zombie state, and if so, kills them. But if the battler doesn't have the zombie state, it should just miss, but in this case (obviously) it creates a damage effect and displays a zero. I would be okay if it had the effect of damage, and didn't display the number but ideally, I'd rather it just force a miss or Immune statement instead. I haven't found a plug in that specifically does this either.


