Skip to content

Commit

Permalink
- added heist item data & stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyusung4698 committed Sep 19, 2020
1 parent c13969f commit 3468ef8
Show file tree
Hide file tree
Showing 10 changed files with 44,736 additions and 23,216 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

## 1.0.11 (2020-09-17)
## 1.0.11 (2020-09-20)

- added heist item data & stats
- added heist item types at the market
- added heist filter group at the market
- updated the external link behaviour to skip in game notification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export enum ItemCategory {
AccessoryAmulet = 'accessory.amulet',
AccessoryBelt = 'accessory.belt',
AccessoryRing = 'accessory.ring',
AccessoryTrinket = 'accessory.trinket',
Gem = 'gem',
GemActivegem = 'gem.activegem',
GemSupportGem = 'gem.supportgem',
Expand All @@ -45,11 +46,20 @@ export enum ItemCategory {
Card = 'card',
MonsterBeast = 'monster.beast',
MonsterSample = 'monster.sample',
HeistEquipment = 'heistequipment',
HeistEquipmentGear = 'heistequipment.heistweapon',
HeistEquipmentTool = 'heistequipment.heisttool',
HeistEquipmentCloak = 'heistequipment.heistutility',
HeistEquipmentBrooch = 'heistequipment.heistreward',
HeistEquipmentMission = 'heistmission',
HeistEquipmentContract = 'heistmission.contract',
HeistEquipmentBlueprint = 'heistmission.blueprint',
Currency = 'currency',
CurrencyPiece = 'currency.piece',
CurrencyResonator = 'currency.resonator',
CurrencyFossil = 'currency.fossil',
CurrencyIncubator = 'currency.incubator',
CurrencyHeistTarget = 'currency.heistobjective',
}

export interface BaseItemTypeCategoryMap {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export class ItemPriceRatesProvider {
case ItemCategory.AccessoryAmulet:
case ItemCategory.AccessoryBelt:
case ItemCategory.AccessoryRing:
case ItemCategory.AccessoryTrinket:
if (rarity === ItemRarity.Unique) {
const key = `${leagueId}_${ItemCategory.Accessory}`;
return this.fetch(key, () => this.fetchItem(leagueId, ItemOverviewType.UniqueAccessory));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class TradeSearchFilterTypeService implements TradeSearchFilterService {
case ItemCategory.AccessoryAmulet:
case ItemCategory.AccessoryBelt:
case ItemCategory.AccessoryRing:
case ItemCategory.AccessoryTrinket:
if (item.rarity === ItemRarity.Unique) {
query.filters.type_filters.filters.rarity = {
option: ItemRarity.Unique
Expand Down Expand Up @@ -109,6 +110,16 @@ export class TradeSearchFilterTypeService implements TradeSearchFilterService {
case ItemCategory.CurrencyResonator:
case ItemCategory.CurrencyFossil:
case ItemCategory.CurrencyIncubator:
case ItemCategory.CurrencyHeistTarget:
// heist
case ItemCategory.HeistEquipment:
case ItemCategory.HeistEquipmentGear:
case ItemCategory.HeistEquipmentTool:
case ItemCategory.HeistEquipmentCloak:
case ItemCategory.HeistEquipmentBrooch:
case ItemCategory.HeistEquipmentMission:
case ItemCategory.HeistEquipmentContract:
case ItemCategory.HeistEquipmentBlueprint:
// map
case ItemCategory.MapFragment:
case ItemCategory.MapScarab:
Expand Down
Loading

0 comments on commit 3468ef8

Please sign in to comment.