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 |
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 |
Binary file not shown.
After Width: | Height: | Size: 433 B |
|
@ -7,6 +7,7 @@ export enum AchvTier {
|
||||||
COMMON,
|
COMMON,
|
||||||
GREAT,
|
GREAT,
|
||||||
ULTRA,
|
ULTRA,
|
||||||
|
ROGUE,
|
||||||
MASTER
|
MASTER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,8 +51,10 @@ export class Achv {
|
||||||
}
|
}
|
||||||
|
|
||||||
getTier(): AchvTier {
|
getTier(): AchvTier {
|
||||||
if (this.score >= 100)
|
if (this.score >= 150)
|
||||||
return AchvTier.MASTER;
|
return AchvTier.MASTER;
|
||||||
|
if (this.score >= 100)
|
||||||
|
return AchvTier.ROGUE;
|
||||||
if (this.score >= 50)
|
if (this.score >= 50)
|
||||||
return AchvTier.ULTRA;
|
return AchvTier.ULTRA;
|
||||||
if (this.score >= 25)
|
if (this.score >= 25)
|
||||||
|
|
|
@ -44,7 +44,7 @@ export class Voucher {
|
||||||
case VoucherType.PREMIUM:
|
case VoucherType.PREMIUM:
|
||||||
return AchvTier.ULTRA;
|
return AchvTier.ULTRA;
|
||||||
case VoucherType.GOLDEN:
|
case VoucherType.GOLDEN:
|
||||||
return AchvTier.MASTER;
|
return AchvTier.ROGUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue