- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
I've tried getting this code to work but something about it breaks and makes any usage of any move put up unhelpful error messages until I close the game.
I tried using other ways of checking if the move's type is Steel and this didn't work either:
How do I properly get Steelworker's code working?
Code:
if moveType == :STEEL && user.hasActiveAbility?(:STEELWORKER)
multipliers[:final_damage_multiplier] *= 1.5
end
I tried using other ways of checking if the move's type is Steel and this didn't work either:
Code:
if defType == :STEEL && user.hasActiveAbility?(:STEELWORKER)
multipliers[:final_damage_multiplier] *= 1.5
end
How do I properly get Steelworker's code working?