Rizz Posted December 27, 2020 Posted December 27, 2020 Hello, I need a help, I am looking for a script which makes the Boss monster [when dies] will grant everyone on Map a specific reward. However, the reward won't be granted to the similar IP/dual client and auto-trade players. Thanks in advance Quote
0 Mastagoon Posted January 21, 2021 Posted January 21, 2021 (edited) if you're talking about a certain boss monster, like a quest monster or so you can spawn that monster with a script and execute the reward command on the death trigger for example: - script boss_summoner -1,{ OnMobDead: addrid(1); getitem 909,1; end; OnInit: monster .map$,"--ja--",1002,1,strnpcinfo(3)+"::OnMobDead"; end; } if you're talking about all the field & dungeon boss monsters that spawn naturally, then you can try this: - script boss_rewards -1,{ OnNPCKillEvent: if(getmonsterinfo(killedrid, MOB_MVPEXP) > 1) { addrid(1); getitem 909,1; } end; } Edited January 21, 2021 by Mastagoon 1 Quote
0 Rizz Posted January 26, 2021 Author Posted January 26, 2021 On 1/21/2021 at 11:20 PM, Mastagoon said: if you're talking about a certain boss monster, like a quest monster or so you can spawn that monster with a script and execute the reward command on the death trigger for example: - script boss_summoner -1,{ OnMobDead: addrid(1); getitem 909,1; end; OnInit: monster .map$,"--ja--",1002,1,strnpcinfo(3)+"::OnMobDead"; end; } if you're talking about all the field & dungeon boss monsters that spawn naturally, then you can try this: - script boss_rewards -1,{ OnNPCKillEvent: if(getmonsterinfo(killedrid, MOB_MVPEXP) > 1) { addrid(1); getitem 909,1; } end; } Thank you so much for the response, I will test it first Quote
Question
Rizz
Hello, I need a help, I am looking for a script which makes the Boss monster [when dies] will grant everyone on Map a specific reward. However, the reward won't be granted to the similar IP/dual client and auto-trade players.

Thanks in advance
3 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.