Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Vital : ModifiedStat {
- private int _curValue;
- public Vital()
- {
- _curValue = 0;
- NextLevel = 50;
- NextLevelModifier = 1.1f;
- }
- public int CurValue
- {
- get
- {
- return _curValue;
- }
- set
- {
- _curValue = value;
- if (_curValue > BuffedValue)
- _curValue = BuffedValue;
- }
- }
- }
- public enum VitalName
- {
- Health,
- Energy,
- Mana
- }
Advertisement
Add Comment
Please, Sign In to add comment