From e993d14fb1d89dbcb1aaa74b05d959a19672bd2b Mon Sep 17 00:00:00 2001 From: NeTT Date: Thu, 13 Jul 2023 23:45:11 +0530 Subject: [PATCH] update readme --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4e9ac66..84f1b68 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,13 @@ Weighted gacha system. ## Usage -Create an item using `GachaMachine.createItem` - More weight = more common. Think of it as in terms of probability. ```js import { GachaMachine } from "https://deno.land/x/fortuna/mod.ts" // or -import { GachaMachine } from "https://deno.land/x/fortuna/dist/fortuna.js" +import { GachaMachine } from "https://deno.land/x/fortuna/dist/machine.js" const items = [ { result: "SSR cool character", chance: 1 }, @@ -112,6 +110,4 @@ roll(items, chances, 19); // Rolls one item from the list of items using linear ## Documentation -Documentation for the latest version can be found in [https://doc.deno.land/https://deno.land/x/fortuna/mod.ts](https://doc.deno.land/https://deno.land/x/fortuna/mod.ts) - -A guide for usage can be found in [docs.nekooftheabyss.moe](https://docs.nekooftheabyss.moe/fortuna) (not updated for v3 yet). +Documentation for the latest version can be found in [https://doc.deno.land/https://deno.land/x/fortuna/mod.ts](https://doc.deno.land/https://deno.land/x/fortuna/mod.ts) \ No newline at end of file