示例#1
0
 private bool OnPostMonsterCreated(EvtMonsterCreated evt)
 {
     if ((base.levelBuffSide == LevelBuffSide.FromAvatar) || (base.levelBuffSide == LevelBuffSide.FromLevel))
     {
         this.ApplyWitchTimeEffect(evt.monsterID);
     }
     return(true);
 }
示例#2
0
 private bool ListenMonsterCreated(EvtMonsterCreated evt)
 {
     if ((this.IsInStep(1) && (base.GetCurrentStepState() == BaseLevelTutorial.StepState.Sleep)) && !this.IsAllStepDone())
     {
         this.ActiveCurrentStep();
         this.WaitShowTutorialStep(this.GetDelayTime(base.step), new Action(this.ShowStep2Tutorial));
     }
     return(false);
 }
示例#3
0
        private bool ListenMonsterCreated(EvtMonsterCreated evt)
        {
            MonsterActor actor = Singleton <EventManager> .Instance.GetActor <MonsterActor>(evt.monsterID);

            if ((((actor != null) && (actor.metaConfig.subTypeName == this._monsterSubTypeName)) && ((base.step == 0) && (base.GetCurrentStepState() == BaseLevelTutorial.StepState.Sleep))) && !this.IsAllStepDone())
            {
                this.WaitShowTutorialStep(this.GetDelayTime(base.step), new Action(this.ShowTutorialStep1));
            }
            return(false);
        }
示例#4
0
        private bool ListenMonsterCreated(EvtMonsterCreated evt)
        {
            MonsterActor monsterActor = Singleton <EventManager> .Instance.GetActor <MonsterActor>(evt.monsterID);

            if ((((monsterActor != null) && this.IsMonsterDeadKillerWithTeleportSkill(monsterActor)) && ((base.step == 0) && (base.GetCurrentStepState() == BaseLevelTutorial.StepState.Sleep))) && !this.IsAllStepDone())
            {
                this.ActiveCurrentStep();
                this.WaitShowTutorialStep(this.GetDelayTime(base.step), new Action(this.ShowTutorialStep1));
            }
            return(false);
        }
示例#5
0
        private bool OnPostMonsterCreated(EvtMonsterCreated evt)
        {
            if (evt.monsterID == this._stopWorldOwnerID)
            {
                return(false);
            }
            BaseMonoMonster target = Singleton <MonsterManager> .Instance.TryGetMonsterByRuntimeID(evt.monsterID);

            if (target != null)
            {
                this.ApplyStopEffectOn(target);
            }
            return(true);
        }
 private bool ListenMonsterCreated(EvtMonsterCreated evt)
 {
     if (((base.step == 4) && (base.GetCurrentStepState() == BaseLevelTutorial.StepState.Sleep)) && !this.IsAllStepDone())
     {
         this.ActiveCurrentStep();
         this.WaitShowTutorialStep(this.GetDelayTime(base.step), new Action(this.ShowTutorialStep5));
     }
     else if (((base.step == 9) && (base.GetCurrentStepState() == BaseLevelTutorial.StepState.Sleep)) && !this.IsAllStepDone())
     {
         this.ActiveCurrentStep();
         this.WaitShowTutorialStep(this.GetDelayTime(base.step), new Action(this.ShowTutorialStep9));
     }
     else if (((base.step == 15) && (base.GetCurrentStepState() == BaseLevelTutorial.StepState.Sleep)) && !this.IsAllStepDone())
     {
         this._lastMonsterBorn = true;
     }
     return(false);
 }
示例#7
0
 private bool OnMonsterCreated(EvtMonsterCreated evt)
 {
     return(false);
 }
示例#8
0
 private bool ListenMonsterCreated(EvtMonsterCreated evt)
 {
     this.AttachDieCallback(Singleton <MonsterManager> .Instance.GetMonsterByRuntimeID(evt.monsterID));
     return(true);
 }
 private bool ListenMonsterCreated(EvtMonsterCreated evt)
 {
     this._monsterCreatedAmount++;
     return(false);
 }
示例#10
0
 private bool ListenMonsterCreated(EvtMonsterCreated evt)
 {
     this.GetMonsterStastics(evt.monsterID);
     return(false);
 }