-
Notifications
You must be signed in to change notification settings - Fork 554
Added Ability Teraform Zero #242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Data/Scripts/011_Battle/007_Other battle code/008_Battle_AbilityEffects.rb
Outdated
Show resolved
Hide resolved
Data/Scripts/011_Battle/007_Other battle code/008_Battle_AbilityEffects.rb
Outdated
Show resolved
Hide resolved
Data/Scripts/011_Battle/007_Other battle code/008_Battle_AbilityEffects.rb
Outdated
Show resolved
Hide resolved
Data/Scripts/011_Battle/007_Other battle code/008_Battle_AbilityEffects.rb
Show resolved
Hide resolved
…weather, trigger effects on terrain change and changed NOTE to TODO.
| } | ||
| ) | ||
|
|
||
| # TODO: This is triggering in Switch in. Technically this should only trigger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can now complete this TODO. Look at Intrepid Sword.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I interpreted that this ability should only work when the pokémon transform/enter in field for the first time, so I coded to mark as used even if the conditions aren't meet.
91fa9eb to
e64bcc3
Compare
This ability actually triggers once per battle rathen than in Switch Out, but I coded as latter because currently there is no easy system/handler for abilities working once per battle. Some abilities, like Dauntless Shield should be revised to work this way as true in gen 9.