예제 #1
0
 public LMPTimer(LastManPentagram lmp, int count, String location, int ticksRequired)
     : base(TimeSpan.FromSeconds(6.0), TimeSpan.FromSeconds(6.0))
 {
     m_LMP                = lmp;
     m_Count              = count * 10;
     m_Location           = location;
     m_TimerTicksRequired = ticksRequired;
     CommandHandlers.BroadcastMessage(AccessLevel.Player, 1150, String.Format("The pentagram at {0} will be active in {1} minutes. The first one who stands on it alone for {2} seconds will receive a random reward. Hiding at this pentagram is deadly mistake.", location, count, ticksRequired * 6));
 }
 public LMPTimer(LastManPentagram lmp, int count, String location, bool giveReward, int ticksRequired)
     : base(TimeSpan.FromSeconds(6.0), TimeSpan.FromSeconds(6.0))
 {
     m_LMP = lmp;
     m_Count = count * 10;
     m_Location = location;
     m_giveReward = giveReward;
     m_TimerTicksRequired = ticksRequired;
     CommandHandlers.BroadcastMessage(AccessLevel.Player, 1150, String.Format("The pentagram at {0} will be active in {1} minutes. The first one who stands on it alone for {2} seconds will receive a random reward. Hiding at this pentagram is deadly mistake.", location, count, ticksRequired * 6 ));
 }