Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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 Formbefore April 2! You can also message Cat with any questions.
This is the code in the Move_UsageCalcualtions script. Is it normal?:
def pbAdditionalEffectChance(user, target, effectChance = 0)
return 0 if target.hasActiveAbility?(:SHIELDDUST) && !@battle.moldBreaker
ret = (effectChance > 0) ? effectChance : @addlEffect
return ret if ret > 100...
The message shows up on any damaging moves, but it doesn’t crash the game. It just shows it every time I attack, which gets annoying. Not sure what is causing it.
I've honestly spent way too long trying to figure out what is causing this error. Like I said in my last message, I can send you the files for my game if that could help. Other than that, I might have to hold off on using DBK until the issue is found.
I could send you the files to my game if you want. I literally have no idea what could be conflicting with DBK, since all of my moves and abilities (With the exception of a few) are all variations of other moves and abilities. When you do find the issue, I'd recommend making a patch to DBK to...
I didn't edit anything involving pbAdditionalEffectChance. As a matter of fact, none of the new moves, items, or abilities I made use pbAdditionalEffectChance. When I remove DBK from my plugins, the error seems to go away, so my assumption is that something is conflicting with the plugin scripts...
Looks like the issue I've been having isn't related to M.A.G.:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NoMethodError
Message: undefined method `pbAdditionalEffectChance' for #<Battle::Move::None>
Backtrace:
Battler_UseMove:716:in `block in pbProcessMoveHit'...