Queria Saber como add um NPC?
#region ClassPKEnvoy
case 998811:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hey there i hold every Class PK Tournament for Trojans, Warriors, Ninjas, Taoists And Archers, So Tell me your character so i can Sign you Up.at 19:45!"));
GC.AddSend(Packets.NPCLink("I am a Trojan [Saturday]", 1));
GC.AddSend(Packets.NPCLink("I am a Warrior [Sunday]", 2));
GC.AddSend(Packets.NPCLink("I am a Ninja [Monday]", 3));
GC.AddSend(Packets.NPCLink("I am a WaterTaoist [Tuesday]", 4));
GC.AddSend(Packets.NPCLink("I am a FireTaoist [Wednesday]", 5));
GC.AddSend(Packets.NPCLink("I am a Archer [Thursday]", 6));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
{
if (GC.MyChar.Job == 15 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1730, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 2)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
if (GC.MyChar.Job == 25 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1731, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 3)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
{
if (GC.MyChar.Job == 55 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1732, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 4)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Tuesday)
{
if (GC.MyChar.Job == 135 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1733, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 5)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (GC.MyChar.Job == 145 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1734, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 6)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Thursday)
{
if (GC.MyChar.Job == 45 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1735, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
#region Prize For Trojan
case 7898521:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
{
if (GC.MyChar.Job == 15 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkTrojan Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For Warrior
case 7898522:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
if (GC.MyChar.Job == 25 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkWarrior Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For Ninja
case 7898523:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
{
if (GC.MyChar.Job == 55 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkNinja Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For WaterTaoist
case 7898524:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Tuesday)
{
if (GC.MyChar.Job == 135 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkWaterTaoist Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For FireTaoist
case 7898525:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (GC.MyChar.Job == 145 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkFireTaoist Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For Archer
case 7898526:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Thursday)
{
if (GC.MyChar.Job == 45 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopArcher Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region ClassPKEnvoy
case 998811:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hey there i hold every Class PK Tournament for Trojans, Warriors, Ninjas, Taoists And Archers, So Tell me your character so i can Sign you Up.at 19:45!"));
GC.AddSend(Packets.NPCLink("I am a Trojan [Saturday]", 1));
GC.AddSend(Packets.NPCLink("I am a Warrior [Sunday]", 2));
GC.AddSend(Packets.NPCLink("I am a Ninja [Monday]", 3));
GC.AddSend(Packets.NPCLink("I am a WaterTaoist [Tuesday]", 4));
GC.AddSend(Packets.NPCLink("I am a FireTaoist [Wednesday]", 5));
GC.AddSend(Packets.NPCLink("I am a Archer [Thursday]", 6));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
{
if (GC.MyChar.Job == 15 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1730, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 2)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
if (GC.MyChar.Job == 25 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1731, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 3)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
{
if (GC.MyChar.Job == 55 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1732, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 4)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Tuesday)
{
if (GC.MyChar.Job == 135 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1733, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 5)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (GC.MyChar.Job == 145 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1734, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 6)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Thursday)
{
if (GC.MyChar.Job == 45 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
GC.MyChar.Teleport(1735, 34, 19);
GC.MyChar.Action = 250;
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("If you want Sign Up,you must choose your Right character in the right day and come at 19:45"));
GC.AddSend(Packets.NPCLink("k sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("This is not the correct day Come later in correct day"));
GC.AddSend(Packets.NPCLink("sorry...I will come in correct day", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
#region Prize For Trojan
case 7898521:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
{
if (GC.MyChar.Job == 15 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkTrojan Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For Warrior
case 7898522:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
if (GC.MyChar.Job == 25 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkWarrior Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For Ninja
case 7898523:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
{
if (GC.MyChar.Job == 55 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkNinja Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For WaterTaoist
case 7898524:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Tuesday)
{
if (GC.MyChar.Job == 135 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkWaterTaoist Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For FireTaoist
case 7898525:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (GC.MyChar.Job == 145 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopPkFireTaoist Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
#region Prize For Archer
case 7898526:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("i will claim to you your prize at 20.10"));
GC.AddSend(Packets.NPCLink("claim it to me", 1));
GC.AddSend(Packets.NPCLink("Back Me To TC.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Thursday)
{
if (GC.MyChar.Job == 45 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Has won the TopArcher Congratulations");
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You can Take it Later at 20:10"));
GC.AddSend(Packets.NPCLink("sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 429, 378);
GC.AddSend(Packets.NPCSay("Good luck and be carefull"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion