Short question. How could I disable the champion spawn for certain monsters with a certain title? The monster type is L2Monster, and the title is MonsterSpawn.
Would it be possible to exclude these mobs to be transformed into a champion mob?
if(Config.L2JMOD_CHAMPION_ENABLE){// Set champion on next spawnif(!(thisinstanceof L2GrandBossInstance)&&!(thisinstanceof L2RaidBossInstance)&&!(thisinstanceof L2ChestInstance)&&!(getTemplate().title.contentEquals("MonsterSpawn")&&(thisinstanceof L2MonsterInstance)&&(Config.L2JMOD_CHAMPION_FREQUENCY >0)&&(getLevel()>=Config.L2JMOD_CHAMP_MIN_LVL)&&(getLevel()<=Config.L2JMOD_CHAMP_MAX_LVL))){
final int random =Rnd.get(100);if(random <Config.L2JMOD_CHAMPION_FREQUENCY){
setChampion(true);}}}
As you can see I tried with the getTemplte.title but I doesn't work.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
And you join to maxcheaters to write about scam? to see it who? the other scammers? this is the community from lineage. Thiefs! sad for your money. but don't trust people.
Question
stalker66
Hi guys.
Short question. How could I disable the champion spawn for certain monsters with a certain title? The monster type is L2Monster, and the title is MonsterSpawn.
Would it be possible to exclude these mobs to be transformed into a champion mob?
As you can see I tried with the getTemplte.title but I doesn't work.
Any help or hint would be great. Thanks!
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.