diff --git a/MrBigsock/Assets/Code/Item/Items/ItemPremature.cs b/MrBigsock/Assets/Code/Item/Items/ItemPremature.cs new file mode 100644 index 0000000000000000000000000000000000000000..425b589fe898cce0c8090ee6cbe387d7a9c7f631 --- /dev/null +++ b/MrBigsock/Assets/Code/Item/Items/ItemPremature.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.InputSystem; + + +namespace BigSock.Item { + + /* + A passive item that increases user's running speed by 50%. + */ + public class ItemPremature : PassiveItemBase { + public override ulong Id => 104; + public override string Name => "Premature"; + public override string Description => "Increases projectile speed by 50%"; + + public ItemPremature() { + Modifier = new CharacterStats{ + ProjectileSpeed = 0.5f, + }; + } + + } +} \ No newline at end of file diff --git a/MrBigsock/Assets/Code/Item/Items/ItemPremature.cs.meta b/MrBigsock/Assets/Code/Item/Items/ItemPremature.cs.meta new file mode 100644 index 0000000000000000000000000000000000000000..0f9661247ffed19ed9760fee1cb7b1e2f96db267 --- /dev/null +++ b/MrBigsock/Assets/Code/Item/Items/ItemPremature.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1376b5ed2e6b68949be4690ddc930187 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/MrBigsock/Assets/Code/PlayerController.cs b/MrBigsock/Assets/Code/PlayerController.cs index f0b676cc5e2a76b9e1d82e4b401434e29f925901..484a078495692ab20b6c90b35c43f42d3664719b 100644 --- a/MrBigsock/Assets/Code/PlayerController.cs +++ b/MrBigsock/Assets/Code/PlayerController.cs @@ -60,6 +60,7 @@ namespace BigSock { TryPickUpItem(ItemService.SINGLETON.Get(201)); TryPickUpItem(ItemService.SINGLETON.Get(201)); TryPickUpItem(ItemService.SINGLETON.Get(202)); + TryPickUpItem(ItemService.SINGLETON.Get(101)); var tmp = PrefabService.SINGLETON; _testAttack = (IAttack) AbilityService.SINGLETON.Get(101); _testAttack2 = (IAttack) AbilityService.SINGLETON.Get(102);