DarkFoxVerdigris
Founder of Pokémon Verdigris
- 11
- Posts
- 5
- Years
- Seen Nov 26, 2020
So I am once again here asking for help with windy weather because V18 changed stuff and now it doesn't work at all. The thing with it is that it doesn't power up a type but a flag of moves.
So I have this code:
Or, alternatively (neither work):
Put under the
And whenever wind is in place in the game no move at all works, instead I get this error:
Do you have any idea what the error is and how to fix it? Thank you!
So I have this code:
Code:
when PBWeather::Wind
if move.windMove?
mults[BASE_DMG_MULT] = (mults[BASE_DMG_MULT]*1.5).round
end
Code:
when PBWeather::Wind
if move.windMove?
multipliers[FINAL_DMG_MULT] = (multipliers[FINAL_DMG_MULT]*1.5).round
end
Code:
case @battle.pbWeather
Code:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18]
Exception: NameError
Message: undefined local variable or method move' for #<PokeBattle_Move_00C:0xcd863f8>
Backtrace:
Move_Usage_Calculations:398:in pbCalcDamageMultipliers'
Move_Usage_Calculations:248:in pbCalcDamage'
Battler_UseMove:623:in pbProcessMoveHit'
Battler_UseMove:615:in each'
Battler_UseMove:615:in pbProcessMoveHit'
Battler_UseMove:426:in pbUseMove'
Battler_UseMove:424:in each'
Battler_UseMove:424:in pbUseMove'
Battler_UseMove:59:in pbProcessTurn'
Battler_UseMove:58:in `logonerr'
Do you have any idea what the error is and how to fix it? Thank you!