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?
Hello everyone!
I have a problem with editing mobs. I took some Mobs from here without sound and added them,
they looked good !!! BUT BUT !
When I hit him it does generate the effect, but when he hits it it doesn't.
Is this effect controlled from Npcgrp.dat?
PD_ I add capture of the event / effect I mention.
I await your answers, thank you!
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