Refactor character attributes system; replace individual attributes with a dictionary-based approach for better scalability and maintainability
This commit is contained in:
19
Assets/Scripts/Data/Attribute.cs
Normal file
19
Assets/Scripts/Data/Attribute.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Data
|
||||
{
|
||||
public enum Attribute
|
||||
{
|
||||
Health,
|
||||
MaxHealth,
|
||||
MoveSpeed,
|
||||
Luck,
|
||||
Armor,
|
||||
Damage,
|
||||
RangedDamage,
|
||||
MeleeDamage,
|
||||
AttackRange,
|
||||
AttackSpeed,
|
||||
Level,
|
||||
Experience,
|
||||
BaseExperienceToNextLevel,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user