summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRuntimeDoSelectSkillRandom.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AI/AIRuntimeDoSelectSkillRandom.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/AI/AIRuntimeDoSelectSkillRandom.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/AI/AIRuntimeDoSelectSkillRandom.cs b/Client/Assets/Scripts/XMainClient/AI/AIRuntimeDoSelectSkillRandom.cs
new file mode 100644
index 00000000..11a3f462
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/AI/AIRuntimeDoSelectSkillRandom.cs
@@ -0,0 +1,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);
+ }
+ }
+}