Пример #1
0
 public void PropertyAddition(enCharacterProperty target, enCharacterProperty source)
 {
     propertyValues[(int)target] +=
         propertyValues[(int)target] *
         propertyValues[(int)source] *
         ConfigManager.propertyConfManager.dataMap[(int)source].levelrate;
 }
Пример #2
0
 public float GetProperty(enCharacterProperty type)
 {
     return(propertyValues[(int)type]);
 }
Пример #3
0
 public void SetProperty(enCharacterProperty type, float val)
 {
     propertyValues[(int)type] = val;
 }
Пример #4
0
 public void AdditionProperty(enCharacterProperty type, float val)
 {
     propertyValues[(int)type] = +val;
 }
Пример #5
0
 public void PropertyAddition(enCharacterProperty target, enCharacterProperty source)
 {
     propertyValues[(int)target] +=
         propertyValues[(int)target] *
         propertyValues[(int)source] * 0.01f;
 }