Rebalance item weights and add Rogue tier
This commit is contained in:
1 parent
ce64eb6c70
commit
ffd785d534
22 files changed
+1518
-1360
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import BattleScene from "../battle-scene";
|
||||
import { TrainerType } from "../data/enums/trainer-type";
|
||||
import { ModifierTier } from "../modifier/modifier-tier";
|
||||
import { Achv, achvs } from "./achv";
|
||||
import { Achv, AchvTier, achvs } from "./achv";
|
||||
|
||||
export enum VoucherType {
|
||||
REGULAR,
|
||||
@@ -35,16 +35,16 @@ export class Voucher {
|
||||
return getVoucherTypeIcon(this.voucherType);
|
||||
}
|
||||
|
||||
getTier(): ModifierTier {
|
||||
getTier(): AchvTier {
|
||||
switch (this.voucherType) {
|
||||
case VoucherType.REGULAR:
|
||||
return ModifierTier.COMMON;
|
||||
return AchvTier.COMMON;
|
||||
case VoucherType.PLUS:
|
||||
return ModifierTier.GREAT;
|
||||
return AchvTier.GREAT;
|
||||
case VoucherType.PREMIUM:
|
||||
return ModifierTier.ULTRA;
|
||||
return AchvTier.ULTRA;
|
||||
case VoucherType.GOLDEN:
|
||||
return ModifierTier.MASTER;
|
||||
return AchvTier.MASTER;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user