hlockey 3 → 4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/election.yaml +9 -4
- data/data/information.yaml +21 -9
- data/data/league.yaml +1521 -841
- data/data/links.yaml +2 -1
- data/data/previous_election_results.yaml +59 -0
- data/lib/hlockey/game/actions.rb +1 -4
- data/lib/hlockey/game/fight.rb +36 -20
- data/lib/hlockey/game.rb +163 -96
- data/lib/hlockey/league.rb +138 -34
- data/lib/hlockey/message.rb +75 -26
- data/lib/hlockey/player.rb +19 -9
- data/lib/hlockey/team.rb +16 -23
- data/lib/hlockey/utils.rb +4 -1
- data/lib/hlockey/version.rb +1 -1
- data/lib/hlockey/weather.rb +80 -26
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1de4c3a62d155d351f3e70762c288facd94b659e2b68490d6dc60ed66752d624
|
4
|
+
data.tar.gz: db307b1059530bb112ef52c4cd34f51acf1d458f37409ba4d6b24bafd2b53a0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd5228c47f5b14c1dedab1e1cbb43e88d137cf46f4562fe663378edd639356bdaedee15fd391e936ac931a525ca8bc6e69e08164f9c81e50e7b3ab66c8a2ddd9
|
7
|
+
data.tar.gz: 3d9cad5780acb2d00c18ab994ea0c7fef056d162777947f4ef239b208591f1638b0ddd1f39172e8fbb30bd2fb698d4118b7890af7e43074f7b711ddffc6bef36
|
data/data/election.yaml
CHANGED
@@ -1,16 +1,21 @@
|
|
1
1
|
---
|
2
2
|
:Bribery:
|
3
|
-
:
|
3
|
+
:Stadiums: Give each team a home.
|
4
4
|
:Lootboxes: Encourage children to gamble.
|
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 114 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
|
+
Waves replaces a player on a team's roster with a random player from their shadows.
|
21
|
+
Chicken is the same as Waves, but only for the rest of the game instead of permanently.
|
22
|
+
Inclines adds a random amount of score to a favored team's goals.
|
23
|
+
Sunset makes goals worth less the more teams score.
|
24
|
+
Stars gives the losing team +0.5 score at the end of each period.
|