summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRunTimeIsOppoCastingSkill.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AI/AIRunTimeIsOppoCastingSkill.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/AI/AIRunTimeIsOppoCastingSkill.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/AI/AIRunTimeIsOppoCastingSkill.cs b/Client/Assets/Scripts/XMainClient/AI/AIRunTimeIsOppoCastingSkill.cs
new file mode 100644
index 00000000..1542f1ac
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/AI/AIRunTimeIsOppoCastingSkill.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Xml;
+
+namespace XMainClient
+{
+ internal class AIRunTimeIsOppoCastingSkill : AIRunTimeNodeCondition
+ {
+ public AIRunTimeIsOppoCastingSkill(XmlElement node) : base(node)
+ {
+ }
+
+ public override bool Update(XEntity entity)
+ {
+ return entity.AI.IsOppoCastingSkill;
+ }
+ }
+}