ViewtifulNinja Posted July 20, 2018 Posted July 20, 2018 How do I put in a NPC script a command that calls the mob_count_rate configuration of the conf\battle\monster.conf file? I want in a given game event, the mob_count_rate setting to increase from 100 to 150. Quote
0 Psy Ops Posted November 17, 2018 Posted November 17, 2018 you will need to add a setbattleflag for it then just need to trigger the command @reloadscript or @reloadbattleconf. Not sure what would be best to use there since i am fairly new Quote
0 n0tttt Posted November 18, 2018 Posted November 18, 2018 Yes, as Psy said you have to do this: setbattleflag "mob_count_rate",150; But this topic is kinda old so he probably already got the answer. 1 Quote
0 DragonHero Posted May 29, 2019 Posted May 29, 2019 Dont forget conf/battle/monster.conf if you simply want mobs 10x in all maps do mob_count_rate: 1000 instead of mob_count_rate: 100 Quote
0 ViewtifulNinja Posted October 2, 2021 Author Posted October 2, 2021 (edited) On 11/18/2018 at 5:34 PM, n0tttt said: Yes, as Psy said you have to do this: setbattleflag "mob_count_rate",150; But this topic is kinda old so he probably already got the answer. So I didn't get what I wanted, even though the years had gone by. I went back to working on my server, and I did it as follows: - script DaynNight -1,{ OnInit: if(gettime(3) >= 18 || gettime(3) < 6){night;} else {day;} end; OnClock0600: day; setbattleflag "mob_count_rate",100; end; OnClock1800: night; setbattleflag "mob_count_rate",150; end; } But it doesn't work, whichever way I put it. I've tried it in different ways. If possible and they can help me... Edited October 2, 2021 by ViewtifulNinja Quote
0 Skorm Posted October 4, 2021 Posted October 4, 2021 @ViewtifulNinja Good to see you're back at it have you tried like reloading mobs after setting the value just to see if there is a change? Quote
0 ViewtifulNinja Posted October 4, 2021 Author Posted October 4, 2021 (edited) Thank you, @Skorm. How do I do this reloading? What would the command be? Edited October 4, 2021 by ViewtifulNinja Quote
0 Skorm Posted October 8, 2021 Posted October 8, 2021 @reloadmobdb something like that I can't exactly remember if that refreshes the mobs on a map though. 1 Quote
Question
ViewtifulNinja
How do I put in a NPC script a command that calls the mob_count_rate configuration of the conf\battle\monster.conf file?
I want in a given game event, the mob_count_rate setting to increase from 100 to 150.
7 answers 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.