عرض مشاركة واحدة
قديم 2019-08-31, 12:05 AM
المشاركة 8
Users
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: حل مشكلة الاسكلات و نزول الريبورن و سكند سورس Rayzo
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
بسم الله و الحمد لله و الصلاة و السلام علي رسول الله

أمأأ بعد الحل لسورس rayzo

هتعمل كلأس جديد بأسم


كود:
skillsreborn 

و هتضيف الأكواد دى فيه


كود:
#region using!
Using system;
using system.io;
using system.linq;
using system.windows.forms;
using rayzo.network;
using system.net.mail;
using system.globalization;
using rayzo.database;
using system.net;
using rayzo.interfaces;
using rayzo.network.sockets;
using rayzo.network.authpackets;
using rayzo.game;
using system.collections.generic;
using system.runtime.interopservices;
using system.text;
using rayzo.network.gamepackets;
using rayzo.client;
using system.diagnostics;
using system.threading.tasks;
using system.threading;
using serverproject;
using rayzo;
using rayzo.network.gamepackets.union;
#endregion
namespace serverproject.skillsreborn
{
    public static class 
skillsreborn
    
{
        public static 
ushort learnablespell(ushort spellid)
        {
            return 
spellid;
        }
        public static 
void load(client.gamestate client)
        {
            
#region add skills
            
if (client.entity.class >= 10 && client.entity.class <= 15)
            {
                
//client.addspell(learnablespell(12070));
                
client.addspell(learnablespell(1110));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(1015));
                
client.addspell(learnablespell(1045));
                
client.addspell(learnablespell(1046));
                
client.addspell(learnablespell(11970));
                
client.addspell(learnablespell(11990));
                
client.addspell(learnablespell(11980));
                
client.addspell(learnablespell(11960));
                
client.addspell(learnablespell(1115));
                
client.addspell(learnablespell(1270));
                
client.addspell(learnablespell(1190));

            }
            if (
client.entity.class >= 50 && client.entity.class <= 55 && client.entity.firstrebornclass == 55 && client.entity.secondrebornclass >= 55)
            {
                
client.addspell(learnablespell(12070));
                
client.addspell(learnablespell(12080));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(12090));
                
client.addspell(learnablespell(12110));
                
client.addspell(learnablespell(11230));
                
client.addspell(learnablespell(11170));
                
client.addspell(learnablespell(6011));
                
client.addspell(learnablespell(6002));
                
client.addspell(learnablespell(6003));
                
client.addspell(learnablespell(6010));
                
client.addspell(learnablespell(6001));
                
client.addspell(learnablespell(11180));
                
client.addspell(learnablespell(6004));
                
client.addspell(learnablespell(6000));

            }
            if (
client.entity.secondrebornclass == 55 && client.entity.class >= 50 && client.entity.class <= 55)
            {
                
client.addspell(learnablespell(12070));
                
client.addspell(learnablespell(12080));
                
client.addspell(learnablespell(12090));
                
client.addspell(learnablespell(12110));
                
client.addspell(learnablespell(11230));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(11170));
                
client.addspell(learnablespell(6011));
                
client.addspell(learnablespell(6002));
                
client.addspell(learnablespell(6010));
                
client.addspell(learnablespell(6001));
                
client.addspell(learnablespell(11180));
                
client.addspell(learnablespell(6004));
                
client.addspell(learnablespell(6000));

            }
            if (
client.entity.class >= 50 && client.entity.class <= 55)
            {
                
client.addspell(learnablespell(12070));
                
client.addspell(learnablespell(12080));
                
client.addspell(learnablespell(12090));
                
client.addspell(learnablespell(12110));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(11230));
                
client.addspell(learnablespell(11170));
                
client.addspell(learnablespell(6011));
                
client.addspell(learnablespell(6010));
                
client.addspell(learnablespell(6001));
                
client.addspell(learnablespell(11180));
                
client.addspell(learnablespell(6004));
                
client.addspell(learnablespell(6000));

            }
            if (
client.entity.class >= 40 && client.entity.class <= 45)
            {
                
client.addspell(learnablespell(11590));//thepower
                
client.addspell(learnablespell(11600));
                
client.addspell(learnablespell(11620));
                
client.addspell(learnablespell(11610));
                
client.addspell(learnablespell(11650));
                
client.addspell(learnablespell(8002));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(8003));
                
