- 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: