• Resolved kanick

    (@kanick)


    Hi there. I have another a couple requests specific to the Joker function.

    1. Would it be possible to assign specific points for the Joker Bonus or to change the multiplier value for the Joker? Currently it doubles the normal score and I haven’t found a way to alter that.

    2. I wish use more than one joker in the pool. I have set my pool to have five different “match types”– preXmas, postXmas, NYE, NYDay, and postNYDay. I would like to enable a joker feature for each flight? Can this be done (or implemented in a future release?)?

    Many thanks,
    Mike Burgermeister

    https://www.ads-software.com/plugins/football-pool/

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    1. Changing the multiplier can be done by changing the “2” to a new multiplier in the following lines.

    admin/class-football-pool-admin-score-calculation.php, line 250:
    , IF ( p.has_joker = 1, 2, 1 ) AS score

    classes/class-football-pool-pool.php, line 85:
    if ( $joker == 1 ) $score *= 2;

    I have added the multiplier as an option in the next version.

    2. Using ultiple jokers is not possible. It is on my roadmap, but haven’t decided yet when to start work on it.

Viewing 1 replies (of 1 total)
  • The topic ‘Joker enhancements.’ is closed to new replies.