@quenty/humanoidspeed 12.23.0 → 12.23.1-canary.545.2374fb2.0
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.
- package/CHANGELOG.md +11 -0
- package/package.json +9 -9
- package/src/Server/HumanoidSpeed.lua +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [12.23.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/humanoidspeed@12.23.0...@quenty/humanoidspeed@12.23.1-canary.545.2374fb2.0) (2025-04-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [12.23.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/humanoidspeed@12.22.5...@quenty/humanoidspeed@12.23.0) (2025-04-02)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/humanoidspeed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/humanoidspeed",
|
|
3
|
-
"version": "12.23.0",
|
|
3
|
+
"version": "12.23.1-canary.545.2374fb2.0",
|
|
4
4
|
"description": "Handles humanoid speed in a centralized location",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"Quenty"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@quenty/baseobject": "
|
|
31
|
-
"@quenty/binder": "
|
|
32
|
-
"@quenty/characterutils": "
|
|
33
|
-
"@quenty/loader": "
|
|
34
|
-
"@quenty/promise": "
|
|
35
|
-
"@quenty/rogue-humanoid": "
|
|
36
|
-
"@quenty/table": "
|
|
30
|
+
"@quenty/baseobject": "10.8.1-canary.545.2374fb2.0",
|
|
31
|
+
"@quenty/binder": "14.19.1-canary.545.2374fb2.0",
|
|
32
|
+
"@quenty/characterutils": "12.18.1-canary.545.2374fb2.0",
|
|
33
|
+
"@quenty/loader": "10.8.1-canary.545.2374fb2.0",
|
|
34
|
+
"@quenty/promise": "10.10.2-canary.545.2374fb2.0",
|
|
35
|
+
"@quenty/rogue-humanoid": "10.23.1-canary.545.2374fb2.0",
|
|
36
|
+
"@quenty/table": "3.7.2-canary.545.2374fb2.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
|
|
42
42
|
}
|
|
@@ -21,7 +21,7 @@ HumanoidSpeed.__index = HumanoidSpeed
|
|
|
21
21
|
@param serviceBag ServiceBag
|
|
22
22
|
@return HumanoidSpeed
|
|
23
23
|
]=]
|
|
24
|
-
function HumanoidSpeed.new(humanoid, serviceBag)
|
|
24
|
+
function HumanoidSpeed.new(humanoid: Humanoid, serviceBag)
|
|
25
25
|
local self = setmetatable(BaseObject.new(humanoid), HumanoidSpeed)
|
|
26
26
|
|
|
27
27
|
self._serviceBag = assert(serviceBag, "No serviceBag")
|
|
@@ -43,7 +43,7 @@ end
|
|
|
43
43
|
@param multiplier number
|
|
44
44
|
@return function -- Cleanup function
|
|
45
45
|
]=]
|
|
46
|
-
function HumanoidSpeed:ApplySpeedMultiplier(multiplier)
|
|
46
|
+
function HumanoidSpeed:ApplySpeedMultiplier(multiplier: number)
|
|
47
47
|
assert(type(multiplier) == "number", "Bad multiplier")
|
|
48
48
|
assert(multiplier >= 0, "Bad multiplier")
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ end
|
|
|
55
55
|
@param amount number
|
|
56
56
|
@return function -- Cleanup function
|
|
57
57
|
]=]
|
|
58
|
-
function HumanoidSpeed:ApplySpeedAdditive(amount)
|
|
58
|
+
function HumanoidSpeed:ApplySpeedAdditive(amount: number)
|
|
59
59
|
assert(type(amount) == "number", "Bad amount")
|
|
60
60
|
|
|
61
61
|
return self._properties.WalkSpeed:CreateAdditive(amount)
|