- 9
- Posts
- 4
- Years
- Seen Jun 10, 2023
Every thread I've seen so far has not given me a solution that works to making trick room an ability. I'm using an older version of essentials being V17.2 but I was wondering if anyone could tell me how I could do it? I understand if nobody knows since I'm using an older version...
I've tried making it myself to no luck. I put his right above intimidate in PokeBattle_Battler:
Does anyone know how I can get this to work?
I've tried making it myself to no luck. I put his right above intimidate in PokeBattle_Battler:
Spoiler:
if self.hasWorkingAbility(:TRICKERY) && onactive && @battle.effects[PBEffects::TrickRoom]==0
@field.effects[PBEffects::TrickRoom]=3
PBDebug.log("[Ability triggered] #{pbThis}'s Trickery")
@battle.pbDisplay(_INTL("{1} twisted the dimensions!",attacker.pbThis))
end
@field.effects[PBEffects::TrickRoom]=3
PBDebug.log("[Ability triggered] #{pbThis}'s Trickery")
@battle.pbDisplay(_INTL("{1} twisted the dimensions!",attacker.pbThis))
end
Does anyone know how I can get this to work?