public function getCurrentMalus(): int
    {
        if ($this->getGettingUsedToForRounds() === 0) {
            return $this->malus;
        }
        if ($this->isShined()) {
            // each rounds of getting used to lowers malus by one point
            return $this->malus + $this->getGettingUsedToForRounds();
        }
        // ten rounds of getting used to are needed to lower glare malus by a single point
        return $this->malus + SumAndRound::floor($this->getGettingUsedToForRounds() / 10);
    }
public function getCurrentMalus(): int
    {
        if ($this->getGettingUsedToForRounds() === 0) {
            return $this->malus;
        }
        if ($this->isShined()) {
            // each rounds of getting used to lowers malus by one point
            return $this->malus + $this->getGettingUsedToForRounds();
        }
        // ten rounds of getting used to are needed to lower glare malus by a single point
        return $this->malus + SumAndRound::floor($this->getGettingUsedToForRounds() / 10);
    }
public function getCurrentMalus ( ) : int { if ( $ this -> getGettingUsedToForRounds ( ) === 0 ) { return $ this -> malus ; } if ( $ this -> isShined ( ) ) { // each rounds of getting used to lowers malus by one point return $ this -> malus + $ this -> getGettingUsedToForRounds ( ) ; } // ten rounds of getting used to are needed to lower glare malus by a single point return $ this -> malus + SumAndRound :: floor ( $ this -> getGettingUsedToForRounds ( ) / 10 ) ; }
Gives malus to activities requiring sight, already lowered by a time getting used to the glare, if any.

@return int negative integer or zero
Gives malus to activities requiring sight already lowered by a time getting used to the glare if any .