Exemplo n.º 1
0
        public override void OnCast()
        {
            if (CheckSequence())
            {
                Item weap = new HammerOfFaith(Caster);

                Caster.AddToBackpack(weap);
                Caster.SendMessage("You create a magical hammer and place it in your backpack.");

                Caster.PlaySound(0x212);
                Caster.PlaySound(0x206);

                Effects.SendLocationParticles(EffectItem.Create(Caster.Location, Caster.Map, EffectItem.DefaultDuration), 0x376A, 1, 29, 0x47D, 2, 9962, 0);
                Effects.SendLocationParticles(EffectItem.Create(new Point3D(Caster.X, Caster.Y, Caster.Z - 7), Caster.Map, EffectItem.DefaultDuration), 0x37C4, 1, 29, 0x47D, 2, 9502, 0);
            }
        }
Exemplo n.º 2
0
        public override void OnCast()
        {
            if ( CheckSequence() )
            {
                Item weap = new HammerOfFaith( Caster );

                Caster.AddToBackpack( weap );
                Caster.SendMessage( "You create a magical hammer and place it in your backpack." );

                Caster.PlaySound( 0x212 );
                Caster.PlaySound( 0x206 );

                Effects.SendLocationParticles( EffectItem.Create( Caster.Location, Caster.Map, EffectItem.DefaultDuration ), 0x376A, 1, 29, 0x47D, 2, 9962, 0 );
                Effects.SendLocationParticles( EffectItem.Create( new Point3D( Caster.X, Caster.Y, Caster.Z - 7 ), Caster.Map, EffectItem.DefaultDuration ), 0x37C4, 1, 29, 0x47D, 2, 9502, 0 );
            }
        }
Exemplo n.º 3
0
 public InternalTimer(HammerOfFaith hammer, DateTime expire) : base(TimeSpan.Zero, TimeSpan.FromSeconds(0.1))
 {
     m_Hammer = hammer;
     m_Expire = expire;
 }
Exemplo n.º 4
0
 public InternalTimer( HammerOfFaith hammer, DateTime expire )
     : base(TimeSpan.Zero, TimeSpan.FromSeconds( 0.1 ))
 {
     m_Hammer = hammer;
     m_Expire = expire;
 }