Hello, i use L2jSunrise, and i want to know how i can edit these lines to have possibility to spawn more than 1 raid ( instance )?
if (RaidBossSpawnManager.getInstance().isDefined(spawn.getId()))
{
activeChar.sendMessage("You cannot spawn another instance of " + template.getName() + ".");
}
else
{
if (template.isType("L2RaidBoss"))
{
spawn.setRespawnMinDelay(43200);
spawn.setRespawnMaxDelay(129600);
RaidBossSpawnManager.getInstance().addNewSpawn(spawn, 0, template.getBaseHpMax(), template.getBaseMpMax(), permanent);
}
else
{
SpawnTable.getInstance().addNewSpawn(spawn, permanent);
spawn.init();
}
if (!permanent)
{
spawn.stopRespawn();
}
activeChar.sendMessage("Created " + template.getName() + " on " + target.getObjectId());
}
Question
stefan
kalispera pedes m.
san psilofun i xontrofun tou site thelw mia voithia:p
1on) apo pou mporw na katevasw oso to dinaton perisotera ftiagmena skills gia c6?
2on) ena site gia events me raids (opos exei o gold)kai tetia ektws apo ta ctf,tvt vip kai ta klasika xristougeniatika...
3on) gia na pw oti tha sikwsw enan server kai tha loggaroun 500 atoma ti taxitita net tha xreiastw?
efxaristw poli :)
keep walking ^^
Link to comment
Share on other sites
1 answer to this question
Recommended Posts