sacrifice Posted November 29, 2019 Share Posted November 29, 2019 Hello I dont find how is manage visuel effect of Kamael soul charge for create custom Chargesoul effect I dont find in skillgrp.dat a visueleffectID and dont find effect in lineageeffect.u or lineageskilleffect link Who can help me? Thx Quote Link to comment Share on other sites More sharing options...
sacrifice Posted December 5, 2019 Author Share Posted December 5, 2019 (edited) I fund in L2Player.java in core, the code for start effect cast: Quote // Npc -> Player absorb animation if (target != null) broadcastPacket(new ExSpawnEmitter(getObjectId(), target.getObjectId()), 500); and in ExSpawnEmitter.java /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2jfree.gameserver.network.packets.server; import com.l2jfree.gameserver.gameobjects.L2Npc; import com.l2jfree.gameserver.gameobjects.L2Player; import com.l2jfree.gameserver.network.packets.L2ServerPacket; public class ExSpawnEmitter extends L2ServerPacket { public ExSpawnEmitter(int playerObjectId, int npcObjectId) { _playerObjectId = playerObjectId; _npcObjectId = npcObjectId; } public ExSpawnEmitter(L2Player player, L2Npc npc) { _playerObjectId = player.getObjectId(); _npcObjectId = npc.getObjectId(); } @Override protected final void writeImpl() { writeC(0xfe); writeH(0x5d); writeD(_npcObjectId); writeD(_playerObjectId); writeD(0x00); } @Override public String getType() { return "SpawnEmitter"; } private final int _npcObjectId; private final int _playerObjectId; } But I dont know it s possible to create custom spawnemitter link with other Lineageeffect? Edited December 5, 2019 by sacrifice Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.