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.
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
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.
11 answers to this question
Recommended Posts