Refunding for duplicates

Model a refund system that converts duplicate cards into a crafting resource. This is sometimes called a “dusting” or “shard” system.

Loot box systems often compensate the player when they collect items they already own (i.e. Duplicate items). This is sometimes called a “dusting” or “shard” system.

In Hearthstone, the player is compensated with Arcane Dust, which they can use to craft cards of their choosing.

To model this, we need to automatically destroy (i.e. Disenchant) any excess cards the player collects, and transform them into Arcane Dust. This can be done using a Converter.

Each rarity has a Disenchant converter: one duplicate card goes in from its Storage pool, and the Extract Dust connection sends 5, 20, 100 or 400 Arcane Dust to the shared Arcane Dust poolEach rarity has a Disenchant converter: one duplicate card goes in from its Storage pool, and the Extract Dust connection sends 5, 20, 100 or 400 Arcane Dust to the shared Arcane Dust pool

Disenchanting Common cards produces five Dust. In other words, for every 1 card that’s consumed by the Converter, 5 Dust should be created.

Note

Note: if we expect the player to earn more than one Duplicate card in a single card pack, we should allow the Disenchant Converter to perform Multiple conversions.

To actually Craft new cards, we need a second set of Converters. These will consume Dust to produce a single card.

The Arcane Dust pool feeds one Forge converter per rarity, which consumes 100, 200, 800 or 1,600 Arcane Dust and gains one card into that rarity's Collection poolThe Arcane Dust pool feeds one Forge converter per rarity, which consumes 100, 200, 800 or 1,600 Arcane Dust and gains one card into that rarity's Collection pool

After applying this setup to each rarity, hit Play and observe what happens.

The whole crafting model after a Play of 45 days: Card Packs feed Pick Rarity and four Storage pools, each Disenchanter turns duplicates into Arcane Dust in the Dust Vault, and the Forges craft 20 Common cards, 1 Rare and no Epic or LegendaryThe whole crafting model after a Play of 45 days: Card Packs feed Pick Rarity and four Storage pools, each Disenchanter turns duplicates into Arcane Dust in the Dust Vault, and the Forges craft 20 Common cards, 1 Rare and no Epic or Legendary
Warning

Notice that almost only Common cards are being crafted: our modeled player isn’t behaving like a real player.

In the next section, we will introduce simple player behavior into the model to resolve this issue.