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

namespace XMainClient
{
	internal class AIRuntimeDoSelectSkillRandom : AIRunTimeNodeAction
	{
		public AIRuntimeDoSelectSkillRandom(XmlElement node) : base(node)
		{
		}

		public override bool Update(XEntity entity)
		{
			return XSingleton<XAISkill>.singleton.DoSelectRandom(entity);
		}
	}
}