Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Random.Range (1, 8) < 6) {
- // Chance: 62.5%
- if (Random.Range(1, 3) == 1) {
- // Chance: 33.3%
- // Multiplicative chance: 20.8125%
- // Odkrit levo
- signal.sprite = odkritLevo;
- vrstaSignala = 1;
- }
- else {
- // Chance: 66.6%
- // Multiplicative chance: 41.625%
- // Odkrit desno
- signal.sprite = odkritDesno;
- vrstaSignala = 2;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement