Player Attributes and Scaling - 26th December
- Ibrahim Hussain
- Dec 26, 2023
- 1 min read
Added a component for mana, which will be used for magic
Added player attributes for health, stamina and mana as well as strength, arcane and dexterity.
Added attributes for player resistances such as fire, ice, holy and rot resistances.
The player attributes now scale with an in-game stat. The vigor attribute scales with health, the more vigor a player has the more health he has. The other attributes include: Endurance for stamina Mind for mana Strength for heavy weapon damage and physical resistance Arcane allows the use of arcane weapons Dexterity for light and medium weapon damage Faith for spell damage
Added weapon attributes. Each attribute will do a different type of damage. Strength and dexterity for physical damage Mind for magic damage Faith for fire, ice and holy damage Arcane for rot damage
Added weapon scaling. Each weapon has a primary and secondary attribute each with a rank this determines how much they scale based on this attribute. For example: Strength: A rank Faith: C rank This weapon will do more damage if the player has a higher strength attribute and will also do more damage from a high holy attribute. Issues
The attribute system was very large and complicated so the system was split into different components that could then be attached to different entities such as the player, NPCs or weapons.
Comments