Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func _getChance(cellX, cellY):
- if cellX >= 21 and cellX <= mapSize-21 and cellY >= 21 and cellY <= mapSize-21:
- chance = 2
- elif cellX >= 5 and cellX <= mapSize-5 and cellY >= 5 and cellY <= mapSize-5:
- chance = 11
- else:
- chance = 28
Add Comment
Please, Sign In to add comment