Advertisement
Guest User

Untitled

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