summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRunTimeIsHurtOppo.cs
blob: e423f6e789d564641cc19a8f59c701fff7fc0493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Xml;

namespace XMainClient
{
	internal class AIRunTimeIsHurtOppo : AIRunTimeNodeCondition
	{
		public AIRunTimeIsHurtOppo(XmlElement node) : base(node)
		{
		}

		public override bool Update(XEntity entity)
		{
			return entity.AI.IsHurtOppo;
		}
	}
}