protected internal virtual void recordRound(SingleActionRecord singleRecord)
		{
			BattleRecordHelper.initSingleRecord(Owner, singleRecord);
			singleRecord.addProp(BattleRecordConstants.BATTLE_MONSTER_SKILL_ROUND, LeftRound);
		}
示例#2
0
		protected internal virtual void recordDamageInfo(Battle battle, int damage, SingleActionRecord record)
		{
			record.addProp(BattleRecordConstants.BATTLE_HERO_PROP_HIT_COUNT, (int) hitCount);
			record.addProp(BattleRecordConstants.BATTLE_HERO_PROP_HIT_SINGLE_DAMAGE, (int) damage);
			battle.StoreHandler.handleAttack(damage);

		}
示例#3
0
		public override void changeFightColor(int fighterIndex, HeroColor color, SingleActionRecord actionRecord)
		{
			HeroPoint _point = this.indexedHeroPoint[fighterIndex];
			if (!_point.InBattle)
			{
				// TODO: BattleLogger.logError
			}
			_point.updateColor(color);
			actionRecord.addProp(BattleRecordConstants.BATTLE_HERO_PROP_COLOR_CHANGE, _point.Color.Index);
		}