- 90
- Posts
- 7
- Years
- Seen Nov 24, 2023
I changed the properties of the ability Mega Launcher so that it boosts a move if it's either a bomb move or a pulse move. This is how the code for it looks like now:
Something I'm not sure about is this: Will Mega Launcher boost a move twice if said move is both a bomb and a pulse move? Or will it only check for one of those 2 attributes and only buff it once?
Code:
if attacker.hasWorkingAbility(:MEGALAUNCHER) && (isPulseMove? || isBombMove?)
damagemult=(damagemult*1.5).round
end
Last edited: