- 79
- Posts
- 9
- Years
- Seen Jan 12, 2024
I'm attempting to create a custom ability that lets you use moves successfully without having to use Sleep Talk. I tried modeling it after the move Snore, and found that there's an effect that works exactly like what I'm looking for: pbCanUseWhileAsleep?
How exactly would I use this in the script of an ability? I started out with this:
but I have no idea where to go from there. Also, where would be the best place to put this script?
Thanks!
How exactly would I use this in the script of an ability? I started out with this:
Code:
if attacker.hasWorkingAbility(:LUCIDDREAMING) &&
attacker.status==PBStatuses::SLEEP
Thanks!