It works! thank you!
Sorry, I meant AAM Battle, line 52. The same one your error Points to
Sorry, I meant AAM Battle, line 52. The same one your error Points to
As you can expect, a pokemon with Imposter will adapt both the Ability and Innates of the pokemon it transformed intoHow do the innate abilities work with imposter?
Perfect, thanks for the quick reply!As you can expect, a pokemon with Imposter will adapt both the Ability and Innates of the pokemon it transformed into
YOU HAVE TO RE-COMPILE AND START A NEW GAME AFTER THIS UPDATE, AS IT CHANGES A LOT OF STUFF
- Reworked the settings to be able to toogle the Innate progress methods mid playthrough and be assignated to a switch and/or a variable.
- The same treatment was given to the randomizer, so now you can toogle it mid playthrough and assign it to a switch and/or variable as well.
- Fixed Guard Dog. At last.
- Fixed Shedinja's innates not properly...
I knew I was missing something. I already fixed the triggers for the next patchExisting problems:
1.codes for triggerSpeedCalc and triggerWeightCalc are still not corrected though.
2.hasActiveAbility? is broken when checking a pokemon's ability, since the first element of abilityMutationList is a MultiAbilityProxy, and you can directly check self.ability == check_ability or check_ability.any? { |abil| self.ability == abil } if is an Array.
No error but abilities using hasActiveAbility? cannot be triggered properly when it's the pokemon's first ability.I knew I was missing something. I already fixed the triggers for the next patch
As for the ability check, I made it that way just for all of the codes that already have self.ability == X hardcoded in them, like almost all of the Advanced AI plugin. Despite the multiabilityproxy being a class it "behaves" like a symbol so as long as that Pokemon's ability exist somewhere on it, either as the main or in the array, it should work no prob
Still I'll adjust it because its using the old logic so it might cause problems. Did it gave you any particular error? So I can fix it for the patch as well
- Fixed an issue with the triggerSpeedCalc and triggerWeightCalc handlers for the innates (Thanks to komeiji514 for the report and fix)
- Added a couple of checks so the Advanced AI System's NPC trainers can see the innates of it's team and properly evaluate them for switch
- Modified the hasActiveAbility? method so it better uses the new definitions for the...
I've added your fixes for the calcs and also added a modified hasActiveAbility methodNo error but abilities using hasActiveAbility? cannot be triggered properly when it's the pokemon's first ability.