diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/Player_academic_buff_fuhuo.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/Player_academic_buff_fuhuo.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/Player_academic_buff_fuhuo.cs b/Client/Assets/Scripts/XMainClient/Player_academic_buff_fuhuo.cs new file mode 100644 index 00000000..a109d7be --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/Player_academic_buff_fuhuo.cs @@ -0,0 +1,28 @@ +using System;
+using System.Collections.Generic;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Player_academic_buff_fuhuo
+ {
+ public static bool ReviveAlly(XSkill skill)
+ {
+ return true;
+ }
+
+ public static bool ExternalCanCast()
+ {
+ List<XEntity> ally = XSingleton<XEntityMgr>.singleton.GetAlly(XSingleton<XEntityMgr>.singleton.Player);
+ for (int i = 0; i < ally.Count; i++)
+ {
+ bool flag = ally[i].IsRole && !ally[i].IsPlayer && ally[i].IsDead;
+ if (flag)
+ {
+ return true;
+ }
+ }
+ return false;
+ }
+ }
+}
|