mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 07:59:25 +01:00
remove chancein
This commit is contained in:
parent
6dfa5de478
commit
5bcd1d9c27
@ -24,13 +24,6 @@ String.prototype.format = function() { // format takes either multiple indexed a
|
||||
return targetStr;
|
||||
};
|
||||
|
||||
/*** Integer ***/
|
||||
|
||||
Number.prototype.chanceIn = function(x, y) {
|
||||
var num = Math.floor(Math.random() * (y + 1)) / x;
|
||||
return num == 1;
|
||||
};
|
||||
|
||||
/*** Regex ***/
|
||||
RegExp.prototype.url_regex = function() {
|
||||
var reg = new RegExp(
|
||||
|
Loading…
Reference in New Issue
Block a user