|
@@ -100,7 +100,7 @@ namespace CommonAI.ZoneClient
|
|
|
this.clearAgents();
|
|
|
this.clearSkillAction();
|
|
|
base.Disposing();
|
|
|
- this.mOnGuardFocusTarget = null;
|
|
|
+ //this.mOnGuardFocusTarget = null;
|
|
|
}
|
|
|
public override void InitSkills()
|
|
|
{
|
|
@@ -157,10 +157,6 @@ namespace CommonAI.ZoneClient
|
|
|
{
|
|
|
DoUseItem(e as UnitUseItemEvent);
|
|
|
}
|
|
|
- else if (e is PlayerFocuseTargetEvent)
|
|
|
- {
|
|
|
- DoPlayerFocuseTargetEvent(e as PlayerFocuseTargetEvent);
|
|
|
- }
|
|
|
|
|
|
if (e is UnitForceSyncPosEvent &&
|
|
|
mCurrentSkillAction is PreSkillByClient)
|
|
@@ -2345,7 +2341,7 @@ namespace CommonAI.ZoneClient
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
- private void DoPlayerFocuseTargetEvent(PlayerFocuseTargetEvent e)
|
|
|
+ /*private void DoPlayerFocuseTargetEvent(PlayerFocuseTargetEvent e)
|
|
|
{
|
|
|
if (this.TargetUnitID != e.targetUnitID)
|
|
|
{
|
|
@@ -2370,7 +2366,7 @@ namespace CommonAI.ZoneClient
|
|
|
public delegate void OnGuardFocusTargetHandler(ZoneActor actor, ZoneObject target, SkillTemplate.CastTarget expect);
|
|
|
|
|
|
[EventTriggerDescAttribute("单位持有技能发生变化时触发")]
|
|
|
- public event OnGuardFocusTargetHandler OnGuardFocusTarget { add { mOnGuardFocusTarget += value; } remove { mOnGuardFocusTarget -= value; } }
|
|
|
+ public event OnGuardFocusTargetHandler OnGuardFocusTarget { add { mOnGuardFocusTarget += value; } remove { mOnGuardFocusTarget -= value; } }*/
|
|
|
|
|
|
|
|
|
|