Loading...
Searching...
No Matches
AdventureCore.TieredStat Class Reference

Detailed Description

stat that increases by some value for every point in an attribute
how much it increases at a particular value is defined in tiers
this can be used to implement diminishing or increasing returns
for example vitality could increase health by 10 for the first 5 points and then by some other value

https://adventure.softleitner.com/manual/attribute

Inheritance diagram for AdventureCore.TieredStat:
AdventureCore.AttributeStat

Classes

class  Tier
 

Public Member Functions

override int GetValue (AttributePool attributePool, int baseValue)
 
override IEnumerable< AttributeTypeGetContributors ()
 
- Public Member Functions inherited from AdventureCore.AttributeStat
int GetValue (AttributePool attributePool, int baseValue)
 calculate the stat value
 
IEnumerable< AttributeTypeGetContributors ()
 retrieves the attributes that contribute to the stats calculation
 

Public Attributes

AttributeType AttributeType
 
Tier[] Tiers