DungeonSettlers.wiki

Inscription of the Gold Mine

Steam
Inscription of the Gold Mine icon

Inscription of the Gold Mine

AFFECTER_GoldmineInscription · Inscription Rare

Gain 10 gold each time you deal Critical Damage. You can gain up to 2000 gold. Once the maximum is reached, you can no longer gain gold, but Critical Chance increases by 10%.

Each critical strike reveals a vein of gold.

How the math works

Each critical hit pays the inscription's first value in gold and takes that much off the remaining budget (AFFECTER_Goldmine MaxStack, which IsConfigurationValid requires to equal the second value). Once current stack is at or above that cap, CalculateCriticalChanceBonus returns the third value and ApplyGoldmineDerivedStats adds it to CriticalChance.

Where it lands: The gold is a money change. A visible AFFECTER_Goldmine counter is stacked on the wearer so the running total is readable. The critical-chance bonus is a derived stat, not a second coroutine.

When it runs: After a critical hit lands.

What it applies to: Any critical hit the wearer lands.

Worked numbers

Critical hits landedGold earned
110
10100
50500
1001000
2002000
3002000

Gold paid out, against the 2000 gold budget.

Rule of thumb: 10 critical hits is 100 gold. 200 of them exhausts the budget.

Things the tooltip does not tell you

  • The gold per hit is FloatValues[0] (10). The budget is AFFECTER_Goldmine MaxStack, which IsConfigurationValid requires to equal FloatValues[1] (2000).
  • The critical-chance bonus is FloatValues[2] (index 2, the third slot). On 25154317 this bonus was applied from the first value; that is no longer true.

How it interacts with other effects

  • Critical chance is what drives the whole thing, so it pairs with anything that raises it.

Read out of the game binary of build 25846389. AFFECTER_GoldmineInscription.Passive_GoldmineInscription.OnDamage@0x95C3F0, GoldmineInscriptionCalculator.CalculateGoldToGrant@0x9ADA6C, AFFECTER_GoldmineInscription.Passive_GoldmineInscription.<GrantGold>d__7.MoveNext@0x95C5F8, GoldmineInscriptionCalculator.CalculateCriticalChanceBonus@0x9ADB44, StatusComponent.ApplyGoldmineDerivedStats@0xDE2510, GoldmineInscriptionCalculator.IsConfigurationValid@0x9AD930

Effects

Gain 10 gold each time you deal Critical Damage. You can gain up to 2000 gold. Once the maximum is reached, you can no longer gain gold, but Critical Chance increases by 10%. Critical hits pay 10 gold each up to 2000 gold, then grant +10 critical chance from the third value.

Raw values: 10, 2000, 10

Properties

Max stackDoes not stack
PolarityNone
Has durationno
Absolute (can't be removed)yes
Exposed to playerno
Building attachableno

Obtained from

Inscription: This is an inscription: offered at level-up and on recruitment (see Inscriptions). Level-up odds: 0.0455% per offered slot, 0.227% per roll of 5 slots; shared evenly by the 44 Rare inscriptions.