A mistake in Opportunist.
Battle::AbilityEffects::OnOpposingStatGain.add(:OPPORTUNIST,
proc { |ability, battler, battle, statUps|
showAnim = true
battle.pbShowAbilitySplash(battler)
statUps.each do |stat, increment|
next if !battler.pbCanRaiseStatStage?(stat, battler)...
Some problems when viewing some move info. Move with function code "HitThreeTimesPowersUpWithEachHit" cannot be viewed before using. Here is the errorlog.
[2024-10-10 17:26:12 +0800]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NoMethodError
Message: undefined method `+'...
A small problem I think. Psyblade's power is boosted even if user is not affected by terrain, according to pokemon wiki in many languages. But I can't confirm.
A minor overlook in Damage Calc Refactor. Function code of Psyblade("IncreasePowerInElectricTerrain") is still "IncreasePowerWhileElectricTerrain" there.
Since it's only triggered when using a move so you can just edit Battle::Move::StatUpMove and Battle::Move::MultiStatUpMove to prevent infinite trigger.
I wonder how to make the game run without PBS files as I don't want players to touch any PBS files. But when I delete the PBS folder and run the game out of debug mode it crashes.
No such file or directory @ rb_sysopen - PBS/innate_sets.txt
[Innate Abilities] Innate Abilities - InnateSets...