- 26
- Posts
- 281
- Days
- Age 14
- he/him
- Italy
- Seen today
Hi, I am trying to make an ability that makes the user resistant to any move and hit super-effectively any foe. I tried copying and tweaking Thick Fat (for the DamageCalcFromTarget handler) and Water Bubble (for the DamageCalcFromUser handler) but it doesn't work and I can't understand why. I defined it in the PBS (I know because the game recognizes it), so I think I either wrote something wrong in the scripts (Battle_AbilityEffects section, don't know if it's wrong), or forgot to define something somewhere.
DamageCalcFromUser handler:
![[PokeCommunity.com] Custom ability not working [PokeCommunity.com] Custom ability not working](https://data.pokecommunity.com/attachments/85/85831-9f18e9a3b7a2f93a7b2a784c1747f51a.jpg)
DamageCalcFromTarget handler (the list goes on enlisting every type, at the end of the list I put ".include?(type)"):
![[PokeCommunity.com] Custom ability not working [PokeCommunity.com] Custom ability not working](https://data.pokecommunity.com/attachments/85/85832-63b4e97709d67bfd6eebc112da24b13b.jpg)
Could someone help please?
DamageCalcFromUser handler:
![[PokeCommunity.com] Custom ability not working [PokeCommunity.com] Custom ability not working](https://data.pokecommunity.com/attachments/85/85831-9f18e9a3b7a2f93a7b2a784c1747f51a.jpg)
DamageCalcFromTarget handler (the list goes on enlisting every type, at the end of the list I put ".include?(type)"):
![[PokeCommunity.com] Custom ability not working [PokeCommunity.com] Custom ability not working](https://data.pokecommunity.com/attachments/85/85832-63b4e97709d67bfd6eebc112da24b13b.jpg)
Could someone help please?