I've got a custom boss engine and whenever boss dies it uses this method:
public void delete()
{
if (_lastSpawn == null)
{
return;
}
_lastSpawn.getLastSpawn().deleteMe();
_lastSpawn.stopRespawn();
SpawnTable.getInstance().deleteSpawn(_lastSpawn, false);
_lastSpawn = null;
setStatus(0);
setRespawnTime((System.currentTimeMillis()/1000)+((getMinutes()*60) + (randInt(0, (int)getDelay()*60))));
updateDbResp(getNpcId(), getRespawnTime()+(System.currentTimeMillis()/1000) , getStatus());
ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
{
@Override
public void run()
{
doSpawn();
}
}, getRespawnTime()*1000);
Announcements.announceToAll("Mighty Boss "+getName()+" has been killed!");
}
but it doesn't drop anything,what do I have to change so it starts dropping items?I've watched other instances,but it requires instance and I just want to drop items on the ground and everyone can pick them up.
The problem is the following. Whenever I spawn some fakeplayer for pvp or event, my character's target is always set together with the fakeplayer's target. Whenever I or a fakeplayer takes a target, all targets in an area are set to the same target.
I hope you understood.
Link changed
from https://l2.fiskpay.com/panel/0x41dA7A1e5085179F43758dC5F0a5bBEB012E07F1/
to https://l2.fiskpay.com/0x41dA7A1e5085179F43758dC5F0a5bBEB012E07F1/
WTS AQ, Zaken, Baium l2reborn origins x1
NOT cheap, so resellers likely aren't going to find this attractive.
MM doable at your expense ( epicnpc or pufa.store with verification )
discord :
xeenthekeen
If you like to test our CLExt fully server with latest updates before buy a subscription, you have the option to have,
7 Days Trial.
if you want send me a dm.
Question
StealthyS4m
I've got a custom boss engine and whenever boss dies it uses this method:
but it doesn't drop anything,what do I have to change so it starts dropping items?I've watched other instances,but it requires instance and I just want to drop items on the ground and everyone can pick them up.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts