Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: /aCis_gameserver/java/net/sf/l2j/gameserver/datatables/NpcTable.java
- ===================================================================
- --- /aCis_gameserver/java/net/sf/l2j/gameserver/datatables/NpcTable.java (revision 2)
- +++ /aCis_gameserver/java/net/sf/l2j/gameserver/datatables/NpcTable.java (revision 10)
- @@ -26,4 +26,5 @@
- import java.util.stream.Collectors;
- +import net.sf.l2j.Config;
- import net.sf.l2j.gameserver.model.L2Skill;
- import net.sf.l2j.gameserver.model.MinionData;
- @@ -145,4 +146,7 @@
- continue;
- }
- + if (Config.LIST_REMOVE_FROM_DROP.contains(data.getItemId()))
- + continue;
- +
- category.addDropData(data, isRaid);
- }
- Index: /aCis_gameserver/java/net/sf/l2j/Config.java
- ===================================================================
- --- /aCis_gameserver/java/net/sf/l2j/Config.java (revision 9)
- +++ /aCis_gameserver/java/net/sf/l2j/Config.java (revision 10)
- @@ -718,4 +718,8 @@
- public static int PLAY5;
- public static int PLAY6;
- +
- + /** Usefull Configs by Leki */
- + public static String REMOVE_FROM_DROP;
- + public static List<Integer> LIST_REMOVE_FROM_DROP = new ArrayList<>();
- // --------------------------------------------------
- @@ -1593,5 +1597,11 @@
- PLAY4 = Integer.parseInt(Leki.getProperty("CasinoMoney4", "100000000"));
- PLAY5 = Integer.parseInt(Leki.getProperty("CasinoMoney5", "500000000"));
- - PLAY6 = Integer.parseInt(Leki.getProperty("CasinoMoney6", "1000000000"));
- + PLAY6 = Integer.parseInt(Leki.getProperty("CasinoMoney6", "1000000000"));
- + REMOVE_FROM_DROP = Leki.getProperty("ListRemoveFromDrop", "1341,1342,1343,1344,1345,1047,1048,1049,1050,1051");
- + LIST_REMOVE_FROM_DROP = new ArrayList<>();
- + for (String listid : REMOVE_FROM_DROP.split(","))
- + {
- + LIST_REMOVE_FROM_DROP.add(Integer.parseInt(listid));
- + }
- }
- Index: /aCis_gameserver/config/Leki.ini
- ===================================================================
- --- /aCis_gameserver/config/Leki.ini (revision 9)
- +++ /aCis_gameserver/config/Leki.ini (revision 10)
- @@ -93,2 +93,32 @@
- CasinoMoney5 - 500000000
- CasinoMoney6 = 1000000000
- +
- +#===========================#
- +# Useful configs by Leki #
- +#===========================#
- +#Items which must be removed from droplist
- +ListRemoveFromDrop = 1341,1342,1343,1344,1345,1047,1048,1049,1050,1051,\
- +1052,1053,1054,1055,1056,1057,1058,1059,1095,1096,\
- +1097,1098,1099,1150,1151,1152,1400,1401,1402,1403,\
- +1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,\
- +1414,1415,1416,1417,1418,1512,1513,1514,1515,1516,\
- +1517,1667,1668,1669,1670,1671,3039,3040,3041,3042,\
- +3043,3044,3045,3046,3047,3048,3049,3050,3051,3052,\
- +3053,3054,3055,3056,3057,3058,3059,3060,3061,3062,\
- +3063,3064,3065,3066,3067,3068,3069,3070,3071,3072,\
- +3073,3074,3075,3076,3077,3078,3079,3080,3081,3082,\
- +3083,3084,3085,3086,3087,3088,3089,3090,3091,3092,\
- +3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,\
- +3429,3430,3431,3432,3941,3942,3944,4200,4201,4203,\
- +4206,4207,4208,4906,4907,4908,4909,4910,4911,4912,\
- +4913,4914,4916,4917,4918,4919,4920,4922,4923,4924,\
- +4928,4929,4930,4931,4932,4933,4934,4935,5809,5810,\
- +5811,5812,5813,5814,5815,5816,7638,7639,7640,7641,\
- +7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,\
- +7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,\
- +7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,\
- +1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,\
- +1528,1529,1530,1531,1532,1533,1534,1535,1536,1537,\
- +1856,3103,3104,3105,3106,3107,3108,3109,3110,3111,\
- +3112,3113,3114,3115,3116,3117,3118,4204,4205,4925,\
- +4926,4927,6350,6351,6395,6396,6397
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement