From Dark and Darker Wiki

(Proper merchant this time.)
mNo edit summary
Line 6: Line 6:
|50=Epic Potion of Healing, Epic Potion of Protection, Epic Magic Protection Potion, Rare Potion of Clarity
|50=Epic Potion of Healing, Epic Potion of Protection, Epic Magic Protection Potion, Rare Potion of Clarity
|75=Legend Potion of Healing, Legend Potion of Protection, Legend Magic Protection Potion, Epic Potion of Clarity
|75=Legend Potion of Healing, Legend Potion of Protection, Legend Magic Protection Potion, Epic Potion of Clarity
|150=Grimsmile Ring, Fangs of Death Necklace
|100=Grimsmile Ring, Fangs of Death Necklace
}}
}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}

Revision as of 23:35, 27 February 2025


Usage

{{Merchant_Affinity|<merchant_name>|<variable1>|<variable2>}}

Variables

  • <merchant_name>
    • afinitytocrafts
      • <affinity>
    • craftstoaffinity
      • <item set>
    • newtradeoffers
      • <affinity>
    • tradetotal
      • <affinity>
    • tradediscount
      • <affinity>
    • servicediscount
      • <affinity>

Examples

Note, some variables may not be applicable to all merchants.

Example 1

Alchemist's newly offered crafts at affinity 25.

{{Merchant_Affinity|Alchemist|AffinityToCrafts|25}}

Outputs: Rare Potion of Healing, Rare Potion of Protection, Rare Magic Protection Potion, Uncommon Potion of Clarity

Example 2

Weaponsmith's newly offered crafts at affinity 100.

{{Merchant_Affinity|Weaponsmith|AffinityToCrafts|100}}

Outputs: Divine Staff, Divine Blade, Divine Rod, Divine Short Sword, Divine Axe, Divine Dagger, Divine Bow

Example 3

Weaponsmith's affinity when initially offering Divine Sword craft.

{{Merchant_Affinity|Weaponsmith|CraftsToAffinity|Divine Blade}}

Outputs: 100