hlockey 6 → 7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/election.json +6 -3
- data/data/infinileague.json +189 -0
- data/data/information.json +2 -1
- data/data/league.json +789 -731
- data/data/messages.json +46 -0
- data/data/previous_election_results.json +32 -39
- data/lib/hlockey/game/fight.rb +78 -29
- data/lib/hlockey/game/weather/chicken.rb +2 -1
- data/lib/hlockey/game/weather/incline.rb +2 -1
- data/lib/hlockey/game/weather/stars.rb +1 -1
- data/lib/hlockey/game/weather/sunset.rb +1 -3
- data/lib/hlockey/game/weather/waves.rb +7 -9
- data/lib/hlockey/game/weather/weatherable.rb +4 -4
- data/lib/hlockey/game.rb +156 -115
- data/lib/hlockey/league.rb +47 -27
- data/lib/hlockey/message.rb +23 -151
- data/lib/hlockey/mod/fencebuilder.rb +1 -2
- data/lib/hlockey/mod/fencedestroyer.rb +1 -1
- data/lib/hlockey/mod/handholding.rb +18 -16
- data/lib/hlockey/mod/immaterial.rb +7 -5
- data/lib/hlockey/mod/locked.rb +9 -3
- data/lib/hlockey/mod/moddable.rb +25 -4
- data/lib/hlockey/mod/powernapper.rb +11 -7
- data/lib/hlockey/mod/punchy.rb +6 -2
- data/lib/hlockey/selfdescribable.rb +1 -3
- data/lib/hlockey/team/player.rb +3 -0
- data/lib/hlockey/team.rb +3 -3
- data/lib/hlockey/utils.rb +36 -4
- data/lib/hlockey/version.rb +1 -1
- data/lib/hlockey.rb +15 -0
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7847c0a00df20b8509e6714c9f00ee3e9a00616994348c8694d964364c3d14b
|
4
|
+
data.tar.gz: a48ca6d707ec4c0e842c829653c6156daf1201b403d77669e97013487a8275b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a77a3869f3639672eb2d43e449e7f8f66937f0a05af018545a369198b3b2765aad8b606c12b378fad406d5a67de644505a6dcc4330094ae0a1dca2fe4338615d
|
7
|
+
data.tar.gz: 5e426bed31e2be5aff7e1f82e5e449aee106f2b1a953f64c8f55cf7f2b074b39043e9df72c692d540466713e9a3f75013a5b97a95508887c5f3a88dd7faab8b4
|
data/data/election.json
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
{
|
2
|
+
"Bribery": {
|
3
|
+
"Lootboxes": "Allow betting for votes.",
|
4
|
+
"Make Laws": "Write down the rules of the game.",
|
5
|
+
"We Do A Little Losing": "Recognize the losingest teams with an underbracket."
|
6
|
+
},
|
2
7
|
"Treasure": {
|
3
8
|
"Dave": "The worst stat on your team is set to 4.5.",
|
4
9
|
"Nice": "Boost your worst player by 0.69 in every stat.",
|
5
10
|
"Vengabus": "All your team's stats are boosted by your team's losses * 0.005.",
|
6
11
|
"Shared Training": "All teams in your division get +0.3 in each stat on each player.",
|
7
|
-
"Theft": "Your worst player steals 0.3 in every stat from the champion team's best player."
|
8
|
-
"Shadow Lock": "Draft a new player to shadows, then give all your shadows the Locked mod (can not move positions)."
|
12
|
+
"Theft": "Your worst player steals 0.3 in every stat from the champion team's best player."
|
9
13
|
},
|
10
14
|
"Coaching": {
|
11
15
|
"Please Block Shots": "Move your team's best defensive player to goalie.",
|
@@ -13,7 +17,6 @@
|
|
13
17
|
"Draft": "Add a new random player to your shadows.",
|
14
18
|
"Small Gamble": "All your team's stats go up or down by 0.5 at random.",
|
15
19
|
"Big Gamble": "All your team's stats go up or down by 1.0 at random.",
|
16
|
-
"Revolution": "Your team's best player and worst player split their stats evenly.",
|
17
20
|
"Clock Wise": "Rotate each player on the roster to the position clockwise of them.",
|
18
21
|
"Clock Unwise": "Rotate each player on the roster to the position counterclockwise of them."
|
19
22
|
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
{
|
2
|
+
"infinite": true,
|
3
|
+
"start_time": [
|
4
|
+
2024,
|
5
|
+
2,
|
6
|
+
17,
|
7
|
+
9,
|
8
|
+
0,
|
9
|
+
0
|
10
|
+
],
|
11
|
+
"divisions": {
|
12
|
+
"Left": [
|
13
|
+
{
|
14
|
+
"name": "Sticks",
|
15
|
+
"color": "#998779",
|
16
|
+
"emoji": "🥁",
|
17
|
+
"motto": "We Will Beat You",
|
18
|
+
"stadium": {
|
19
|
+
"full_name": "Percussion Park",
|
20
|
+
"hlockey_type": "Infinite"
|
21
|
+
},
|
22
|
+
"roster": {
|
23
|
+
"lwing": {
|
24
|
+
"name": "Lip",
|
25
|
+
"stats": {
|
26
|
+
"offense": 0.3181884534688606,
|
27
|
+
"defense": 4.580524160569896,
|
28
|
+
"agility": 0.15640073646139452
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"center": {
|
32
|
+
"name": "Chop",
|
33
|
+
"stats": {
|
34
|
+
"offense": 4.875252577856671,
|
35
|
+
"defense": 0.8094921670921873,
|
36
|
+
"agility": 2.678991072719285
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"rwing": {
|
40
|
+
"name": "Bread",
|
41
|
+
"stats": {
|
42
|
+
"offense": 0.5278068643819789,
|
43
|
+
"defense": 1.2335354031153034,
|
44
|
+
"agility": 1.4444282175174545
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"ldef": {
|
48
|
+
"name": "Slap",
|
49
|
+
"stats": {
|
50
|
+
"offense": 4.329623167456419,
|
51
|
+
"defense": 3.902526905905031,
|
52
|
+
"agility": 1.0818908808981431
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"goalie": {
|
56
|
+
"name": "Dip",
|
57
|
+
"stats": {
|
58
|
+
"offense": 4.92858426903441,
|
59
|
+
"defense": 1.7756137682749134,
|
60
|
+
"agility": 4.928007605788166
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"rdef": {
|
64
|
+
"name": "Dynamite",
|
65
|
+
"stats": {
|
66
|
+
"offense": 0.8646781011971444,
|
67
|
+
"defense": 2.6208562009642753,
|
68
|
+
"agility": 3.680570600416569
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"shadows": [
|
73
|
+
{
|
74
|
+
"name": "Gear",
|
75
|
+
"stats": {
|
76
|
+
"offense": 3.1065463132077498,
|
77
|
+
"defense": 2.5388468723736346,
|
78
|
+
"agility": 0.39565973708324376
|
79
|
+
}
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"name": "Walking",
|
83
|
+
"stats": {
|
84
|
+
"offense": 2.6359786567435273,
|
85
|
+
"defense": 3.320740955624657,
|
86
|
+
"agility": 0.5425365383826708
|
87
|
+
}
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"name": "Swizzle",
|
91
|
+
"stats": {
|
92
|
+
"offense": 4.444577026661491,
|
93
|
+
"defense": 3.524067671097182,
|
94
|
+
"agility": 3.470221005477506
|
95
|
+
}
|
96
|
+
}
|
97
|
+
]
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"Right": [
|
101
|
+
{
|
102
|
+
"name": "Rocks",
|
103
|
+
"color": "#779184",
|
104
|
+
"emoji": "🗿",
|
105
|
+
"motto": "Rock Solid",
|
106
|
+
"stadium": {
|
107
|
+
"full_name": "Stone Island Arena",
|
108
|
+
"hlockey_type": "Infinite"
|
109
|
+
},
|
110
|
+
"roster": {
|
111
|
+
"lwing": {
|
112
|
+
"name": "Sandstone",
|
113
|
+
"stats": {
|
114
|
+
"offense": 0.6029529674877171,
|
115
|
+
"defense": 2.6262559080400045,
|
116
|
+
"agility": 1.0985317197638573
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"center": {
|
120
|
+
"name": "Basalt",
|
121
|
+
"stats": {
|
122
|
+
"offense": 2.779460944444192,
|
123
|
+
"defense": 2.9027784198992794,
|
124
|
+
"agility": 1.8943564825874586
|
125
|
+
}
|
126
|
+
},
|
127
|
+
"rwing": {
|
128
|
+
"name": "Diorite",
|
129
|
+
"stats": {
|
130
|
+
"offense": 2.7705966853706885,
|
131
|
+
"defense": 1.1853552989454719,
|
132
|
+
"agility": 2.4384286228744436
|
133
|
+
}
|
134
|
+
},
|
135
|
+
"ldef": {
|
136
|
+
"name": "Obsidian",
|
137
|
+
"stats": {
|
138
|
+
"offense": 1.0776592042101774,
|
139
|
+
"defense": 2.0089471749684815,
|
140
|
+
"agility": 3.4387370564240842
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"goalie": {
|
144
|
+
"name": "Coal",
|
145
|
+
"stats": {
|
146
|
+
"offense": 3.014303638737823,
|
147
|
+
"defense": 2.125462646021839,
|
148
|
+
"agility": 1.2453998715920045
|
149
|
+
}
|
150
|
+
},
|
151
|
+
"rdef": {
|
152
|
+
"name": "Flint",
|
153
|
+
"stats": {
|
154
|
+
"offense": 4.4103267416711525,
|
155
|
+
"defense": 1.3047233085627012,
|
156
|
+
"agility": 2.832114238418354
|
157
|
+
}
|
158
|
+
}
|
159
|
+
},
|
160
|
+
"shadows": [
|
161
|
+
{
|
162
|
+
"name": "Slate",
|
163
|
+
"stats": {
|
164
|
+
"offense": 3.9197087896075318,
|
165
|
+
"defense": 4.724128827526378,
|
166
|
+
"agility": 1.2102827884457974
|
167
|
+
}
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"name": "Marble",
|
171
|
+
"stats": {
|
172
|
+
"offense": 2.8179962040363367,
|
173
|
+
"defense": 4.141585991287005,
|
174
|
+
"agility": 2.586546588041913
|
175
|
+
}
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"name": "Quartzite",
|
179
|
+
"stats": {
|
180
|
+
"offense": 4.113451181841506,
|
181
|
+
"defense": 4.656377884252652,
|
182
|
+
"agility": 0.44657994069096096
|
183
|
+
}
|
184
|
+
}
|
185
|
+
]
|
186
|
+
}
|
187
|
+
]
|
188
|
+
}
|
189
|
+
}
|
data/data/information.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"Format": "First is the regular season, with matchups lasting 3 games.\nTeams play 3 matchups against every team in their subleague (warm / cool).\nAfter that, they play 1 matchup against the rest of the teams.\nThis adds up to 37 matchups, or 111 games.\nAfter the regular season is the playoffs, with matchups lasting 5 games.\nThe playoffs are a single-elimination tournament.\nThe top teams in each division as well as the top 4 non-division leaders go to playoffs.\nPlayoffs are perfectly seeded (best team plays worst team, etc).\nPlayoffs have 3 matchups, or 15 games.",
|
3
3
|
"Elections": "During each season, everyone can vote on the website for things that change the league.\nBriberies effect the entire league.\nTreasures are won on a raffle between the teams.\nCoachings are given to each team, with teams getting the coaching they vote for the most.",
|
4
|
-
"Weather": "Hlockey has different weathers which effect the games, similar to Blaseball.\nAudacity causes players to take shots regardless of the state of the game.\nChicken swaps a random roster player with a random shadow player for the rest of the game.\nIncline adds a random amount of score to a favored team's goals.\nStars gives the losing team +0.5 score at the end of each period.\nSunset makes each team's goals worth less the more the team scores.\nWaves swaps a roster player (most likely worst) with a random shadow player permanently."
|
4
|
+
"Weather": "Hlockey has different weathers which effect the games, similar to Blaseball.\nAudacity causes players to take shots regardless of the state of the game.\nChicken swaps a random roster player with a random shadow player for the rest of the game.\nIncline adds a random amount of score to a favored team's goals.\nStars gives the losing team +0.5 score at the end of each period.\nSunset makes each team's goals worth less the more the team scores.\nWaves swaps a roster player (most likely worst) with a random shadow player permanently.",
|
5
|
+
"Credits": "Hlockey would not be where it is today without the support of the community surrounding it as well as the wider Blaseball community.\nFor a more complete list of all the people and projects that inspired Hlockey, please see the \"Inspirations\" section of the project's readme (https://codeberg.org/LavenderPerry/hlockey/src/branch/main/readme.md#inspirations)"
|
5
6
|
}
|