client.addspell(learnablespell(11660));
                
client.addspell(learnablespell(11670));


            }
            if (
client.entity.class >= 20 && client.entity.class <= 25)
            {
                
client.addspell(learnablespell(12670));
                
client.addspell(learnablespell(12770));
                
client.addspell(learnablespell(12690));
                
client.addspell(learnablespell(12700));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(12660));
                
client.addspell(learnablespell(1045));
                
client.addspell(learnablespell(12680));
                
client.addspell(learnablespell(1046));
                
client.addspell(learnablespell(1020));
                
client.addspell(learnablespell(11200));
                
client.addspell(learnablespell(10470));
                
client.addspell(learnablespell(1025));
                
client.addspell(learnablespell(11160));

            }
            if (
client.entity.class >= 132 && client.entity.class <= 135)
            {
                
client.addspell(learnablespell(1055));
                
client.addspell(learnablespell(1075));
                
client.addspell(learnablespell(1085));
                
client.addspell(learnablespell(1090));
                
client.addspell(learnablespell(1095));
                
client.addspell(learnablespell(1100));
                
client.addspell(learnablespell(1175));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(1170));
                
client.addspell(learnablespell(1050));
                
client.addspell(learnablespell(1000));
                
client.addspell(learnablespell(1005));
                
client.addspell(learnablespell(12370));
                
client.addspell(learnablespell(12390));

            }
            if (
client.entity.class >= 142 && client.entity.class <= 145)
            {
                
client.addspell(learnablespell(1150));
                
client.addspell(learnablespell(1180));
                
client.addspell(learnablespell(1120));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(1165));
                
client.addspell(learnablespell(1160));
                
client.addspell(learnablespell(1002));
                
client.addspell(learnablespell(1125));
                
client.addspell(learnablespell(1010));
                
client.addspell(learnablespell(5001));
                
client.addspell(learnablespell(10309));
                
client.addspell(learnablespell(12400));
                
client.addspell(learnablespell(12380));

            }
            if (
client.entity.secondrebornclass == 135 && client.entity.firstrebornclass == 135 && client.entity.class >= 132 && client.entity.class <= 135)
            {
                
client.addspell(learnablespell(1055));
                
client.addspell(learnablespell(1075));
                
client.addspell(learnablespell(30000));
                
client.addspell(learnablespell(1085));
                
client.addspell(learnablespell(1090));
                
client.addspell(learnablespell(1095));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(1100));
                
client.addspell(learnablespell(1175));
                
client.addspell(learnablespell(1170));
                
client.addspell(learnablespell(1050));
                
client.addspell(learnablespell(1000));
                
client.addspell(learnablespell(1005));
                
client.addspell(learnablespell(12370));
                
client.addspell(learnablespell(12390));

            }
            if (
client.entity.class >= 142 && client.entity.class <= 145 && client.entity.firstrebornclass == 145 && client.entity.secondrebornclass >= 145)
            {
                
client.addspell(learnablespell(1150));
                
client.addspell(learnablespell(1180));
                
client.addspell(learnablespell(1120));
                
client.addspell(learnablespell(10310));
                
client.addspell(learnablespell(1165));
                
client.addspell(learnablespell(1160));
                
client.addspell(learnablespell(1002));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(1125));
                
client.addspell(learnablespell(1010));
                
client.addspell(learnablespell(5001));
                
client.addspell(learnablespell(10309));
                
client.addspell(learnablespell(12400));
                
client.addspell(learnablespell(12380));

            }
            if (
client.entity.class >= 60 && client.entity.class <= 65)
            {
                
client.addspell(learnablespell(10490));
                
client.addspell(learnablespell(10395));
                
client.addspell(learnablespell(10410));
                
client.addspell(learnablespell(12550));
                
client.addspell(learnablespell(12560));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(12570));
                
client.addspell(learnablespell(10390));
                
client.addspell(learnablespell(10415));
                
client.addspell(learnablespell(10381));
                
client.addspell(learnablespell(10400));
                
client.addspell(learnablespell(10425));
                
