Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bug Report: Unburden goes away after the first turn after its activation.
- Date: 7/31/2018
- File name: PokeBattle_Battler
- Line Number(ish): 1307
- Line directly before:
- speed=(speed*stagemul[stage]/stagediv[stage]).floor
- Line directly after:
- if self.pbOwnSide.effects[PBEffects::Tailwind]>0
- Code to add:
- if @unburdened
- speed=speed*2
- end
- ----------------------------------------------------------
- File name: PokeBattle_Battler
- Line Number(ish): 792
- Line directly before:
- if isConst?(@ability, PBAbilities, :UNBURDEN) && !@unburdened
- Line directly after:
- @unburdened = true
- Code to remove:
- @speed *= 2
- Comment: Apparently the problem was that unburden doubled the raw speed stat on activation instead of working like any other speed boosting ability in the game, for some reason, so pbUpdate (from PokeBattle_Battler) was reseting the stat after gaining ex and evs.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement