Battle Talent  V11
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CrossLink.AttrModifier Class Reference

Public Member Functions

void SetState (string n, float i)
 
void RemoveState (string n)
 
float GetState (string n)
 
float ApplyModifier (string attrName, ValueModifier valueMod, float target)
 
float UnApplyModifier (string attrName, ValueModifier valueMod, float target)
 
ValueModifier GetModifier (string attrName, int modId)
 
ValueModifier GetModifierByIndex (string attrName, int index)
 
int AddModifier (string attrName, ValueModifier valueMod)
 
void RemoveModifier (string attrName, ValueModifier valueMod)
 

Public Attributes

Dictionary< string, float > attrState = null
 
Dictionary< string, List< ValueModifier > > modiDict = null
 

Static Public Attributes

const float INVALID_STATE = -8888888