client.addspell(learnablespell(10430));

            }
            if (
client.entity.class >= 60 && client.entity.class <= 65 && client.entity.firstrebornclass == 65 && client.entity.secondrebornclass >= 65)
            {
                
client.addspell(learnablespell(10490));
                
client.addspell(learnablespell(10405));
                
client.addspell(learnablespell(10395));
                
client.addspell(learnablespell(10410));
                
client.addspell(learnablespell(12550));
                
client.addspell(learnablespell(12560));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(12570));
                
client.addspell(learnablespell(10390));
                
client.addspell(learnablespell(10415));
                
client.addspell(learnablespell(10381));
                
client.addspell(learnablespell(10400));
                
client.addspell(learnablespell(10425));
                
client.addspell(learnablespell(10430));

            }
            if (
client.entity.class >= 70 && client.entity.class <= 75)
            {
                
client.addspell(learnablespell(11060));
                
client.addspell(learnablespell(11110));
                
client.addspell(learnablespell(11030));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(11070));
                
client.addspell(learnablespell(11130));
                
client.addspell(learnablespell(11100));
                
client.addspell(learnablespell(11050));
                
client.addspell(learnablespell(11140));
                
client.addspell(learnablespell(11120));

            }
            if (
client.entity.class >= 80 && client.entity.class <= 85)
            {
                
client.addspell(learnablespell(12240));
                
client.addspell(learnablespell(12220));
                
client.addspell(learnablespell(12290));
                
client.addspell(learnablespell(12320));
                
client.addspell(learnablespell(12340));
                
client.addspell(learnablespell(12210));
                
client.addspell(learnablespell(12130));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(12120));
                
client.addspell(learnablespell(12270));
                
client.addspell(learnablespell(12330));
                
client.addspell(learnablespell(12170));
                
client.addspell(learnablespell(12160));
                
client.addspell(learnablespell(12350));
                
client.addspell(learnablespell(12140));
                
client.addspell(learnablespell(12280));
                
//client.addspell(learnablespell(11960));
                
client.addspell(learnablespell(12200));

            }
            if (
client.entity.class >= 80 && client.entity.class <= 85 && client.entity.firstrebornclass == 85 && client.entity.secondrebornclass >= 85)
            {
                
client.addspell(learnablespell(12240));
                
client.addspell(learnablespell(12300));
                
client.addspell(learnablespell(12220));
                
client.addspell(learnablespell(12290));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(12320));
                
client.addspell(learnablespell(12340));
                
client.addspell(learnablespell(12210));
                
client.addspell(learnablespell(12130));
                
client.addspell(learnablespell(12120));
                
client.addspell(learnablespell(12270));
                
client.addspell(learnablespell(12330));
                
client.addspell(learnablespell(12170));
                
client.addspell(learnablespell(12160));
                
client.addspell(learnablespell(12350));
                
client.addspell(learnablespell(12140));
                
client.addspell(learnablespell(12280));
                
// client.addspell(learnablespell(11960));
                
client.addspell(learnablespell(12200));

            }
            if (
client.entity.class >= 160 && client.entity.class <= 165)
            {
                
client.addspell(learnablespell(12980));
                
client.addspell(learnablespell(12950));
                
client.addspell(learnablespell(12930));
                
client.addspell(learnablespell(12990));
                
client.addspell(learnablespell(12960));
                
client.addspell(learnablespell(13000));
                
client.addspell(learnablespell(13030));
                
client.addspell(learnablespell(8001));
                
client.addspell(learnablespell(13020));
                
client.addspell(learnablespell(12890));
                
client.addspell(learnablespell(13090));
                
client.addspell(learnablespell(12850));
                
client.addspell(learnablespell(12840));
                
client.addspell(learnablespell(12970));
                
client.addspell(learnablespell(12940));
                
client.addspell(learnablespell(12830));
                
client.addspell(learnablespell(12860));
                
client.addspell(learnablespell(12870));

            }
            
#endregion add skills
        
}
        public static 
void remove(client.gamestate client)
        {
            
#region anti auto skill
            #region trojan
            
if (client.entity.class >= 10 && client.entity.class <= 15)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 1175 });
                
