@quenty/rogue-humanoid 3.25.0 → 3.26.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 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
+ # [3.26.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-humanoid@3.25.0...@quenty/rogue-humanoid@3.26.0) (2023-07-12)
7
+
8
+
9
+ ### Features
10
+
11
+ * Add UseJumpPower and JumpPower properties ([a23e46b](https://github.com/Quenty/NevermoreEngine/commit/a23e46b4406db47bc2240827b85ea093bebaec21))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.25.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-humanoid@3.24.2...@quenty/rogue-humanoid@3.25.0) (2023-07-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/rogue-humanoid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/rogue-humanoid",
3
- "version": "3.25.0",
3
+ "version": "3.26.0",
4
4
  "description": "Roguelike humanoid properties which can be modified",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "6c9093879c4547ca55a7b42842e35ad277cc0f08"
44
+ "gitHead": "f2cd069a7afaecfcc3769f0e24846386998b63c0"
45
45
  }
@@ -31,8 +31,13 @@ function RogueHumanoidBase.new(humanoid, serviceBag)
31
31
  self._maid:GiveTask(self._properties.WalkSpeed:Observe():Subscribe(function(walkSpeed)
32
32
  self._obj.WalkSpeed = walkSpeed
33
33
  end))
34
+ self._maid:GiveTask(self._properties.CharacterUseJumpPower:Observe():Subscribe(function(useJumpPower)
35
+ self._obj.UseJumpPower = useJumpPower
36
+ end))
37
+ self._maid:GiveTask(self._properties.JumpPower:Observe():Subscribe(function(jumpPower)
38
+ self._obj.JumpPower = jumpPower
39
+ end))
34
40
  self._maid:GiveTask(self._properties.JumpHeight:Observe():Subscribe(function(jumpHeight)
35
- self._obj.UseJumpPower = false
36
41
  self._obj.JumpHeight = jumpHeight
37
42
  end))
38
43
 
@@ -11,6 +11,8 @@ local RoguePropertyTableDefinition = require("RoguePropertyTableDefinition")
11
11
  return RoguePropertyTableDefinition.new("RogueHumanoidProperties", {
12
12
  WalkSpeed = StarterPlayer.CharacterWalkSpeed;
13
13
  JumpHeight = StarterPlayer.CharacterJumpHeight;
14
+ JumpPower = StarterPlayer.CharacterJumpPower;
15
+ CharacterUseJumpPower = StarterPlayer.CharacterUseJumpPower;
14
16
 
15
17
  Scale = 1;
16
18
  ScaleMax = 20;