示例#1
0
        public override bool OnBeforeDeath()
        {
            MysteriousImage rm = new MysteriousImage();

            rm.Team     = this.Team;
            rm.CantWalk = true;
            Effects.PlaySound(this, Map, GetDeathSound());
            Effects.SendLocationEffect(Location, Map, 0x3709, 30, 10, 0, 0);
            rm.MoveToWorld(Location, Map);

            if (!base.OnBeforeDeath())
            {
                return(false);
            }

            MagicalLockbox magicallockbox = new MagicalLockbox();

            magicallockbox.DropItem(new KrysanGlobe());
            magicallockbox.MoveToWorld(Location, Map);

            Effects.SendLocationEffect(Location, Map, 0x376A, 10, 1);
            return(true);
        }
示例#2
0
		public override bool OnBeforeDeath()
		{
			MysteriousImage rm = new MysteriousImage();
			rm.Team = this.Team;
			rm.CantWalk = true;
			Effects.PlaySound(this, Map, GetDeathSound());
			Effects.SendLocationEffect( Location, Map, 0x3709, 30, 10, 0, 0 );
			rm.MoveToWorld( Location, Map );

			if ( !base.OnBeforeDeath() )
				return false;

			MagicalLockbox magicallockbox = new MagicalLockbox();
            magicallockbox.DropItem(new RivatachGlobe());

			magicallockbox.MoveToWorld( Location, Map );

			Effects.SendLocationEffect( Location, Map, 0x376A, 10, 1 );
			return true;
		}
 public InternalTimer(MysteriousImage owner) : base(TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(5))
 {
     m_Owner = owner;
 }
			public InternalTimer (MysteriousImage owner):base (TimeSpan.FromSeconds (5), TimeSpan.FromSeconds (5))
			{
				m_Owner = owner;
			}