Stupeflix Posted July 2, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 61 Reputation: 3 Joined: 03/30/13 Last Seen: May 29, 2018 Share Posted July 2, 2013 Hello Just a question, why my card remover script is not 100% success.. some of my players complain that their card was gone when they just removed it from the NPC.. Thanks,. here is my script. card_remover.txt Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 2, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 2, 2013 remove set .@failchance,rand(100); if (.faildestroy==1) { if(.@failchance < 2) { next; failedremovecards .@part,0; mes "[Wise Old Woman]"; mes "The process was a total failure. I am afraid the item and the cards were destroyed."; close; } if(.@failchance < 8) { if (.@failtype == 1) { next; failedremovecards .@part,1; mes "[Wise Old Woman]"; mes "While I have managed to remove the cards from the item, they were destroyed in the process. The item, however, is okay."; close; } if (.@failtype == 2) { next; failedremovecards .@part,2; mes "[Wise Old Woman]"; mes "Most unfortunate. I succeeded at removing the cards, but the item itself was destroyed in the process."; close; } } } if(.@failchance < 10) { next; failedremovecards .@part,3; mes "[Wise Old Woman]"; mes "I have failed to remove the cards. Luckily, however, both the item and the cards are still okay."; close; } Quote Link to comment Share on other sites More sharing options...
Stupeflix Posted July 2, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 61 Reputation: 3 Joined: 03/30/13 Last Seen: May 29, 2018 Author Share Posted July 2, 2013 Thank you Sir Emistry ! Quote Link to comment Share on other sites More sharing options...
0 ShahLegends Posted August 12, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 10/02/16 Last Seen: November 6, 2017 Share Posted August 12, 2017 How can i create npc remover cant remove item / cards rental...help me.. thx Quote Link to comment Share on other sites More sharing options...
Question
Stupeflix
Hello
Just a question, why my card remover script is not 100% success.. some of my players complain that their card was gone when they just removed it from the NPC..
Thanks,.
here is my script.
card_remover.txt
Link to comment
Share on other sites
3 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.