def isCharging(self, user, environment): """ Determines if the attack should not be completed because it is charging """ self.getTurns(environment) if environment.weather.type == self.weatherType: self.turnOn = self.turnToAttack return ChargeDelegate.isCharging(self, user, environment)