- 53
- Posts
- 5
- Years
- Seen Feb 6, 2025
I fixed Brick Break's secondary effect here:
In PokeBattle_Move go to # Freeze-Dry and paste under its script this
In PokeBattle_Move go to # Freeze-Dry and paste under its script this
Spoiler:
Code:
if @function==0x10A && !attacker.effects[PBEffects::Electrify] # Brick Break
mod1=4 if isConst?(otype1,PBTypes,:PSYCHIC)
if isConst?(otype2,PBTypes,:PSYCHIC)
mod2=(otype1==otype2) ? 2 : 4
end
if isConst?(otype3,PBTypes,:PSYCHIC)
mod3=(otype1==otype3 || otype2==otype3) ? 2 : 4
end
end