Secret Experience

Secret Experience (https://secretexperience.net/index.php)
-   [L2J] Dúvidas (https://secretexperience.net/forumdisplay.php?f=37)
-   -   [Interlude] Pks quando morrerem ou derem /unstuck irem direto para floran (https://secretexperience.net/showthread.php?t=32408)

jeanalden 01-08-2011 03:33 PM

Pks quando morrerem ou derem /unstuck irem direto para floran
 
qria sabe como editar para os pks quando morrerem ou derem /unstuck irem direto para floran village alguem ajuda aew vlw!:jimlad:

-=Adm-Hefesto=- 01-08-2011 05:47 PM

Amigo para facilitar sua Duvida, posta qual Rev você esta usando

jeanalden 01-08-2011 07:44 PM

minha rev é l2jteon! alguem ajuda aew =)

Mazokista 02-08-2011 10:41 AM

So Adicionar e Testa =x
Código:

Index: C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/config/functions/pvp.properties
===================================================================
--- C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/config/functions/pvp.properties        (revision 332)
+++ C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/config/functions/pvp.properties        (working copy)
@@ -65,8 +65,6 @@
 # The player with karma can use the Warehouse?
 AltKarmaPlayerCanUseWareHouse = True

+# The dead player and the player that will use a SOE of any type will be teleported to floran
+AltKarmaTeleportToFloran=true
+
 # --------------------------------
 #  PvP Color System -
Index: C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/head-src/com/l2jdemonniac/gameserver/handler/usercommandhandlers/Escape.java
===================================================================
--- C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/head-src/com/l2jdemonniac/gameserver/handler/usercommandhandlers/Escape.java        (revision 332)
+++ C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/head-src/com/l2jdemonniac/gameserver/handler/usercommandhandlers/Escape.java        (working copy)
@@ -176,12 +176,12 @@
 
                        try
                        {
-                                if (_activeChar.isKoof())
-                                        _activeChar.teleToLocation(146334, 25767, -2013);
-                                else if (_activeChar.isNoob())
-                                        _activeChar.teleToLocation(59669, -42221, -2992);
-                                else
-                                        _activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
+                                if(_activeChar.getKarma()>0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN){
+                                        _activeChar.teleToLocation(17836, 170178, -3507, true); // Floran
+                                        return;
+                                }
+                               
+                                _activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
                        }
                        catch(Throwable e)
                        {
Index: C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/head-src/com/l2jdemonniac/Config.java
===================================================================
--- C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/head-src/com/l2jdemonniac/Config.java        (revision 332)
+++ C:/Documents and Settings/Roberto/workspace/L2JDemonniac/trunk/gameserver/head-src/com/l2jdemonniac/Config.java        (working copy)
@@ -984,7 +984,7 @@
        public static boolean ALT_GAME_KARMA_PLAYER_CAN_TELEPORT;
        public static boolean ALT_GAME_KARMA_PLAYER_CAN_TRADE;
        public static boolean ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE;
+        public static boolean ALT_KARMA_TELEPORT_TO_FLORAN;
+
        public static byte BUFFS_MAX_AMOUNT;
        public static byte DEBUFFS_MAX_AMOUNT;
        public static boolean AUTO_LEARN_DIVINE_INSPIRATION;
@@ -2726,8 +2726,7 @@
                        ALT_GAME_KARMA_PLAYER_CAN_TELEPORT = Boolean.valueOf(pvpSettings.getProperty("AltKarmaPlayerCanTeleport", "true"));
                        ALT_GAME_KARMA_PLAYER_CAN_TRADE = Boolean.valueOf(pvpSettings.getProperty("AltKarmaPlayerCanTrade", "true"));
                        ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE = Boolean.valueOf(pvpSettings.getProperty("AltKarmaPlayerCanUseWareHouse", "true"));
+                        ALT_KARMA_TELEPORT_TO_FLORAN = Boolean.valueOf(pvpSettings.getProperty("AltKarmaTeleportToFloran", "true"));

                        PVP_REWARD_ENABLED = Boolean.valueOf(pvpSettings.getProperty("PvpRewardEnabled", "false"));
                        PVP_REWARD_ID = Integer.parseInt(pvpSettings.getProperty("PvpRewardItemId", "6392"));
                        PVP_REWARD_AMOUNT = Integer.parseInt(pvpSettings.getProperty("PvpRewardAmmount", "1"));



Horários baseados na GMT -3. Agora são 01:10 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.