@quenty/rogue-humanoid 10.23.4-canary.559.9f38947.0 → 10.24.0-canary.559.b31717d.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 +1 -1
- package/package.json +16 -16
- package/src/Client/RogueHumanoidClient.lua +2 -2
- package/src/Client/RogueHumanoidServiceClient.lua +1 -1
- package/src/Server/RogueHumanoid.lua +2 -2
- package/src/Server/RogueHumanoidService.lua +1 -1
- package/src/Shared/RogueHumanoidBase.lua +9 -7
- package/src/Shared/RogueHumanoidProperties.lua +9 -9
- package/test/scripts/Server/ServerMain.server.lua +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
|
|
6
|
+
# [10.24.0-canary.559.b31717d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-humanoid@10.23.3...@quenty/rogue-humanoid@10.24.0-canary.559.b31717d.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/rogue-humanoid",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.24.0-canary.559.b31717d.0",
|
|
4
4
|
"description": "Roguelike humanoid properties which can be modified",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/adorneedata": "7.
|
|
29
|
-
"@quenty/attributeutils": "14.
|
|
30
|
-
"@quenty/baseobject": "10.8.
|
|
31
|
-
"@quenty/binder": "14.
|
|
32
|
-
"@quenty/brio": "14.
|
|
33
|
-
"@quenty/characterutils": "12.
|
|
34
|
-
"@quenty/loader": "10.8.
|
|
35
|
-
"@quenty/maid": "3.4.
|
|
36
|
-
"@quenty/playerhumanoidbinder": "14.
|
|
37
|
-
"@quenty/rogue-properties": "11.
|
|
38
|
-
"@quenty/rx": "13.
|
|
39
|
-
"@quenty/servicebag": "11.
|
|
40
|
-
"@quenty/table": "3.7.
|
|
41
|
-
"@quenty/valueobject": "13.
|
|
28
|
+
"@quenty/adorneedata": "7.19.0-canary.559.b31717d.0",
|
|
29
|
+
"@quenty/attributeutils": "14.18.0-canary.559.b31717d.0",
|
|
30
|
+
"@quenty/baseobject": "10.8.3",
|
|
31
|
+
"@quenty/binder": "14.20.0-canary.559.b31717d.0",
|
|
32
|
+
"@quenty/brio": "14.18.0-canary.559.b31717d.0",
|
|
33
|
+
"@quenty/characterutils": "12.19.0-canary.559.b31717d.0",
|
|
34
|
+
"@quenty/loader": "10.8.3",
|
|
35
|
+
"@quenty/maid": "3.4.3",
|
|
36
|
+
"@quenty/playerhumanoidbinder": "14.20.0-canary.559.b31717d.0",
|
|
37
|
+
"@quenty/rogue-properties": "11.23.0-canary.559.b31717d.0",
|
|
38
|
+
"@quenty/rx": "13.18.0-canary.559.b31717d.0",
|
|
39
|
+
"@quenty/servicebag": "11.12.0-canary.559.b31717d.0",
|
|
40
|
+
"@quenty/table": "3.7.4",
|
|
41
|
+
"@quenty/valueobject": "13.18.0-canary.559.b31717d.0"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "b31717d8c9f7620c457f5018a2affa760a65334a"
|
|
47
47
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
local require = require(script.Parent.loader).load(script)
|
|
6
6
|
|
|
7
|
-
local Binder = require("Binder")
|
|
8
7
|
local RogueHumanoidBase = require("RogueHumanoidBase")
|
|
8
|
+
local Binder = require("Binder")
|
|
9
9
|
|
|
10
10
|
local RogueHumanoidClient = setmetatable({}, RogueHumanoidBase)
|
|
11
11
|
RogueHumanoidClient.ClassName = "RogueHumanoidClient"
|
|
@@ -17,4 +17,4 @@ function RogueHumanoidClient.new(humanoid, serviceBag)
|
|
|
17
17
|
return self
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
-
return Binder.new("RogueHumanoid", RogueHumanoidClient)
|
|
20
|
+
return Binder.new("RogueHumanoid", RogueHumanoidClient)
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
local require = require(script.Parent.loader).load(script)
|
|
6
6
|
|
|
7
|
-
local PlayerHumanoidBinder = require("PlayerHumanoidBinder")
|
|
8
7
|
local RogueHumanoidBase = require("RogueHumanoidBase")
|
|
8
|
+
local PlayerHumanoidBinder = require("PlayerHumanoidBinder")
|
|
9
9
|
|
|
10
10
|
local RogueHumanoid = setmetatable({}, RogueHumanoidBase)
|
|
11
11
|
RogueHumanoid.ClassName = "RogueHumanoid"
|
|
@@ -17,4 +17,4 @@ function RogueHumanoid.new(humanoid, serviceBag)
|
|
|
17
17
|
return self
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
-
return PlayerHumanoidBinder.new("RogueHumanoid", RogueHumanoid)
|
|
20
|
+
return PlayerHumanoidBinder.new("RogueHumanoid", RogueHumanoid)
|
|
@@ -16,10 +16,10 @@ local RxRootPartUtils = require("RxRootPartUtils")
|
|
|
16
16
|
local ValueObject = require("ValueObject")
|
|
17
17
|
|
|
18
18
|
local GROWTH_VALUE_NAMES = {
|
|
19
|
-
"HeadScale"
|
|
20
|
-
"BodyDepthScale"
|
|
21
|
-
"BodyHeightScale"
|
|
22
|
-
"BodyWidthScale"
|
|
19
|
+
"HeadScale";
|
|
20
|
+
"BodyDepthScale";
|
|
21
|
+
"BodyHeightScale";
|
|
22
|
+
"BodyWidthScale";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
type ScaleState = {
|
|
@@ -162,9 +162,11 @@ function RogueHumanoidBase:_updateScaleValue(numberValue: NumberValue, state: Sc
|
|
|
162
162
|
local max = state.maxSize
|
|
163
163
|
local min = state.minSize
|
|
164
164
|
|
|
165
|
-
local multiplier = min
|
|
165
|
+
local multiplier = min
|
|
166
|
+
+ (math.exp(r*t)*(-min + max))/(math.exp(r*t)
|
|
167
|
+
+ (-i + max)/(i - min))
|
|
166
168
|
|
|
167
|
-
numberValue.Value = initialValue
|
|
169
|
+
numberValue.Value = initialValue*multiplier
|
|
168
170
|
end
|
|
169
171
|
|
|
170
|
-
return RogueHumanoidBase
|
|
172
|
+
return RogueHumanoidBase
|
|
@@ -9,14 +9,14 @@ local StarterPlayer = game:GetService("StarterPlayer")
|
|
|
9
9
|
local RoguePropertyTableDefinition = require("RoguePropertyTableDefinition")
|
|
10
10
|
|
|
11
11
|
return RoguePropertyTableDefinition.new("RogueHumanoidProperties", {
|
|
12
|
-
WalkSpeed = StarterPlayer.CharacterWalkSpeed
|
|
13
|
-
JumpHeight = StarterPlayer.CharacterJumpHeight
|
|
14
|
-
JumpPower = StarterPlayer.CharacterJumpPower
|
|
15
|
-
CharacterUseJumpPower = StarterPlayer.CharacterUseJumpPower
|
|
12
|
+
WalkSpeed = StarterPlayer.CharacterWalkSpeed;
|
|
13
|
+
JumpHeight = StarterPlayer.CharacterJumpHeight;
|
|
14
|
+
JumpPower = StarterPlayer.CharacterJumpPower;
|
|
15
|
+
CharacterUseJumpPower = StarterPlayer.CharacterUseJumpPower;
|
|
16
16
|
|
|
17
|
-
Scale = 1
|
|
18
|
-
ScaleMax = 20
|
|
19
|
-
ScaleMin = 0.2
|
|
17
|
+
Scale = 1;
|
|
18
|
+
ScaleMax = 20;
|
|
19
|
+
ScaleMin = 0.2;
|
|
20
20
|
|
|
21
|
-
MaxHealth = 100
|
|
22
|
-
})
|
|
21
|
+
MaxHealth = 100;
|
|
22
|
+
})
|