• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Ability Help!

1
Posts
7
Years
    • Seen Jul 13, 2016
    Hi there! So, this isn't working for whatever reason, and if somebody can help me out that'd be nice :D

    # Temporal Shift
    if self.hasWorkingAbility(:TEMPORALSHIFT) && onactive
    PBDebug.log("[#[pbThis}: has Temporal Shift")
    if PBDayNight.isDay?(pbGetTimeNow)
    pbIncreaseStatBasic(PBStats::ATTACK,1)
    @battle.pbDisplay(_INTL("{1}'s {2} boosted its Attack!",
    pbThis,PBAbilities.getName(ability)))
    end
    if PBDayNight.isNight?(pbGetTimeNow)
    pbIncreaseStatBasic(PBSTATS::SPATK,1)
    @battle.pbDisplay(_INTL("{1}'s {2} boosted its Special Attack",
    pbthis,PBAbilities.getName(ability)))
    end
    end
    end
     
    Last edited:
    Back
    Top