From f5364f11e8424b9cc9560f20cf6dab0fb31a4933 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 6 Oct 2018 16:06:44 -0300 Subject: Yeah, better to leave this crap at main functions file. --- npc/functions/util.txt | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'npc/functions/util.txt') diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 47e07ea72..df12de57b 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -407,17 +407,4 @@ function script mercrank { } -// Randomizer functions by gumi -///////////////////////////////////////////// -// returns one argument randomly -// any( {, ...} ) -function script any { - return getarg(rand(getargcount())); -} - -// returns any member of the array -// any_of( ) -function script any_of { - return getelementofarray(getarg(0), getarrayindex(getarg(0)) + rand(getarraysize(getarg(0)) - getarrayindex(getarg(0)))); -} -- cgit v1.2.3-70-g09d2