harley Posted February 20, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 11/08/14 Last Seen: November 25, 2022 Share Posted February 20, 2017 (edited) Request for MVP announcer when killed to all map,getitem # by drop rate chance..Thanks for advance Edited February 20, 2017 by harley Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted February 21, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted February 21, 2017 (edited) 4 hours ago, harley said: Request for MVP announcer when killed to all map,getitem # by drop rate chance..Thanks for advance - script #mvp_drop -1,{ OnNPCKillEvent: if (getmonsterinfo(killedrid,22)) // If mob has MOB_MVPEXP, it's an MVP. if (rand(100) < 50) //chnage % as your needs getitem 512,1; // your item id here announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got Apple at "+ strcharinfo(3),0,0x00FF00; } end; } Edited February 21, 2017 by Cyro 1 Quote Link to comment Share on other sites More sharing options...
0 harley Posted February 21, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 11/08/14 Last Seen: November 25, 2022 Author Share Posted February 21, 2017 7 hours ago, Cyro said: - script #mvp_drop -1,{ OnNPCKillEvent: if (getmonsterinfo(killedrid,22)) // If mob has MOB_MVPEXP, it's an MVP. if (rand(100) < 50) //chnage % as your needs getitem 512,1; // your item id here announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got Apple at "+ strcharinfo(3),0,0x00FF00; } end; } Thank you so much.. it's working but can you make a script for Boss monster only and not for mini boss or monster? and Announce only when the player get the item with yellow letters? Thanks Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted February 21, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted February 21, 2017 13 minutes ago, harley said: Thank you so much.. it's working but can you make a script for Boss monster only and not for mini boss or monster? and Announce only when the player get the item with yellow letters? Thanks you tested it with mini boss? i dont think mini boos give MOB_MVPEXP so it must be working for MVP only announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got Apple at "+ strcharinfo(3),0,0x00FF00; } change above line to announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got Apple at "+ strcharinfo(3),0; } Quote Link to comment Share on other sites More sharing options...
0 harley Posted February 21, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 11/08/14 Last Seen: November 25, 2022 Author Share Posted February 21, 2017 (edited) Thank you.. Fixed :) Edited February 21, 2017 by harley Quote Link to comment Share on other sites More sharing options...
0 Corsario Posted October 31, 2017 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 02/05/15 Last Seen: December 5, 2017 Share Posted October 31, 2017 how u fixed?, when i use this scrip and kill a kasa o salamander. The scrip dropme a item D;{ Quote Link to comment Share on other sites More sharing options...
0 K1NGRAFFY Posted September 3, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 04/23/17 Last Seen: July 20, 2020 Share Posted September 3, 2018 How did you fix this? Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted September 3, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 1 hour ago Share Posted September 3, 2018 On 10/31/2017 at 9:32 AM, Corsario said: how u fixed?, when i use this scrip and kill a kasa o salamander. The scrip dropme a item D;{ 16 minutes ago, K1NGRAFFY said: How did you fix this? try this - script #mvp_drop -1,{ OnNPCKillEvent: if (getmonsterinfo( killedrid, MOB_MVPEXP )) // If mob has MOB_MVPEXP, it's an MVP. if (rand(100) < 50) //chnage % as your needs getitem 512,1; // your item id here announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got Apple at "+ strcharinfo(3),0,0x00FF00; } end; } Quote Link to comment Share on other sites More sharing options...
0 K1NGRAFFY Posted September 3, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 04/23/17 Last Seen: July 20, 2020 Share Posted September 3, 2018 Same script but what I mean is how did he fix the announcer because if I killed poring my name will be announcer I want to put it only in MVP and remove the apple etc. Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted September 3, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 1 hour ago Share Posted September 3, 2018 7 minutes ago, K1NGRAFFY said: Same script but what I mean is how did he fix the announcer because if I killed poring my name will be announcer I want to put it only in MVP and remove the apple etc. Ops sory, change this announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got Apple at "+ strcharinfo(3),0,0x00FF00; } into this announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got Apple at "+ strcharinfo(3),0; } Quote Link to comment Share on other sites More sharing options...
0 K1NGRAFFY Posted September 3, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 04/23/17 Last Seen: July 20, 2020 Share Posted September 3, 2018 Dude I want this to remove the "Got Apple" and If I killed Mini boss or normal it should be not announce for ONLY MVP Monster did you get what I mean?? Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted September 4, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 1 hour ago Share Posted September 4, 2018 (edited) - script #mvp_drop -1,{ OnNPCKillEvent: set .itemrew, 7539; if (getmonsterinfo( killedrid, MOB_MVPEXP )) {// If mob has MOB_MVPEXP, it's an MVP. if (rand(100) < 50) {//chnage % as your needs getitem .itemrew,1; // your item id here announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got "+getitemname(.itemrew)+" at "+ strcharinfo(3),0; } end; } end; } Edited September 4, 2018 by hendra814 Quote Link to comment Share on other sites More sharing options...
Question
harley
Request for MVP announcer when killed to all map,getitem # by drop rate chance..Thanks for advance
Edited by harleyLink to comment
Share on other sites
11 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.