• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Ability Capsule & Ability Patch for Essentials v15

Ability Capsule & Ability Patch for Essentials v15 1.0.0

This script is now safe to use. I fixed a few typos and replaced some code in the Ability Capsule script, and completely fixed the Ability Patch one. I have personally tested nearly every facet of the code, and it works flawlessly. The code for Essentials v19.1 gets the Ability name via some code that only exists in Essentials v19 and up, so I had to make do without those functions. As a result, a generic message is shown for the confirmation of using the items, which only contains the name of the Pokemon it is used on as a parameter.

The only thing I did not test as of posting this is whether or not choosing not to use the item works properly, but it should work. If not, please leave a comment letting me know, and I will fix it ASAP.
Turns out that you cannot simply reference pkmn.ability.h1 because it can return nil instead of an integer.
Back
Top