Advertisement
Sarada-L2

New Spawn Queen Ant Acis 370

Jun 20th, 2021
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. diff --git a/config/npcs.properties b/config/npcs.properties
  2. index 9c99a9f..3e35fd3 100644
  3. --- a/config/npcs.properties
  4. +++ b/config/npcs.properties
  5. @@ -137,6 +137,13 @@
  6. # Random interval. Value is hour.
  7. AntQueenRandomSpawn = 17
  8.  
  9. +#Alteara novas coordenadas, precisa alterar BossZone para nao bugar target etc.
  10. +#New Coordenada Queen ant
  11. +#Retail -21610, 181594, -5734;
  12. +CoordenadaQueenAnt_X = -21610
  13. +CoordenadaQueenAnt_Y = 181594
  14. +CoordenadaQueenAnt_Z = -5734
  15. +
  16. # ------------------------------------------------------------
  17. # Antharas
  18. # ------------------------------------------------------------
  19. diff --git a/java/net/sf/l2j/Config.java b/java/net/sf/l2j/Config.java
  20. index cdbc650..844cdf5 100644
  21. --- a/java/net/sf/l2j/Config.java
  22. +++ b/java/net/sf/l2j/Config.java
  23. @@ -367,6 +367,11 @@
  24. public static int SPAWN_INTERVAL_AQ;
  25. public static int RANDOM_SPAWN_TIME_AQ;
  26.  
  27. + /** NEW Spawn Queen ant */
  28. + public static int COORDENADA_QUEEN_X;
  29. + public static int COORDENADA_QUEEN_Y;
  30. + public static int COORDENADA_QUEEN_Z;
  31. +
  32. public static int SPAWN_INTERVAL_ANTHARAS;
  33. public static int RANDOM_SPAWN_TIME_ANTHARAS;
  34. public static int WAIT_TIME_ANTHARAS;
  35. @@ -1150,6 +1155,10 @@
  36. SPAWN_INTERVAL_AQ = npcs.getProperty("AntQueenSpawnInterval", 36);
  37. RANDOM_SPAWN_TIME_AQ = npcs.getProperty("AntQueenRandomSpawn", 17);
  38.  
  39. + COORDENADA_QUEEN_X = npcs.getProperty("CoordenadaQueenAnt_X", 36);
  40. + COORDENADA_QUEEN_Y = npcs.getProperty("CoordenadaQueenAnt_Y", 36);
  41. + COORDENADA_QUEEN_Z = npcs.getProperty("CoordenadaQueenAnt_Z", 36);
  42. +
  43. SPAWN_INTERVAL_ANTHARAS = npcs.getProperty("AntharasSpawnInterval", 264);
  44. RANDOM_SPAWN_TIME_ANTHARAS = npcs.getProperty("AntharasRandomSpawn", 72);
  45. WAIT_TIME_ANTHARAS = npcs.getProperty("AntharasWaitTime", 30) * 60000;
  46. diff --git a/java/net/sf/l2j/gameserver/scripting/scripts/ai/individual/QueenAnt.java b/java/net/sf/l2j/gameserver/scripting/scripts/ai/individual/QueenAnt.java
  47. index 8f7626f..3c5fdf9 100644
  48. --- a/java/net/sf/l2j/gameserver/scripting/scripts/ai/individual/QueenAnt.java
  49. +++ b/java/net/sf/l2j/gameserver/scripting/scripts/ai/individual/QueenAnt.java
  50. @@ -45,9 +45,9 @@
  51. ROYAL
  52. };
  53.  
  54. - private static final int QUEEN_X = -21610;
  55. - private static final int QUEEN_Y = 181594;
  56. - private static final int QUEEN_Z = -5734;
  57. + private static final int QUEEN_X = Config.COORDENADA_QUEEN_X;
  58. + private static final int QUEEN_Y = Config.COORDENADA_QUEEN_Y;
  59. + private static final int QUEEN_Z = Config.COORDENADA_QUEEN_Z;
  60.  
  61. // Status Tracking
  62. private static final byte ALIVE = 0; // Queen Ant is spawned.
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement