c2greentea Posted October 13, 2014 Posted October 13, 2014 This is my poring race script http://upaste.me/r/008d15473b05f9c7d We noticed that almost all the time Marin wins every session. Maybe 75% since we used this script, Marin would always win. Is there something wrong with the script? Pls help Quote
Winz Posted October 13, 2014 Posted October 13, 2014 The winner is decided here: set $@win,rand(1,6); switch($@win) { case 1: donpcevent "Poring#race::OnPoringWin"; break; case 2: donpcevent "Drops#race::OnDropsWin"; break; case 3: donpcevent "Poporing#race::OnPoporingWin"; break; case 4: donpcevent "Marin#race::OnMarinWin"; break; case 5: donpcevent "Pouring#race::OnPouringWin"; break; default: donpcevent "Santa Poring#race::OnSantaWin"; break; } Therefore, it is really random. And I have no idea on how to modify this randomizing thing. if Marin wins 75% of the time in your server, then your server's mascot shall be Marin 1 Quote
Question
c2greentea
This is my poring race script http://upaste.me/r/008d15473b05f9c7d
We noticed that almost all the time Marin wins every session. Maybe 75% since we used this script, Marin would always win. Is there something wrong with the script? Pls help
1 answer 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.