Jump to content

[Share]Party Duel


Voqus

Recommended Posts

Hello there... this share is for newbies, so that'll be something easy.

Im not a talkative guy so i'll start right away...

 

Index: /trunk/L2_GameServer_It/java/config/other.properties

===================================================================

 

+#--------------------------------------------------------------- 

+# Party Duel Config                                                              - 

+#---------------------------------------------------------------

+

+# Default Coordinates : Coliseum

+# Spawn X

+PartyDuelSpawnX = -114462

+# Spawn Y

+PartyDuelSpawnY = -249619

+# Spawn Z

+PartyDuelSpawnZ = -2986

 

Index: /trunk/L2_GameServer_It/java/net/sf/l2j/Config.java

===================================================================

 

+              /** Custom Duel spawn */

+              DUEL_SPAWN_X    = Integer.parseInt(otherSettings.getProperty("PartyDuelSpawnX", "-114462")); 

+              DUEL_SPAWN_Y    = Integer.parseInt(otherSettings.getProperty("PartyDuelSpawnY", "-249619")); 

+              DUEL_SPAWN_Z    = Integer.parseInt(otherSettings.getProperty("PartyDuelSpawnZ", "-2986"));

 

Index: /trunk/L2_GameServer_It/java/net/sf/l2j/gameserver/model/entity/Duel.java

===================================================================

import javolution.util.FastList;

+import net.sf.l2j.Config;

import net.sf.l2j.gameserver.ThreadPoolManager;

import net.sf.l2j.gameserver.ai.CtrlIntention;

@@ -229,5 +230,5 @@

                                        //TODO: stadia manager needs a function to return an unused stadium for duels

                                        // currently only teleports to the same stadium

-                                        _duel.teleportPlayers(-102495, -209023, -3326);

+                                        _duel.teleportPlayers(Config.DUEL_SPAWN_X, Config.DUEL_SPAWN_Y, Config.DUEL_SPAWN_Z);

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...