예제 #1
0
        private void LevelUP(ZoneCharacter character, params string[] param)
        {
            int lvls = param.Length >= 2 ? int.Parse(param[1]) : (int)1;

            character.Level = ((byte)(lvls - 1));
            character.LevelUP();
        }
예제 #2
0
        private void LevelUP(ZoneCharacter character, params string[] param)
        {
            byte lvls = param.Length >= 2 ? byte.Parse(param[1]) : (byte)1;

            for (byte i = 0; i < lvls; i++)
            {
                character.LevelUP();
            }
        }