Rebalance likelihoods
There are now 5 general brackets of game likelihoods: - default gets 40 because it's default - game modes which have proven to be popular and which don't modify core gameplay get 10 - game modes which modify core gameplay a small amount or do not modify it but aren't as popular get 5 - game modes which modify core gameplay a lot or should only rarely appear in rotation get 1 - game modes which are not balanced get 0 (joke/fun modes) Default likelihoods add up to 95, so the likelihood is approximately also the % chance of it showing up without any votes.
This commit is contained in:
parent
974f67360d
commit
38505ba9a9
@ -131,7 +131,7 @@ class ChangedRolesMode(GameMode):
|
||||
except ValueError:
|
||||
raise InvalidModeException(messages["bad_role_value"])
|
||||
|
||||
@game_mode("default", minp = 4, maxp = 24, likelihood = 20)
|
||||
@game_mode("default", minp=4, maxp=24, likelihood=40)
|
||||
class DefaultMode(GameMode):
|
||||
"""Default game mode."""
|
||||
def __init__(self, arg="", role_index=var.ROLE_INDEX, role_guide=var.ROLE_GUIDE):
|
||||
@ -262,7 +262,7 @@ class VillagergameMode(GameMode):
|
||||
else:
|
||||
del evt.data["votelist"][users.Bot]
|
||||
|
||||
@game_mode("foolish", minp = 8, maxp = 24, likelihood = 8)
|
||||
@game_mode("foolish", minp=8, maxp=24, likelihood=10)
|
||||
class FoolishMode(GameMode):
|
||||
"""Contains the fool, be careful not to lynch them!"""
|
||||
def __init__(self, arg=""):
|
||||
@ -291,7 +291,7 @@ class FoolishMode(GameMode):
|
||||
"mayor" : ( 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 ),
|
||||
})
|
||||
|
||||
@game_mode("mad", minp = 7, maxp = 22, likelihood = 4)
|
||||
@game_mode("mad", minp=7, maxp=22, likelihood=5)
|
||||
class MadMode(GameMode):
|
||||
"""This game mode has mad scientist and many things that may kill you."""
|
||||
def __init__(self, arg=""):
|
||||
@ -325,7 +325,7 @@ class MadMode(GameMode):
|
||||
"assassin" : ( 0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 ),
|
||||
})
|
||||
|
||||
@game_mode("evilvillage", minp = 6, maxp = 18, likelihood = 1)
|
||||
@game_mode("evilvillage", minp=6, maxp=18, likelihood=5)
|
||||
class EvilVillageMode(GameMode):
|
||||
"""Majority of the village is wolf aligned, safes must secretly try to kill the wolves."""
|
||||
def __init__(self, arg=""):
|
||||
@ -485,7 +485,7 @@ class DrunkFireMode(GameMode):
|
||||
def teardown(self):
|
||||
events.remove_listener("chk_win", self.all_dead_chk_win)
|
||||
|
||||
@game_mode("noreveal", minp = 4, maxp = 21, likelihood = 2)
|
||||
@game_mode("noreveal", minp=4, maxp=21, likelihood=1)
|
||||
class NoRevealMode(GameMode):
|
||||
"""Roles are not revealed when players die."""
|
||||
def __init__(self, arg=""):
|
||||
@ -513,7 +513,7 @@ class NoRevealMode(GameMode):
|
||||
"cursed villager" : ( 0 , 1 , 1 , 1 , 1 , 1 , 2 , 2 ),
|
||||
})
|
||||
|
||||
@game_mode("lycan", minp = 7, maxp = 21, likelihood = 6)
|
||||
@game_mode("lycan", minp=7, maxp=21, likelihood=5)
|
||||
class LycanMode(GameMode):
|
||||
"""Many lycans will turn into wolves. Hunt them down before the wolves overpower the village."""
|
||||
def __init__(self, arg=""):
|
||||
@ -634,7 +634,7 @@ class RandomMode(GameMode):
|
||||
|
||||
# Credits to Metacity for designing and current name
|
||||
# Blame arkiwitect for the original name of KrabbyPatty
|
||||
@game_mode("aleatoire", minp = 8, maxp = 24, likelihood = 4)
|
||||
@game_mode("aleatoire", minp=8, maxp=24, likelihood=10)
|
||||
class AleatoireMode(GameMode):
|
||||
"""Game mode created by Metacity and balanced by woffle."""
|
||||
def __init__(self, arg=""):
|
||||
@ -723,7 +723,7 @@ class AlphaMode(GameMode):
|
||||
})
|
||||
|
||||
# original idea by Rossweisse, implemented by Vgr with help from woffle and jacob1
|
||||
@game_mode("guardian", minp = 8, maxp = 16, likelihood = 5)
|
||||
@game_mode("guardian", minp=8, maxp=16, likelihood=1)
|
||||
class GuardianMode(GameMode):
|
||||
"""Game mode full of guardian angels, wolves need to pick them apart!"""
|
||||
def __init__(self, arg=""):
|
||||
@ -802,7 +802,7 @@ class GuardianMode(GameMode):
|
||||
else:
|
||||
evt.data["winner"] = None
|
||||
|
||||
@game_mode("charming", minp = 6, maxp = 24, likelihood = 4)
|
||||
@game_mode("charming", minp=6, maxp=24, likelihood=10)
|
||||
class CharmingMode(GameMode):
|
||||
"""Charmed players must band together to find the piper in this game mode."""
|
||||
def __init__(self, arg=""):
|
||||
@ -832,7 +832,7 @@ class CharmingMode(GameMode):
|
||||
"assassin" : ( 0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 ),
|
||||
})
|
||||
|
||||
@game_mode("sleepy", minp=10, maxp=24, likelihood=5)
|
||||
@game_mode("sleepy", minp=10, maxp=24, likelihood=1)
|
||||
class SleepyMode(GameMode):
|
||||
"""A small village has become the playing ground for all sorts of supernatural beings."""
|
||||
def __init__(self, arg=""):
|
||||
@ -1255,7 +1255,7 @@ class MaelstromMode(GameMode):
|
||||
return addroles
|
||||
|
||||
# someone let woffle commit while drunk again... tsk tsk
|
||||
@game_mode("mudkip", minp=5, maxp=15, likelihood=1)
|
||||
@game_mode("mudkip", minp=5, maxp=15, likelihood=5)
|
||||
class MudkipMode(GameMode):
|
||||
"""Why are all the professors named after trees?"""
|
||||
def __init__(self, arg=""):
|
||||
|
Loading…
x
Reference in New Issue
Block a user