Beispiel #1
0
        internal static void OnKillMe(Player p, double dmg, int hd, bool pvp, string dt)
        {
            var bh = p.P_BHandler as PlayerBHandler;

            if (bh != null)
                bh.PreDestroyed();

            p.RealKillMe(dmg, hd, pvp, dt);

            if (bh != null)
                bh.OnDestroyed();
        }