Пример #1
0
 public void InitHeroData(OperationBluehole.Content.Character characterStat)
 {
     heroData = new CharacterData(
         characterStat.actualParams[(int)OperationBluehole.Content.ParamType.maxHp],
         characterStat.actualParams[(int)OperationBluehole.Content.ParamType.maxMp],
         0,
         characterStat.actualParams[(int)OperationBluehole.Content.ParamType.spRegn],
         characterStat.baseStats[(int)OperationBluehole.Content.StatType.Lev]);
 }