Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Rarity System
- HiveMiter
-
4 posts
Rarity System
So basically i'm making a game involving items with rarities. and i'm trying to make a percent/chance to get an item. ive been through countless of discusions on how to make a rarity system. and ive implemented more than 7 systems that never worked. help?
- bbmonkey100
-
100+ posts
Rarity System
I made one but am currenting using it for my WIP game and its a little complex but still so here is an example project link: (its testing project) So basically i'm making a game involving items with rarities. and i'm trying to make a percent/chance to get an item. ive been through countless of discusions on how to make a rarity system. and ive implemented more than 7 systems that never worked. help?https://scratch.mit.edu/projects/811245696/ it also includes a pack system so if u want a opening pack for specifically swords then u add a sword pack name if u agree to use it I can give u a tour on how to use it
Last edited by bbmonkey100 (Aug. 24, 2023 01:38:01)
- coooolboy55
-
64 posts
Rarity System
if you want n% chance to get something, as long as all n add up to 100 and all rarities are put in a list then you can do
and counter after this will be the n thing you get after rolling a rarity
Last edited by coooolboy55 (Aug. 24, 2023 02:12:25)
- coooolboy55
-
64 posts
Rarity System
the code is pretty long, you can make a more adjustable one for less codeI made one but am currenting using it for my WIP game and its a little complex but still so here is an example project link: (its testing project) So basically i'm making a game involving items with rarities. and i'm trying to make a percent/chance to get an item. ive been through countless of discusions on how to make a rarity system. and ive implemented more than 7 systems that never worked. help?https://scratch.mit.edu/projects/811245696/ it also includes a pack system so if u want a opening pack for specifically swords then u add a sword pack name if u agree to use it I can give u a tour on how to use it
- bbmonkey100
-
100+ posts
Rarity System
I prefer my lines long and with more Vars to make it more flexible.the code is pretty long, you can make a more adjustable one for less codeI made one but am currenting using it for my WIP game and its a little complex but still so here is an example project link: (its testing project) So basically i'm making a game involving items with rarities. and i'm trying to make a percent/chance to get an item. ive been through countless of discusions on how to make a rarity system. and ive implemented more than 7 systems that never worked. help?https://scratch.mit.edu/projects/811245696/ it also includes a pack system so if u want a opening pack for specifically swords then u add a sword pack name if u agree to use it I can give u a tour on how to use it
- bbmonkey100
-
100+ posts
Rarity System
great design it has that hard complex looks to it but in the same time very readable I wrote a wiki article to do that already:
Probability Wheel
- Discussion Forums
- » Help with Scripts
-
» Rarity System