Skip to content

Commit

Permalink
Updated PVP ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkena committed Nov 11, 2021
1 parent 90e5d03 commit 7b0bc27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pvp_tool/actions/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ def process_query(
query = query.filter(Player.guild_id.in_(guild_ids))

query = query.filter(Player.level <= maximum_level)
if maximum_level >= 100:
if maximum_level >= 200:
query = query.filter(Player.level >= 200)
elif maximum_level >= 100:
query = query.filter(Player.level >= 100)

query = query.filter(Player.gold >= minimum_gold)
Expand Down

0 comments on commit 7b0bc27

Please sign in to comment.