hi i want to make sure that every lhz mvp will drop another item, yet its not working:
Onsummon: // Select Coordinates to summon a random MVP on switch(rand(1,6)) { case 1: set .@x,140; set .@y,232; break; case 2: set .@x,75; set .@y,138; break; case 3: set .@x,140; set .@y,87; break; case 4: set .@x,205; set .@y,140; break; case 5: set .@x,123; set .@y,137; break; case 6: set .@x,175; set .@y,137; break; } set .@mob,rand(1646,1651); monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,"summon_boss_lt::OnMyMvPDead"; // Select Coordinates to summon a random 99 on switch(rand(1,6)) { case 1: set .@x2,183; set .@y2,97; break; case 2: set .@x2,97; set .@y2,96; break; case 3: set .@x2,47; set .@y2,139; break; case 4: set .@x2,231; set .@y2,140; break; case 5: set .@x2,139; set .@y2,211; break; case 6: set .@x2,139; set .@y2,259; break; } set .@mob2,rand(1640,1645); monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,"summon_boss_lt::OnMVP"; end;OnMyMvPDead: if ( .@mob == 1646 ) { getitem 20051,1;} if ( .@mob == 1647 ) { getitem 20023,1;} if ( .@mob == 1648 ) { getitem 20075,1;} if ( .@mob == 1649 ) { getitem 20044,1;} if ( .@mob == 1650 ) { getitem 20067,1;} if ( .@mob == 1651 ) { getitem 20045,1;} killmonster "lhz_dun03","summon_boss_lt::OnMVP"; initnpctimer; end;//Required to keep from erroringOnMVP: end;}
the .@mob is the same variable as the thing the script uses to decide which mvp should spawn.
hi i want to make sure that every lhz mvp will drop another item, yet its not working:
the .@mob is the same variable as the thing the script uses to decide which mvp should spawn.
thanks in advance!
Share this post
Link to post
Share on other sites