private bool OnPostMonsterCreated(EvtMonsterCreated evt) { if ((base.levelBuffSide == LevelBuffSide.FromAvatar) || (base.levelBuffSide == LevelBuffSide.FromLevel)) { this.ApplyWitchTimeEffect(evt.monsterID); } return(true); }
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); }
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); }
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); }
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); }
private bool OnMonsterCreated(EvtMonsterCreated evt) { return(false); }
private bool ListenMonsterCreated(EvtMonsterCreated evt) { this.AttachDieCallback(Singleton <MonsterManager> .Instance.GetMonsterByRuntimeID(evt.monsterID)); return(true); }
private bool ListenMonsterCreated(EvtMonsterCreated evt) { this._monsterCreatedAmount++; return(false); }
private bool ListenMonsterCreated(EvtMonsterCreated evt) { this.GetMonsterStastics(evt.monsterID); return(false); }