Rugby – points
-
Hi Kolja. You’re doing great job. I’ve found one error in the code. In Rugby it should be this way:
if ( $match->tries[$index] > 3 )
$points[‘plus’] += 1;// Current Team Lost Match with less than 8 points
if ( $match->loser_id == $team_id && abs($match->home_points-$match->away_points) < 8 )
$points[‘plus’] += 1;You have lesst than 6 points and more than 4 tries. In rules it’s extra points for 7 or less and 4 or more.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Rugby – points’ is closed to new replies.