Exemple #1
0
        public override bool OnBeforeDeath()
        {
            MotherNatureGate g = new MotherNatureGate();

            g.MoveToWorld(new Point3D(5209, 1745, 0), Map.Trammel);

            FirstMate rm = new FirstMate();

            rm.Team         = this.Team;
            rm.Combatant    = this.Combatant;
            rm.NoKillAwards = true;

            Effects.PlaySound(this, Map, GetDeathSound());
            Effects.SendLocationEffect(Location, Map, 0x3709, 30, 10, 0x835, 0);
            rm.MoveToWorld(new Point3D(5186, 1769, 0), Map.Trammel);

            return(base.OnBeforeDeath());
        }
        public override bool OnBeforeDeath()
        {
           MotherNatureGate g = new MotherNatureGate();
           g.MoveToWorld(new Point3D(5209, 1745, 0), Map.Trammel);

           FirstMate rm = new FirstMate();
           rm.Team = this.Team;
           rm.Combatant = this.Combatant;
           rm.NoKillAwards = true;

           Effects.PlaySound(this, Map, GetDeathSound());
           Effects.SendLocationEffect(Location, Map, 0x3709, 30, 10, 0x835, 0);
           rm.MoveToWorld(new Point3D(5186, 1769, 0), Map.Trammel);

            return base.OnBeforeDeath();
        }