Пример #1
0
            public InternalTimer(CampoDeEnergiaSpell magia, Mobile owner, TimeSpan duracao) : base(TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(1))
            {
                this.magia    = magia;
                this.Caster   = owner;
                this.final    = DateTime.Now + duracao;
                this.Priority = TimerPriority.OneSecond;

                this.efeitoSonoro = DateTime.Now + TimeSpan.FromSeconds(4);

                //playsound
                Caster.PlaySound(0x1DD);
            }
Пример #2
0
            public InternalTimer(CampoDeEnergiaSpell magia, Mobile owner, TimeSpan duracao)
                : base(TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(1))
            {
                this.magia = magia;
                this.Caster = owner;
                this.final = DateTime.Now + duracao;
                this.Priority = TimerPriority.OneSecond;

                this.efeitoSonoro = DateTime.Now + TimeSpan.FromSeconds(4);

                //playsound
                Caster.PlaySound(0x1DD);
            }