Design - In Practice
This covers some things you may want to do in practice.
Beyond the example demo
Level Up
myAttributesClass.AddLevel(1);Scale Damage Output By Strength
int myDmgOutput = (int)(myBaseDamage * myAttributesClass.GetBase(AttType.Strength));Scale Damage Input By Endurance
int reducedDamage = (int)(incomingDamage / myAttributesClass.Get(AttType.Endurance));Add a Modifier (such as "Weaken: -3 STR for 5 sec")
Last updated