Exemplo n.º 1
0
        public static void ParseEffect(Characters.Character client, int type, string args)
        {
            var datas = args.Split(',');

            switch (type)
            {
            case 0:     //Telep
                client.TeleportNewMap(int.Parse(datas[0]), int.Parse(datas[1]));
                break;

            case 1:     //Life
                client.AddLife(int.Parse(datas[0]));
                break;
            }
        }