- 打卡等级:殷海萨
- 打卡总天数:765
- 打卡月天数:17
- 打卡总奖励:5193
|
作者:Henrique S 、 WallisTeer
功能简介:
玩家点击传送后会有一个特效,默认天堂2 暗影魔杖 技能特效
- --- /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);
- }
- }
复制代码 下载地址
http://www.17danji.cn/jbkz/493.html
VIP下载直链
|
|