Exemplo n.º 1
0
        public void SetLevel(byte Level)
        {
            CurrentXp    = WorldMgr.GetXp_Info(Level);
            _Value.Level = Level;

            if (_Loaded)
            {
                SendLevelUp(ApplyLevel());
                SendXp();
            }

            ApplyLevel();
        }
Exemplo n.º 2
0
Arquivo: Player.cs Projeto: uvbs/DoR
        public void SetLevel(byte NewLevel)
        {
            CurrentXp    = WorldMgr.GetXp_Info(NewLevel);
            _Value.Level = NewLevel;
            Dictionary <byte, UInt16> Values = ApplyLevel();

            if (_Loaded && _Inited)
            {
                SendLevelUp(Values);
                SendXp();
            }

            ApplyLevel();
        }