albibong 1.0.5__py3-none-any.whl → 1.0.6__py3-none-any.whl
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.
- albibong/classes/character.py +9 -3
- albibong/gui_dist/assets/index-Dt6hyZiS.css +1 -0
- albibong/gui_dist/assets/index-WIuC9Mnh.js +161 -0
- albibong/gui_dist/index.html +2 -2
- albibong/requirements.txt +0 -1
- albibong/threads/websocket_server.py +28 -0
- {albibong-1.0.5.dist-info → albibong-1.0.6.dist-info}/METADATA +1 -2
- {albibong-1.0.5.dist-info → albibong-1.0.6.dist-info}/RECORD +11 -9
- {albibong-1.0.5.dist-info → albibong-1.0.6.dist-info}/WHEEL +0 -0
- {albibong-1.0.5.dist-info → albibong-1.0.6.dist-info}/entry_points.txt +0 -0
- {albibong-1.0.5.dist-info → albibong-1.0.6.dist-info}/licenses/LICENSE +0 -0
albibong/classes/character.py
CHANGED
|
@@ -71,7 +71,7 @@ class Character:
|
|
|
71
71
|
self.fame_gained += fame
|
|
72
72
|
event = {
|
|
73
73
|
"type": "update_fame",
|
|
74
|
-
"payload": {"username": self.username, "fame_gained":
|
|
74
|
+
"payload": {"username": self.username, "fame_gained": self.fame_gained},
|
|
75
75
|
}
|
|
76
76
|
send_event(event)
|
|
77
77
|
|
|
@@ -80,7 +80,10 @@ class Character:
|
|
|
80
80
|
self.re_spec_gained += re_spec
|
|
81
81
|
event = {
|
|
82
82
|
"type": "update_re_spec",
|
|
83
|
-
"payload": {
|
|
83
|
+
"payload": {
|
|
84
|
+
"username": self.username,
|
|
85
|
+
"re_spec_gained": self.re_spec_gained,
|
|
86
|
+
},
|
|
84
87
|
}
|
|
85
88
|
send_event(event)
|
|
86
89
|
|
|
@@ -91,7 +94,10 @@ class Character:
|
|
|
91
94
|
self.silver_gained += silver
|
|
92
95
|
event = {
|
|
93
96
|
"type": "update_silver",
|
|
94
|
-
"payload": {
|
|
97
|
+
"payload": {
|
|
98
|
+
"username": self.username,
|
|
99
|
+
"silver_gained": self.silver_gained,
|
|
100
|
+
},
|
|
95
101
|
}
|
|
96
102
|
send_event(event)
|
|
97
103
|
else:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*{box-sizing:border-box}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p{margin:0}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}#root,body{margin:auto;display:flex;flex-direction:column;justify-content:start;align-items:center;min-width:320px;min-height:100vh;color:#fff;width:100%}h1{font-size:2em;line-height:1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}._dmgBar_uvx94_1{background:linear-gradient(135deg,#ff6486,#6486ff);height:6px;border-radius:8px;margin-bottom:2px}._healBar_uvx94_8{background:linear-gradient(135deg,#64ffde,#64ff90);height:2px;border-radius:4px}._dpsContainer_uvx94_14{display:flex;flex-direction:column;justify-content:flex-start;width:100%;gap:4px;box-sizing:content-box;padding:16px}._dpsRow_uvx94_24{display:flex;flex-direction:row;justify-content:space-between;align-items:center}._dpsNumber_uvx94_31{width:128px;text-align:right}._dpsButton_uvx94_36{display:flex;flex-grow:1;gap:1rem}._hidden_uvx94_42{display:none}._player_uvx94_46{flex-grow:1}._checkboxColor_uvx94_50{accent-color:#64d3ff}._dungeonContainer_3nxyx_1{border-radius:1rem;width:100%;padding:2rem;display:flex;flex-direction:column;gap:1rem}._tag_3nxyx_12{background-color:#64d3ff;padding:0 1rem;border-radius:1rem;color:#0f3c4e;font-weight:700}._stickToTop_3nxyx_20{z-index:10;position:sticky;top:64px;left:0;width:100%;padding:24px 0}._container_pkz1i_1{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;gap:1.5rem}._snackbar_pkz1i_10{position:fixed;right:64px}._stats_pkz1i_15{display:flex;flex-direction:row;align-items:center;gap:.5rem}._options_pkz1i_22{display:flex;flex-direction:row;align-items:center;gap:2rem}._row_pkz1i_29{display:flex;width:100%;justify-content:space-between}._hidden_pkz1i_35{display:none}
|