-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathRarity.cs
31 lines (28 loc) · 816 Bytes
/
Rarity.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
namespace FortniteChecker;
internal class Rarity
{
//Rarity Name to int
public static int RarityToInt(string rarity)
{
switch (rarity.ToLower())
{
case "uncommon": return 1;
case "rare": return 2;
case "epic": return 3;
case "marvel": return 4;
case "starwars": return 5;
case "icon": return 6;
case "dc": return 7;
case "gaminglegends": return 8;
case "dark": return 9;
case "frozen": return 10;
case "lava": return 11;
case "shadow": return 12;
case "slurp": return 13;
case "legendary": return 14;
case "mythic": return 15;
default:
case "common": return 0;
}
}
}