Jump to content

Recommended Posts

Posted

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

Posted (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 by sacrifice

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Lol another crappy server if you wanna x5000 rates go play l2java or damage, at least not gonna die in few months when server rent and cheap meth will fade out lol
    • Why the shitty interface then?
    • Wtf you even selling no clue at all, stop use this crappy AI 
    • We are a small team of developers from this community who used to play on the Interlude version of L2Pride, almost 20 years ago. There have been many attempts over the years to replicate this server, specifically the very first version of it that came on Interlude(C6) and all of them were met with failure. We decided to take it upon ourselves again since we remember every little detail that made this server unique and also were fortunate enough to get our hands in some of the old code that made the server unique. Some features about the server: ⚔️ Original Castle Reward System 🏹 Classic L2Pride Class Balance & Hunter's Village S-Grade PvP 🎯 12 Subclasses • Automatic TVT / CTF / DM / VIP Events 🔄 Fully Functional Rebirth System 🏆 PvP Rewards every 1,000 PvP Points 👑 Fully Working Olympiad ☠️ Cursed Weapons with Void Burst & Void Flow 💰 Beleth's Bronze, Silver & Gold Currency System since Adena is too easy to get ⭐ Safe Enchant +6 • Max Enchant +25 📍 Start: Cave of Trials • ⚔️ Leveling: Varka Silenos 🏛️ Farm Instances: Cave of Trials & Cemetery 🤖 Optional Autofarm & Healbot • 🚀 Teleport Stone The server is strictly focusing around PvP while minimizing PvE to the minimum, all classes have been balanced and tweaked for PvP, even dumb classes like Prophets and Bladedancers are now useful and fun to play PvP with. Posting this since there has been a lot of interest and approval from this subreddit, you can stay tuned and up to date about the opening here: https://discord.com/invite/2Knae6mmTx This is also our website made after the classic version of the game: https://www.l2belle.org/ (you can find more info and guides here) Since this is a server focused heavily on PvP we are expecting a lot of clans and people to join and make this a joyful ride. See you soon
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..