Support » Plugin: SportsPress - Sports Club & League Manager » Goal Value based on gender

  • Resolved Brian Dusablon

    (@teamduce)


    Our co-ed soccer league scores female goals as 2-points unless they are penalty kicks. I want to show just single goals overall (one goal, no matter of gender) for top scorers, AND break it down for match scores so if a female scores in a match and it’s NOT a penalty kick, it counts for 2 points in the score.

    Any ideas? I would like to automate this if possible.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @teamduce,

    What if you have two performances for goals instead of just one:
    1. goals for all goals (including penalty kicks) except female
    2. fgoals for all female goals (except penalty kicks).

    Now create an event performance (lets say points) with the following equation:
    points = goals + fgoals x 2

    You may also need to create a player statistics (lets say total goals) with the following equation:
    total_goals = goals + fgoals

    Thanks,
    Savvas

    • This reply was modified 3 years, 2 months ago by Savvas.
Viewing 1 replies (of 1 total)
  • The topic ‘Goal Value based on gender’ is closed to new replies.