hlockey 3 → 5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/election.yaml +10 -5
- data/data/information.yaml +21 -9
- data/data/league.yaml +1689 -841
- data/data/links.yaml +2 -1
- data/data/previous_election_results.yaml +65 -0
- data/lib/hlockey/constants.rb +6 -0
- data/lib/hlockey/data.rb +1 -1
- data/lib/hlockey/game/actions.rb +9 -15
- data/lib/hlockey/game/fight.rb +43 -23
- data/lib/hlockey/game/weather/audacity.rb +20 -0
- data/lib/hlockey/game/weather/chicken.rb +57 -0
- data/lib/hlockey/game/weather/incline.rb +43 -0
- data/lib/hlockey/game/weather/stars.rb +23 -0
- data/lib/hlockey/game/weather/sunset.rb +23 -0
- data/lib/hlockey/game/weather/waves.rb +27 -0
- data/lib/hlockey/game/weather/weatherable.rb +63 -0
- data/lib/hlockey/game/weather.rb +17 -0
- data/lib/hlockey/game.rb +186 -110
- data/lib/hlockey/league.rb +134 -35
- data/lib/hlockey/message.rb +77 -26
- data/lib/hlockey/team/player.rb +79 -0
- data/lib/hlockey/team/stadium.rb +49 -0
- data/lib/hlockey/team.rb +39 -20
- data/lib/hlockey/utils.rb +14 -3
- data/lib/hlockey/version.rb +1 -1
- metadata +29 -6
- data/lib/hlockey/player.rb +0 -63
- data/lib/hlockey/weather.rb +0 -114
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3ffa20553204aab32e385a20810d695766243023a10d5d765874ef315b01cf2
|
4
|
+
data.tar.gz: c391278c8b2a521b6c245aff2982527072d7cc044a1dd86baee2f43ac7c5a0e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef0f92274582a0c109d12727468680085dcb6b5eab57a32fb460187aebce5ef6b333dc736c9f66b6e5812848efcf531e3e25ab1041f4bca0b7d655223db728d4
|
7
|
+
data.tar.gz: 302ebe65aebef3e201c4ab8174eb945c70d78e86a7bd50f5001519cbca5605822a5d9a5ba4ace11b54950310de4a16480856e524f21668e71a9002bafd6c31da
|
data/data/election.yaml
CHANGED
@@ -1,16 +1,21 @@
|
|
1
1
|
---
|
2
2
|
:Bribery:
|
3
|
-
:
|
4
|
-
:Lootboxes:
|
3
|
+
:Mods Help: Add player modifications.
|
4
|
+
:Lootboxes: Allow gambling for votes.
|
5
5
|
:We Do A Little Losing: Recognize the losingest teams with an Underbracket.
|
6
6
|
:Treasure:
|
7
|
-
:Vengabus: All your team's stats are boosted by your team's losses * 0.005.
|
8
7
|
:Dave: The worst stat on your team is set to 4.5.
|
9
8
|
:Nice: Boost your worst player by 0.69 in every stat.
|
10
|
-
:
|
9
|
+
:Vengabus: All your team's stats are boosted by your team's losses * 0.005.
|
10
|
+
:Unvengabus: Your division's top team has all their stats reduced by their wins * 0.005.
|
11
|
+
:Shared Training: All teams in your division get +0.3 in each stat on each player.
|
12
|
+
:Theft: Your worst player steals 0.3 in every stat from the champion team's best player.
|
11
13
|
:Coaching:
|
12
14
|
:Please Block Shots: Move your team's best defensive player to goalie.
|
13
15
|
:Please Win Faceoffs: Move your team's player best offensive player to center.
|
14
|
-
:Draft:
|
16
|
+
:Draft: Add a new random player to your shadows.
|
15
17
|
:Small Gamble: All your team's stats go up or down by 0.5 at random.
|
16
18
|
:Big Gamble: All your team's stats go up or down by 1.0 at random.
|
19
|
+
:Revolution: Your team's best player and worst player split their stats evenly.
|
20
|
+
:Clock Wise: Rotate each player on the roster to the position clockwise of them.
|
21
|
+
:Clock Unwise: Rotate each player on the roster to the position counterclockwise of them.
|
data/data/information.yaml
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
---
|
2
2
|
:Format: |-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
First is the regular season, with matchups lasting 3 games.
|
4
|
+
Teams play 3 matchups against every team in their subleague (warm / cool).
|
5
|
+
After that, they play 1 matchup against the rest of the teams.
|
6
|
+
This adds up to 37 matchups, or 111 games.
|
7
|
+
After the regular season is the playoffs, with matchups lasting 5 games.
|
8
|
+
The playoffs are a single-elimination tournament.
|
9
|
+
The top teams in each division as well as the top 4 non-division leaders go to playoffs.
|
8
10
|
Playoffs are perfectly seeded (best team plays worst team, etc).
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
11
|
+
Playoffs have 3 matchups, or 15 games.
|
12
|
+
:Elections: |-
|
13
|
+
During each season, everyone can vote on the website for things that change the league.
|
14
|
+
Briberies effect the entire league.
|
15
|
+
Treasures are won on a raffle between the teams.
|
16
|
+
Coachings are given to each team, with teams getting the coaching they vote for the most.
|
17
|
+
:Weather: |-
|
18
|
+
Hlockey has different weathers which effect the games, similar to Blaseball.
|
19
|
+
Audacity causes players to take shots regardless of the state of the game.
|
20
|
+
Chicken swaps a random roster player with a random shadow player for the rest of the game.
|
21
|
+
Incline adds a random amount of score to a favored team's goals.
|
22
|
+
Stars gives the losing team +0.5 score at the end of each period.
|
23
|
+
Sunset makes each team's goals worth less the more the team scores.
|
24
|
+
Waves swaps the worst roster player with a random shadow player permanently.
|