Esempio n. 1
0
        public override void OnComplete()
        {
            if (System.From.Profession == 5)
            {
                switch (m_Step)
                {
                case KillHordeMinionsStep.First:
                {
                    QuestObjective obj = new KillHordeMinionsObjective(KillHordeMinionsStep.LearnKarma);
                    System.AddObjective(obj);
                    obj.CurProgress = CurProgress;
                    break;
                }

                case KillHordeMinionsStep.LearnKarma:
                {
                    QuestObjective obj = new KillHordeMinionsObjective(KillHordeMinionsStep.Others);
                    System.AddObjective(obj);
                    obj.CurProgress = CurProgress;
                    break;
                }

                default:
                {
                    System.AddObjective(new FindUzeraanAboutReportObjective());
                    break;
                }
                }
            }
            else
            {
                System.AddObjective(new FindUzeraanAboutReportObjective());
            }
        }
Esempio n. 2
0
		public override void OnComplete()
		{
			if ( System.From.Profession == 5 )
			{
				switch ( m_Step )
				{
					case KillHordeMinionsStep.First:
					{
						QuestObjective obj = new KillHordeMinionsObjective( KillHordeMinionsStep.LearnKarma );
						System.AddObjective( obj );
						obj.CurProgress = CurProgress;
						break;
					}
					case KillHordeMinionsStep.LearnKarma:
					{
						QuestObjective obj = new KillHordeMinionsObjective( KillHordeMinionsStep.Others );
						System.AddObjective( obj );
						obj.CurProgress = CurProgress;
						break;
					}
					default:
					{
						System.AddObjective( new FindUzeraanAboutReportObjective() );
						break;
					}
				}
			}
			else
			{
				System.AddObjective( new FindUzeraanAboutReportObjective() );
			}
		}