![]() |
|
#1
|
||||
|
||||
![]()
So you want breeding to have 50% chance of success and 50% chance of failure? You may want to use the mt_rand() function to generate random number at equal chance, a typical way of doing this is:
PHP Code:
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Random egg | Skaiya | Questions and Supports | 2 | 03-30-2014 02:42 PM |
Random breeding outcome/ rare breeding | SilverDragonTears | Questions and Supports | 0 | 03-25-2012 02:33 AM |
Make Breeding Random? | SilverDragonTears | Suggestions and Feature Requests | 7 | 08-25-2011 04:58 AM |
Random 3D Art | alonaria | Art Gallery | 4 | 06-13-2011 05:19 PM |
Random 5 is not realy random! | RipJawWolfFang | Questions and Supports | 9 | 04-30-2009 06:03 AM |
What's New? |
What's Hot? |
What's Popular? |