mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
Add rogue achievement and voucher tier
This commit is contained in:
parent
ad59c0a7c4
commit
86b0596a60
Binary file not shown.
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 418 B |
BIN
public/images/ui/achv_bar_5.png
Normal file
BIN
public/images/ui/achv_bar_5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 458 B |
Binary file not shown.
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 344 B |
BIN
public/images/ui/legacy/achv_bar_5.png
Normal file
BIN
public/images/ui/legacy/achv_bar_5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 433 B |
@ -7,6 +7,7 @@ export enum AchvTier {
|
||||
COMMON,
|
||||
GREAT,
|
||||
ULTRA,
|
||||
ROGUE,
|
||||
MASTER
|
||||
}
|
||||
|
||||
@ -50,8 +51,10 @@ export class Achv {
|
||||
}
|
||||
|
||||
getTier(): AchvTier {
|
||||
if (this.score >= 100)
|
||||
if (this.score >= 150)
|
||||
return AchvTier.MASTER;
|
||||
if (this.score >= 100)
|
||||
return AchvTier.ROGUE;
|
||||
if (this.score >= 50)
|
||||
return AchvTier.ULTRA;
|
||||
if (this.score >= 25)
|
||||
|
@ -44,7 +44,7 @@ export class Voucher {
|
||||
case VoucherType.PREMIUM:
|
||||
return AchvTier.ULTRA;
|
||||
case VoucherType.GOLDEN:
|
||||
return AchvTier.MASTER;
|
||||
return AchvTier.ROGUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user