Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /config/custom/L2_jMega.ini (revision 370)
- +++ /config/custom/L2_jMega.ini (working copy)
- #=============================================================
- # Anuncio de Drop dos bosses
- #=============================================================
- # Padrão: false
- AnnounceDropItem = true
- +#=============================================================
- +# Teleporte GK com efeito Mágico
- +#=============================================================
- +# Padrão: false
- +TeleportEffect = true
- --- java/com/l2jmega/Config.java (revision 370)
- +++ java/com.l2jmega/Config.java (working copy)
- public static boolean ANNOUNCE_DROP_ITEM;
- + public static boolean Teleport_Effect;
- public static boolean BLOCK_SELL_ITEMS_ADENA;
- public static boolean GM_VIEW_PL_ON;
- public static String NAME_TVT;
- + Teleport_Effect = Boolean.parseBoolean(l2jmega.getProperty("TeleportEffect", "false"));
- ANNOUNCE_DROP_ITEM = Boolean.parseBoolean(l2jmega.getProperty("AnnounceDropItem", "false"));
- BLOCK_SELL_ITEMS_ADENA = Boolean.parseBoolean(l2jmega.getProperty("DisablePriceAdenaItems", "False"));
- --- java/com/l2jmega/gameserver/model/actor/instance/Gatekeeper.java (revision 370)
- +++ java/com/l2jmega/gameserver/model/actor/instance/Gatekeeper.java (working copy)
- import com.l2jmega.gameserver.model.zone.ZoneId;
- import com.l2jmega.gameserver.network.SystemMessageId;
- import com.l2jmega.gameserver.network.serverpackets.ActionFailed;
- +import com.l2jmega.gameserver.network.serverpackets.MagicSkillUse;
- if (player.destroyItemByItemId("Teleport ", (list.isNoble()) ? 6651 : 57, price, this, true))
- player.teleToLocation(list, 100);
- + if (Config.Teleport_Effect)
- + {
- + player.broadcastPacket(new MagicSkillUse(player, player, 2036, 1, 0, 0));
- + }
- player.sendPacket(ActionFailed.STATIC_PACKET);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment