use phaser rnd int instead of customer function