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.
Dear friends,
Just a reminder - our Open Beta Test begins today at 18:00!
Join us to explore the world together, test the update, and help us make it even better.
See you in game!
The Chronicle 4 client is now available for download.
I tried mate with a fresh Freya, H5, H5 part 5, and always the same issue. I can't enter inside the Game, as it appears black. I. Can hear sound and so on from the starting location and quest, but I can't see a thing
We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX!
Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
The client is in Chinese, so it cannot be displayed. There are two solutions: find an English client yourself, or install the Chinese language support package for the operating system.
Sorry, I also found the client from the Internet. You can also find a Freya client yourself.
thanks mate it works, but i cant see any letters on screen . how to fix this?
also it seems it does not enter into the game, and get stuck on loading. do you got a discord or someway to chat mate?
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.