public function advantageOnHit($frames)
    {
        if (null !== $this->hitAdvantage) {
            throw new LogicException('Hit advantage already defined');
        }
        $this->hitAdvantage = $frames;

        return $this;
    }
public function advantageOnHit($frames)
    {
        if (null !== $this->hitAdvantage) {
            throw new LogicException('Hit advantage already defined');
        }
        $this->hitAdvantage = $frames;

        return $this;
    }
public function advantageOnHit ( $ frames ) { if ( null !== $ this -> hitAdvantage ) { throw new LogicException ( 'Hit advantage already defined' ) ; } $ this -> hitAdvantage = $ frames ; return $ this ; }
Define the difference of frame with the target gets hit to get back to the neutral state.

@param int $frames

@return static
Define the difference of frame with the target gets hit to get back to the neutral state .