Rizz Posted December 27, 2020 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Share 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 Link to comment Share on other sites More sharing options...
0 Mastagoon Posted January 21, 2021 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 63 Reputation: 38 Joined: 07/04/19 Last Seen: December 14, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 botka4aet Posted January 22, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 211 Reputation: 17 Joined: 12/23/11 Last Seen: June 11, 2024 Share Posted January 22, 2021 For ip - Getcharip() 1 Quote Link to comment Share on other sites More sharing options...
0 Rizz Posted January 26, 2021 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.