Advertisement
Guest User

Untitled

a guest
May 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. #region GuildWar
  2. if (Now64.Hour < 00)
  3. {
  4. if (GuildWar.Proces == ProcesType.Dead)
  5. GuildWar.Start();
  6. if (GuildWar.Proces == ProcesType.Idle)
  7. {
  8. if (Now64 > GuildWar.StampRound)
  9. GuildWar.Began();
  10. }
  11. if (GuildWar.Proces != ProcesType.Dead)
  12. {
  13. if (DateTime.Now > GuildWar.StampShuffleScore)
  14. {
  15. GuildWar.ShuffleGuildScores();
  16. }
  17. }
  18. if (Now64.Hour == 00)
  19. {
  20. if (GuildWar.FlamesQuest.ActiveFlame10 == false)
  21. {
  22. SendSysMesage("The Flame Stone 9 is Active now. Light up the Flame Stone (62,59) near the Stone Pole in the Guild City.", MsgServer.MsgMessage.ChatMode.Center, MsgServer.MsgMessage.MsgColor.red);
  23. GuildWar.FlamesQuest.ActiveFlame10 = true;
  24. }
  25. }
  26. else if (GuildWar.SendInvitation == false && Now64.Hour == 18)
  27. {
  28. SendInvitation("GuildWar", "ConquerPoints", 200, 254, 1038, 0, 60, MsgServer.MsgStaticMessage.Messages.GuildWar);
  29. GuildWar.SendInvitation = true;
  30. }
  31.  
  32. }
  33. else if (Now64.Hour == 00 && Now64.Minute == 0)
  34. {
  35. if (GuildWar.Proces == ProcesType.Alive || GuildWar.Proces == ProcesType.Idle)
  36. GuildWar.CompleteEndGuildWar();
  37. }
  38. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement