Chickz Posted June 24, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Share Posted June 24, 2012 i think i see it somewhere but it cannot be found.. it like setarray .mvp$,"mvp_id","mvp_id"; onnpckillevent: if( rand(100) > 5 ) end; if( ){ getitem 501,1; } so when u kill MVP, you'll get 1 red potion by 5% chance... Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 24, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 12:29 PM Share Posted June 24, 2012 something like this ? - script Sample -1,{ OnNPCKillEvent: if( getmonsterinfo( killedrid,22 ) && rand(100) < 5 ){ getitem 501,1; } end; } Quote Link to comment Share on other sites More sharing options...
Chickz Posted June 25, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Author Share Posted June 25, 2012 not too sure... how does ur script work? Quote Link to comment Share on other sites More sharing options...
Chickz Posted June 26, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Author Share Posted June 26, 2012 sir emistry, can u set that item just drop when MVP killed? Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 27, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 12:29 PM Share Posted June 27, 2012 sir emistry, can u set that item just drop when MVP killed? remove the && rand(100) < 5 Quote Link to comment Share on other sites More sharing options...
Question
Chickz
i think i see it somewhere but it cannot be found..
it like
setarray .mvp$,"mvp_id","mvp_id";
onnpckillevent:
if( rand(100) > 5 ) end;
if( ){
getitem 501,1;
}
so when u kill MVP, you'll get 1 red potion by 5% chance...
Link to comment
Share on other sites
4 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.