Help [NoMethodError] When i use Misty Terrain (v17.2/EBS 4.3.3)

WolfPP

Discord Wolf#1235
Member
Posts
88
#1
Sup guys,

So, when i use Misty Terrain, give me this:

Code:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]

Exception: NoMethodError

Message: undefined method `damagestate' for nil:NilClass

PokeBattle_MoveEffects:1129:in `pbEffect'

PokeBattle_Battler:3565:in `pbUseMove_ebs'

PokeBattle_Battler:3564:in `logonerr'

PokeBattle_Battler:3564:in `pbUseMove_ebs'

Elite Battle Battle:508:in `pbUseMove'

PokeBattle_Battler:3802:in `pbProcessTurn'

PokeBattle_Battler:3801:in `logonerr'

PokeBattle_Battler:3801:in `pbProcessTurn'

PokeBattle_Battle:2916:in `pbAttackPhase_ebs'

PokeBattle_Battle:2913:in `each'
How can i fix it? the other terrains its ok btw only misty terrain give me that issue.

I have that move in all scripts, together(below) to other terrains: PBEffect; _Move;_ActiveSideField;_Battler;_BattlerEffects;_MoveEffects;_Battle;

Ty ty!
 

WolfPP

Discord Wolf#1235
Member
Posts
88
#2
To fix, just need to replace inside move.txt:
Code:
xxx,MISTYTERRAIN,Misty Terrain,xxx,0,FAIRY,Status,0,10,0,01,0,dm,"The user covers the ground under everyone's feet with mist for five turns. This protects Pokémon on the ground from status conditions."
P.S: replace xxx for what you have into your game.
 
Top