Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/config/npcs.properties b/config/npcs.properties
- index 9c99a9f..3e35fd3 100644
- --- a/config/npcs.properties
- +++ b/config/npcs.properties
- @@ -137,6 +137,13 @@
- # Random interval. Value is hour.
- AntQueenRandomSpawn = 17
- +#Alteara novas coordenadas, precisa alterar BossZone para nao bugar target etc.
- +#New Coordenada Queen ant
- +#Retail -21610, 181594, -5734;
- +CoordenadaQueenAnt_X = -21610
- +CoordenadaQueenAnt_Y = 181594
- +CoordenadaQueenAnt_Z = -5734
- +
- # ------------------------------------------------------------
- # Antharas
- # ------------------------------------------------------------
- diff --git a/java/net/sf/l2j/Config.java b/java/net/sf/l2j/Config.java
- index cdbc650..844cdf5 100644
- --- a/java/net/sf/l2j/Config.java
- +++ b/java/net/sf/l2j/Config.java
- @@ -367,6 +367,11 @@
- public static int SPAWN_INTERVAL_AQ;
- public static int RANDOM_SPAWN_TIME_AQ;
- + /** NEW Spawn Queen ant */
- + public static int COORDENADA_QUEEN_X;
- + public static int COORDENADA_QUEEN_Y;
- + public static int COORDENADA_QUEEN_Z;
- +
- public static int SPAWN_INTERVAL_ANTHARAS;
- public static int RANDOM_SPAWN_TIME_ANTHARAS;
- public static int WAIT_TIME_ANTHARAS;
- @@ -1150,6 +1155,10 @@
- SPAWN_INTERVAL_AQ = npcs.getProperty("AntQueenSpawnInterval", 36);
- RANDOM_SPAWN_TIME_AQ = npcs.getProperty("AntQueenRandomSpawn", 17);
- + COORDENADA_QUEEN_X = npcs.getProperty("CoordenadaQueenAnt_X", 36);
- + COORDENADA_QUEEN_Y = npcs.getProperty("CoordenadaQueenAnt_Y", 36);
- + COORDENADA_QUEEN_Z = npcs.getProperty("CoordenadaQueenAnt_Z", 36);
- +
- SPAWN_INTERVAL_ANTHARAS = npcs.getProperty("AntharasSpawnInterval", 264);
- RANDOM_SPAWN_TIME_ANTHARAS = npcs.getProperty("AntharasRandomSpawn", 72);
- WAIT_TIME_ANTHARAS = npcs.getProperty("AntharasWaitTime", 30) * 60000;
- 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
- index 8f7626f..3c5fdf9 100644
- --- a/java/net/sf/l2j/gameserver/scripting/scripts/ai/individual/QueenAnt.java
- +++ b/java/net/sf/l2j/gameserver/scripting/scripts/ai/individual/QueenAnt.java
- @@ -45,9 +45,9 @@
- ROYAL
- };
- - private static final int QUEEN_X = -21610;
- - private static final int QUEEN_Y = 181594;
- - private static final int QUEEN_Z = -5734;
- + private static final int QUEEN_X = Config.COORDENADA_QUEEN_X;
- + private static final int QUEEN_Y = Config.COORDENADA_QUEEN_Y;
- + private static final int QUEEN_Z = Config.COORDENADA_QUEEN_Z;
- // Status Tracking
- private static final byte ALIVE = 0; // Queen Ant is spawned.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement