diff --git a/MrBigsock/Assets/Code/PlayerController.cs b/MrBigsock/Assets/Code/PlayerController.cs index 0846bcf016754b51643f1866165dd5815e2d84a5..15c7d2c601ffde36f79db068995fd553fea12188 100644 --- a/MrBigsock/Assets/Code/PlayerController.cs +++ b/MrBigsock/Assets/Code/PlayerController.cs @@ -13,7 +13,7 @@ using BigSock.Service; namespace BigSock { // Takes and handles input and movement for a player character - public class PlayerController : Character + public partial class PlayerController : Character { public UtilBar utilBar; @@ -226,4 +226,64 @@ namespace BigSock { } } } + + + /* + Skills related code. + */ + public partial class PlayerController { + + + /* + The number of skill points the user has at their disposal. + */ + public int SkillPoints { get; set; } + + /* + The amount of points the user has currently spent on each skill. + */ + public Skills Skills { get; set; } = new Skills(); + + /* + The maximum amount of points the user can spend on each skill. + */ + public Skills MaxSkills { get; set; } = new Skills{ + HP = 10, + SP = 10, + MP = 10, + Damage = 10, + Speed = 10, + Luck = 10, + Inventory = 10, + }; + + /* + How much a stat will increas each skill point. + */ + public CharacterStats StatIncreasePrSkillLevel { get; protected set; } = new CharacterStats { + //HP + MaxHP = 3f, + // MP + MaxMana = 2f, + RegenMana = 0.1f, + // SP + MaxStamina = 2f, + RegenStamina = 0.1f, + // Damage + Damage = 0.1f, + Knockback = 0.1f, + Range = 0.1f, + // Speed + MoveSpeed = 0.1f, + AttackSpeed = 0.1f, + ProjectileSpeed = 0.1f, + // Luck? + CritChance = 0.05f, + CritDamageModifier = 0.1f, + // Inventory? + }; + + + } + }