client.removespell(new spell(true) { id 12390 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
client.removespell(new spell(true) { id 1120 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 12560 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
// //client.removespell(new spell(true) { id = 8001 }); //trojan
                // client.removespell(new spell(true) { id = 1015 });
                // client.removespell(new spell(true) { id = 11970 });
                // client.removespell(new spell(true) { id = 11990 });
                // client.removespell(new spell(true) { id = 11980 });
                // client.removespell(new spell(true) { id = 11960 });
                // client.removespell(new spell(true) { id = 1115 });
                // client.removespell(new spell(true) { id = 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region windwalker
            
if (client.entity.class >= 160 && client.entity.class <= 165)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 1175 });
                
client.removespell(new spell(true) { id 12390 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 1120 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 12560 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
//  client.removespell(new spell(true) { id = 12980 }); //windwallker
                // client.removespell(new spell(true) { id = 12950 });
                // client.removespell(new spell(true) { id = 12930 });
                // client.removespell(new spell(true) { id = 12990 });
                // client.removespell(new spell(true) { id = 12960 });
                //  client.removespell(new spell(true) { id = 13000 });
                // client.removespell(new spell(true) { id = 13030 });
                //  //client.removespell(new spell(true) { id = 8001 });
                // client.removespell(new spell(true) { id = 13020 });
                // client.removespell(new spell(true) { id = 12890 });
                // client.removespell(new spell(true) { id = 13090 });
                // client.removespell(new spell(true) { id = 12850 });
                // client.removespell(new spell(true) { id = 12840 });
                // client.removespell(new spell(true) { id = 12970 });
                // client.removespell(new spell(true) { id = 12940 });
                //client.removespell(new spell(true) { id = 12830 });
                //client.removespell(new spell(true) { id = 12860 });
                // client.removespell(new spell(true) { id = 12870 });
                //client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region warrior
            
if (client.entity.class >= 20 && client.entity.class <= 25)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 1175 });
                
client.removespell(new spell(true) { id 12390 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 12560 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
//  client.removespell(new spell(true) { id = 12670 }); //waorior
                //  client.removespell(new spell(true) { id = 12770 });
                //  client.removespell(new spell(true) { id = 12690 });
                //  client.removespell(new spell(true) { id = 12700 });
                //  client.removespell(new spell(true) { id = 12660 });
                //  client.removespell(new spell(true) { id = 12680 });
                // client.removespell(new spell(true) { id = 1020 });
                // client.removespell(new spell(true) { id = 11200 });
                // client.removespell(new spell(true) { id = 10470 });
                // client.removespell(new spell(true) { id = 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
//client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region ninja
            
if (client.entity.class >= 50 && client.entity.class <= 55)
            {
                
/*  client.removespell(new spell(true) { id = 12080 }); //ninga
                  client.removespell(new spell(true) { id = 12070 });
                  client.removespell(new spell(true) { id = 12090 });
                  client.removespell(new spell(true) { id = 12110 });
                  //client.removespell(new spell(true) { id = 8001 });
                  client.removespell(new spell(true) { id = 11230 });
                  client.removespell(new spell(true) { id = 6010 });
                  client.removespell(new spell(true) { id = 11170 });
                  client.removespell(new spell(true) { id = 6011 });
                  client.removespell(new spell(true) { id = 11180 });
                  client.removespell(new spell(true) { id = 6002 });
                  client.removespell(new spell(true) { id = 6003 });
                  client.removespell(new spell(true) { id = 6004 });
                  client.removespell(new spell(true) { id = 6000 });*/
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 12390 });
                
client.removespell(new spell(true) { id 1175 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1120 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 12560 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
//client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region monk
            
if (client.entity.class >= 60 && client.entity.class <= 65)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 1175 });
                
client.removespell(new spell(true) { id 12390 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1120 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
//  client.removespell(new spell(true) { id = 10405 }); //monk
                //  client.removespell(new spell(true) { id = 10490 });
                //  client.removespell(new spell(true) { id = 10395 });
                //  client.removespell(new spell(true) { id = 12550 });
                //  client.removespell(new spell(true) { id = 12560 });
                // client.removespell(new spell(true) { id = 10425 });
                // client.removespell(new spell(true) { id = 10410 });
                //  //client.removespell(new spell(true) { id = 8001 });
                //  client.removespell(new spell(true) { id = 12570 });
                //  client.removespell(new spell(true) { id = 10390 });
                //  client.removespell(new spell(true) { id = 10415 });
                //  client.removespell(new spell(true) { id = 10381 });
                //  client.removespell(new spell(true) { id = 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
//client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region pirate
            
if (client.entity.class >= 70 && client.entity.class <= 75)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 1175 });
                
client.removespell(new spell(true) { id 12390 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1120 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
// client.removespell(new spell(true) { id = 11060 }); //piart
                //  client.removespell(new spell(true) { id = 11110 });
                // client.removespell(new spell(true) { id = 11030 });
                // client.removespell(new spell(true) { id = 11130 });
                // client.removespell(new spell(true) { id = 11100 });
                // client.removespell(new spell(true) { id = 11050 });
                // client.removespell(new spell(true) { id = 11140 });
                // client.removespell(new spell(true) { id = 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 12560 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
//client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region leelong
            
if (client.entity.class >= 80 && client.entity.class <= 85)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 12390 });
                
client.removespell(new spell(true) { id 1175 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
client.removespell(new spell(true) { id 1120 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
client.removespell(new spell(true) { id 12560 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
//  client.removespell(new spell(true) { id = 12240 }); //legoff
                //  client.removespell(new spell(true) { id = 12220 });
                // client.removespell(new spell(true) { id = 12290 });
                // client.removespell(new spell(true) { id = 12320 });
                //  client.removespell(new spell(true) { id = 12340 });
                //  client.removespell(new spell(true) { id = 12210 });
                //  client.removespell(new spell(true) { id = 12130 });
                //  //client.removespell(new spell(true) { id = 8001 });
                //  client.removespell(new spell(true) { id = 12120 });
                //  client.removespell(new spell(true) { id = 12270 });
                //  client.removespell(new spell(true) { id = 12330 });
                //  client.removespell(new spell(true) { id = 12170 });
                //  client.removespell(new spell(true) { id = 12160 });
                //  client.removespell(new spell(true) { id = 12350 });
                //  client.removespell(new spell(true) { id = 12140 });
                // client.removespell(new spell(true) { id = 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
//client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region toaist
            
if (client.entity.class >= 132 && client.entity.class <= 135)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
// client.removespell(new spell(true) { id = 1075 }); //water
                //  client.removespell(new spell(true) { id = 1100 });
                //  client.removespell(new spell(true) { id = 1175 });
                // client.removespell(new spell(true) { id = 12390 });
                // //client.removespell(new spell(true) { id = 8001 });
                //  client.removespell(new spell(true) { id = 1050 });
                //  client.removespell(new spell(true) { id = 1005 });
                //  client.removespell(new spell(true) { id = 12370 });
                //  client.removespell(new spell(true) { id = 30000 });
                
client.removespell(new spell(true) { id 1150 }); //fire
                
client.removespell(new spell(true) { id 1180 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1165 });
                
client.removespell(new spell(true) { id 1160 });
                
client.removespell(new spell(true) { id 1125 });
                
client.removespell(new spell(true) { id 1120 });
                
client.removespell(new spell(true) { id 1010 });
                
client.removespell(new spell(true) { id 5001 });
                
client.removespell(new spell(true) { id 10309 });
                
client.removespell(new spell(true) { id 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 12560 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
//client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #region fire
            
if (client.entity.class >= 142 && client.entity.class <= 145)
            {
                
client.removespell(new spell(true) { id 12080 }); //ninga
                
client.removespell(new spell(true) { id 12070 });
                
client.removespell(new spell(true) { id 12090 });
                
client.removespell(new spell(true) { id 12110 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 11230 });
                
client.removespell(new spell(true) { id 6010 });
                
client.removespell(new spell(true) { id 11170 });
                
client.removespell(new spell(true) { id 6011 });
                
client.removespell(new spell(true) { id 11180 });
                
client.removespell(new spell(true) { id 6002 });
                
client.removespell(new spell(true) { id 6003 });
                
client.removespell(new spell(true) { id 6004 });
                
client.removespell(new spell(true) { id 6000 });
                
client.removespell(new spell(true) { id 1075 }); //water
                
client.removespell(new spell(true) { id 1100 });
                
client.removespell(new spell(true) { id 1175 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 1050 });
                
client.removespell(new spell(true) { id 1005 });
                
client.removespell(new spell(true) { id 12370 });
                
client.removespell(new spell(true) { id 30000 });
                
//  client.removespell(new spell(true) { id = 1150 }); //fire
                //  client.removespell(new spell(true) { id = 1180 });
                //   //client.removespell(new spell(true) { id = 8001 });
                //client.removespell(new spell(true) { id = 1120 });
                //   client.removespell(new spell(true) { id = 1165 });
                //  client.removespell(new spell(true) { id = 12390 });
                //   client.removespell(new spell(true) { id = 1160 });
                //   client.removespell(new spell(true) { id = 1125 });
                //   client.removespell(new spell(true) { id = 1010 });
                //   client.removespell(new spell(true) { id = 5001 });
                //   client.removespell(new spell(true) { id = 10309 });
                //   client.removespell(new spell(true) { id = 12400 });
                
client.removespell(new spell(true) { id 11060 }); //piart
                
client.removespell(new spell(true) { id 11110 });
                
client.removespell(new spell(true) { id 11030 });
                
client.removespell(new spell(true) { id 11130 });
                
client.removespell(new spell(true) { id 11100 });
                
client.removespell(new spell(true) { id 11050 });
                
client.removespell(new spell(true) { id 11140 });
                
client.removespell(new spell(true) { id 11120 });
                
client.removespell(new spell(true) { id 10405 }); //monk
                
client.removespell(new spell(true) { id 10490 });
                
client.removespell(new spell(true) { id 10395 });
                
client.removespell(new spell(true) { id 10425 });
                
client.removespell(new spell(true) { id 10410 });
                
client.removespell(new spell(true) { id 12550 });
                
client.removespell(new spell(true) { id 12560 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12570 });
                
client.removespell(new spell(true) { id 10390 });
                
client.removespell(new spell(true) { id 10415 });
                
client.removespell(new spell(true) { id 10381 });
                
client.removespell(new spell(true) { id 10430 });
                
client.removespell(new spell(true) { id 12670 }); //waorior
                
client.removespell(new spell(true) { id 12770 });
                
client.removespell(new spell(true) { id 12690 });
                
client.removespell(new spell(true) { id 12700 });
                
client.removespell(new spell(true) { id 12660 });
                
client.removespell(new spell(true) { id 12680 });
                
client.removespell(new spell(true) { id 1020 });
                
client.removespell(new spell(true) { id 11200 });
                
client.removespell(new spell(true) { id 10470 });
                
client.removespell(new spell(true) { id 11160 });
                
client.removespell(new spell(true) { id 12240 }); //legoff
                
client.removespell(new spell(true) { id 12220 });
                
client.removespell(new spell(true) { id 12290 });
                
client.removespell(new spell(true) { id 12320 });
                
client.removespell(new spell(true) { id 12340 });
                
client.removespell(new spell(true) { id 12210 });
                
client.removespell(new spell(true) { id 12130 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 12120 });
                
client.removespell(new spell(true) { id 12270 });
                
client.removespell(new spell(true) { id 12330 });
                
client.removespell(new spell(true) { id 12170 });
                
client.removespell(new spell(true) { id 12160 });
                
client.removespell(new spell(true) { id 12350 });
                
client.removespell(new spell(true) { id 12140 });
                
client.removespell(new spell(true) { id 12200 });
                
client.removespell(new spell(true) { id 12980 }); //windwallker
                
client.removespell(new spell(true) { id 12950 });
                
client.removespell(new spell(true) { id 12930 });
                
client.removespell(new spell(true) { id 12990 });
                
client.removespell(new spell(true) { id 12960 });
                
client.removespell(new spell(true) { id 13000 });
                
client.removespell(new spell(true) { id 13030 });
                
//client.removespell(new spell(true) { id = 8001 });
                
client.removespell(new spell(true) { id 13020 });
                
client.removespell(new spell(true) { id 12890 });
                
client.removespell(new spell(true) { id 13090 });
                
client.removespell(new spell(true) { id 12850 });
                
client.removespell(new spell(true) { id 12840 });
                
client.removespell(new spell(true) { id 12970 });
                
client.removespell(new spell(true) { id 12940 });
                
client.removespell(new spell(true) { id 12830 });
                
client.removespell(new spell(true) { id 12860 });
                
client.removespell(new spell(true) { id 12870 });
                
//client.removespell(new spell(true) { id = 8001 }); //trojan
                
client.removespell(new spell(true) { id 1015 });
                
client.removespell(new spell(true) { id 11970 });
                
client.removespell(new spell(true) { id 11990 });
                
client.removespell(new spell(true) { id 11980 });
                
client.removespell(new spell(true) { id 11960 });
                
client.removespell(new spell(true) { id 1115 });
                
client.removespell(new spell(true) { id 1270 });
                
client.removespell(new spell(true) { id 3321 }); //gmskill
            
}
            
#endregion
            #endregion anti auto skill
            #region addrebornspell
            
if (client.entity.firstrebornclass >= 130 && client.entity.firstrebornclass <= 135 || client.entity.secondrebornclass >= 130 && client.entity.secondrebornclass <= 135 || client.entity.class >= 130 && client.entity.class <= 135)
            {
                
client.addspell(new spell(true) { id 1095 });
                
client.addspell(new spell(true) { id 1090 });
                
client.addspell(new spell(true) { id 1195 });
                
client.addspell(new spell(true) { id 1085 });
            }
            if (
client.entity.firstrebornclass >= 70 && client.entity.firstrebornclass <= 75 || client.entity.secondrebornclass >= 70 && client.entity.secondrebornclass <= 75 || client.entity.class >= 70 && client.entity.class <= 75)
            {
                
client.addspell(new spell(true) { id 11070 });
            }
            if (
client.entity.class >= 80 && client.entity.class <= 85)
            {
                
client.addspell(new spell(true) { id 12200 });
                
client.addspell(new spell(true) { id 12270 });
            }
            if (
client.entity.firstrebornclass >= 80 && client.entity.firstrebornclass <= 85 || client.entity.secondrebornclass >= 80 && client.entity.secondrebornclass <= 85 || client.entity.class >= 80 && client.entity.class <= 85)
            {
                
client.addspell(new spell(true) { id 12280 });
            }
            if (
client.entity.firstrebornclass >= 50 && client.entity.firstrebornclass <= 55 || client.entity.secondrebornclass >= 50 && client.entity.secondrebornclass <= 55 || client.entity.class >= 50 && client.entity.class <= 55)
            {
                
client.addspell(new spell(true) { id 6001 });
            }
            if (
client.entity.firstrebornclass >= 60 && client.entity.firstrebornclass <= 65 || client.entity.secondrebornclass >= 60 && client.entity.secondrebornclass <= 65 || client.entity.class >= 60 && client.entity.class <= 65)
            {
                
client.addspell(new spell(true) { id 10400 });
            }
            if (
client.entity.firstrebornclass >= 10 && client.entity.firstrebornclass <= 15 || client.entity.secondrebornclass >= 10 && client.entity.secondrebornclass <= 15 || client.entity.class >= 10 && client.entity.class <= 15)
            {
                
client.addspell(new spell(true) { id 1110 });
            }
            if (
client.entity.firstrebornclass == 65 && client.entity.secondrebornclass == 65 && client.entity.class >= 60 && client.entity.class <= 65)
            {
                
client.addspell(new spell(true) { id 10405 });
            }
            if (
client.entity.firstrebornclass == 135 && client.entity.secondrebornclass == 135 && client.entity.class >= 130 && client.entity.class <= 135)
            {
                
client.addspell(new spell(true) { id 30000 });
            }
            
#endregion addrebornspell

        
}
    }


اللى شايف ف السورس مشاكل تانى يسيبهأأأأ


أرجو من الادارة تظبيط الموضوع


كلامك صح ومشكور طبعا
بس فى اسكلات بتفضل زى البيزون بتاع الننجا وده طبعاا مينفعش وجابلى ايرور فى رموف اسكل نشف ريقى لما اتحل
خد بقى مشكله صغيره ( رنك الثندر ستراك فى قائمه الشرف مش بيظهر )