コード例 #1
0
 public SummonTimer(BellOfSummoning b, PlayerMobile p)
     : base(TimeSpan.FromSeconds(b.DelaySeconds))
 {
     m_Bell   = b;
     m_Player = p;
     p.Frozen = true;
     p.FixedParticles(0x373A, 10, 15, 5018, EffectLayer.RightHand);
     p.PlaySound(b.Sound);
     p.NonlocalOverheadMessage(Server.Network.MessageType.Emote, 123, true, "*begins to ring a magical bell*");
     p.LocalOverheadMessage(Server.Network.MessageType.Emote, 123, true, "*You begin to ring the magical bell*");
     Priority = TimerPriority.OneSecond;
 }
コード例 #2
0
 public SummonTimer(BellOfSummoning b, PlayerMobile p)
     : base(TimeSpan.FromSeconds(b.DelaySeconds))
 {
     m_Bell = b;
     m_Player = p;
     p.Frozen = true;
     p.FixedParticles(0x373A, 10, 15, 5018, EffectLayer.RightHand);
     p.PlaySound(b.Sound);
     p.NonlocalOverheadMessage(Server.Network.MessageType.Emote, 123, true, "*begins to ring a magical bell*");
     p.LocalOverheadMessage(Server.Network.MessageType.Emote, 123, true, "*You begin to ring the magical bell*");
     Priority = TimerPriority.OneSecond;
 }