AOCzxc Posted April 6, 2021 Posted April 6, 2021 Pahelp po mga bossss... Every kill mvp monster chance to get item 50% with announce...p Quote
Racaae Posted April 6, 2021 Posted April 6, 2021 - script mvpdrop -1,{ OnNPCKillEvent: if (getmonsterinfo(killedrid,MOB_MVPEXP) > 0) { //check if monster is mvp if (rand(1,100) < 50) { //50% chance getitem 607, 1; //got 1 yggdrasil berry announce strcharinfo(0) + " got " + getitemname(607) + " from a MvP!", bc_all; } } end; } 2 Quote
AOCzxc Posted April 7, 2021 Author Posted April 7, 2021 9 hours ago, Racaae said: - script mvpdrop -1,{ OnNPCKillEvent: if (getmonsterinfo(killedrid,MOB_MVPEXP) > 0) { //check if monster is mvp if (rand(1,100) < 50) { //50% chance getitem 607, 1; //got 1 yggdrasil berry announce strcharinfo(0) + " got " + getitemname(607) + " from a MvP!", bc_all; } } end; } Thanks man Quote
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.