示例#1
0
        public override bool OnBeforeDeath()
        {
            CaptainJackSparrow rm = new CaptainJackSparrow();
            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(Location, Map);

            Delete();
            return false;
        }
示例#2
0
        public override bool OnBeforeDeath()
        {
            CaptainJackSparrow rm = new CaptainJackSparrow();

            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(Location, Map);

            Delete();
            return(false);
        }