Hello, I'm spawning mobs from the core side, using code like:
L2MonsterInstance mob = new L2MonsterInstance(IdFactory.getInstance().getNextId(),NpcTable.getInstance().getTemplate(21425));
mob.setHeading(0);
mob.setCurrentHpMp(mob.getMaxHp(), mob.getMaxMp());
mob.spawnMe(x, y, z);
but after killing this mob it is not respawning, it's possible to set respawn time in this way? Or I should make script and set respawn time in onKill() method?
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
Meikis
Hello, I'm spawning mobs from the core side, using code like:
but after killing this mob it is not respawning, it's possible to set respawn time in this way? Or I should make script and set respawn time in onKill() method?
Edited by Meikis2 answers to this question
Recommended Posts