Currently Posted August 9, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted August 9, 2014 Example: Poring,Drops,Fabre,Lunatic gets killed. rand(1,4) getitem 512,1; Btw, Is rand(1,4) 25% chance of getitem? Thank you for helping out. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 9, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted August 9, 2014 if( !rand(4) ) // 25% getitem 512,1; Quote Link to comment Share on other sites More sharing options...
Currently Posted August 10, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted August 10, 2014 - script droprate -1,{ monster "geffen",0,0,"Edacity Guardian",1002,1,strnpcinfo(0)+"::OnGuardianDead"; end; OnGuardianDead: if( !rand(4) ) getitem 512,1; end; } Good? bump! Quote Link to comment Share on other sites More sharing options...
Question
Currently
Example:
Poring,Drops,Fabre,Lunatic gets killed.
Btw, Is rand(1,4) 25% chance of getitem?
Thank you for helping out.
Link to comment
Share on other sites
2 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.