summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-02-22 11:36:46 +0100
committernsensfel <SpamShield0@noot-noot.org>2018-02-22 11:36:46 +0100
commit60232453b2117ee4737b3b5b5b014b9088c92960 (patch)
tree488e1698b67e9df6e6ae9ba658e39176313d0b03 /src
parentec050d9e70cca73463ac6dedbba658afa64faea7 (diff)
Random weapon selection.
Diffstat (limited to 'src')
-rw-r--r--src/type/weapon_shim.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type/weapon_shim.erl b/src/type/weapon_shim.erl
index 6225e25..7f8c714 100644
--- a/src/type/weapon_shim.erl
+++ b/src/type/weapon_shim.erl
@@ -33,4 +33,4 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% EXPORTED FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-rand() -> 0.
+rand() -> (rand:uniform(22) - 1).