Exemplo n.º 1
0
		public static void recordBuffState(BattleBuffRecord _buffRecord, List<BattleFighter> fighterList)
		{
			foreach (BattleFighter _fighter in fighterList)
			{
				if (_fighter.Dead)
				{
					continue;
				}
				SingleFighterRecord _singleRecord = _buffRecord.OrCreateRecord;
				BattleRecordHelper.initFighterRecord(_fighter, _singleRecord);
				_singleRecord.StateFlag = _fighter.FighterStateFlag;
				_fighter.updateStateRecord(_singleRecord);
				_buffRecord.finishCurRecord();
			}
		}