|
@@ -18,6 +18,7 @@ namespace GameLogic.Combat.Skill
|
|
|
|
|
|
|
|
protected TimeLineEventLogicGroupBasic _timeLineEventLogicGroupBasic;
|
|
protected TimeLineEventLogicGroupBasic _timeLineEventLogicGroupBasic;
|
|
|
|
|
|
|
|
|
|
+ private BarrierEntityMono barrierEntityMono;
|
|
|
protected override void ProInitSkill()
|
|
protected override void ProInitSkill()
|
|
|
{
|
|
{
|
|
|
// AddTriggerCallBack("sk1_fashe", Sk1_FaSheProDefaultTimeLineTrigger);
|
|
// AddTriggerCallBack("sk1_fashe", Sk1_FaSheProDefaultTimeLineTrigger);
|
|
@@ -37,7 +38,7 @@ namespace GameLogic.Combat.Skill
|
|
|
// count = 0;
|
|
// count = 0;
|
|
|
SpecialDotInfo specialDotInfo = CombatHeroEntity.GetSpecialDotInfo("sk2_trigger");
|
|
SpecialDotInfo specialDotInfo = CombatHeroEntity.GetSpecialDotInfo("sk2_trigger");
|
|
|
// specialDotInfo
|
|
// specialDotInfo
|
|
|
- BarrierEntityMono barrierEntityMono =
|
|
|
|
|
|
|
+ barrierEntityMono =
|
|
|
specialDotInfo.targetTran.gameObject.GetOrAddComponent<BarrierEntityMono>();
|
|
specialDotInfo.targetTran.gameObject.GetOrAddComponent<BarrierEntityMono>();
|
|
|
barrierEntityMono.Barrier = this;
|
|
barrierEntityMono.Barrier = this;
|
|
|
isTrgger = true;
|
|
isTrgger = true;
|
|
@@ -102,5 +103,16 @@ namespace GameLogic.Combat.Skill
|
|
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ protected override void ProDispose()
|
|
|
|
|
+ {
|
|
|
|
|
+ if (barrierEntityMono != null)
|
|
|
|
|
+ {
|
|
|
|
|
+ barrierEntityMono.Barrier = null;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ isTrgger = false;
|
|
|
|
|
+ barrierEntityMono = null;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|