Files
wushenghua 6eaebc3cb5 feat: migrate invented numbers to real CH source formulas (numeric provenance)
User: "数值应参考 CH 迁移,不要自己写." Contract 2.2 requires inheriting CH's
formula families and magnitude. Previously relic strength (0.06+tier*0.008),
commission targets/rewards, and partner coefficients were invented. Now:

- cf_formulas.py/.gd: implements CH's real formula families (linear10=0.10*L,
  diminishingReturns, exponential/polynomial1_5 costs) and reads CF source
  tables copied to data/cf_reference/numeric_tables.json (27 relics/30 ancients/
  10 outsiders/6 daily tasks/9 skills). check_cf_formulas_parity PASS 25 cases.
- Relics: strength = CH linear10 @level=tier (0.1..6.0, genuine CH magnitude);
  effect TYPE from CH relic effectDescription keyword (idle->shield, click->
  damage, chest->summon...). 56 combat relic signatures unique.
- Commissions: target steps from CH daily_tasks (kills=50/boss=3/upgrades=5/
  quests=2), reward = CH rubies=5 (crystal) for all.
- Partners: P01=0.10 (CH linear10), P03=0.15 (linear15), P05=0.25 (linear25).
- PRODUCTION/52-cf-numeric-provenance.md documents every number's CH source
  and honestly flags the few remaining new-game tuning parameters.
- Full P2_CHECKS_PASS (93 gates), identity preserved.

Numbers now trace to CH source tables instead of being invented. Owner gates
(human feel/device/release) remain open. prototype/ untracked.
2026-11-19 18:07:26 +08:00

592 lines
14 KiB
JSON

{
"relics": [
{
"id": 1,
"name": "Abandonment",
"levelAmountFormula": "linear10",
"scaling": "linear",
"effectDescription": "+%1% DPS when idle (no clicks for 60 seconds)"
},
{
"id": 2,
"name": "Wrath",
"levelAmountFormula": "linear10",
"scaling": "linear",
"effectDescription": "+%1% Click Damage"
},
{
"id": 3,
"name": "Time",
"levelAmountFormula": "linear5",
"scaling": "cubic",
"effectDescription": "+%1 seconds to Boss Fight timers"
},
{
"id": 4,
"name": "Agitation",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1 seconds to duration of Clickstorm"
},
{
"id": 5,
"name": "Luck",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "+%1% Chance of double rubies from clickable treasures, when you get a ruby."
},
{
"id": 6,
"name": "Vision",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "+%1 to starting zone after Ascension"
},
{
"id": 7,
"name": "Enhancement",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1% to Gilded damage bonus (per Gild)"
},
{
"id": 8,
"name": "Battery Life",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1 seconds to duration of Metal Detector"
},
{
"id": 9,
"name": "Thieves",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1 seconds to duration of Golden Clicks"
},
{
"id": 10,
"name": "Accuracy",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1 seconds to duration of Lucky Strikes"
},
{
"id": 11,
"name": "Rage",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1 seconds to duration of Powersurge"
},
{
"id": 12,
"name": "Wallops",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1 seconds to duration of Super Clicks"
},
{
"id": 13,
"name": "Diseases",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "-%1% Boss Life"
},
{
"id": 14,
"name": "Death",
"levelAmountFormula": "linear10",
"scaling": "linear",
"effectDescription": "+%1% to Hero Soul DPS (additive)"
},
{
"id": 15,
"name": "Murder",
"levelAmountFormula": "linear1",
"scaling": "linear",
"effectDescription": "+%1% damage to Critical Clicks"
},
{
"id": 16,
"name": "Discovery",
"levelAmountFormula": "linear10",
"scaling": "cubic",
"effectDescription": "+%1% more Treasure Chests"
},
{
"id": 17,
"name": "Souls",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "+%1% Chance of Primal Bosses"
},
{
"id": 18,
"name": "Chance",
"levelAmountFormula": "linear0_25",
"scaling": "cubic",
"effectDescription": "+%1% Chance of 10x Gold"
},
{
"id": 19,
"name": "Thrift",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "-%1% Hero Hiring and Level-Up cost"
},
{
"id": 20,
"name": "Wealth",
"levelAmountFormula": "linear15",
"scaling": "linear",
"effectDescription": "+%1% Gold from Golden Clicks"
},
{
"id": 21,
"name": "Riches",
"levelAmountFormula": "linear25",
"scaling": "linear",
"effectDescription": "+%1% Gold From Treasure Chests"
},
{
"id": 22,
"name": "Greed",
"levelAmountFormula": "linear5",
"scaling": "linear",
"effectDescription": "+%1% Gold Dropped"
},
{
"id": 24,
"name": "Freedom",
"levelAmountFormula": "libAndSiy",
"scaling": "linear",
"effectDescription": "+%1% Gold gained from monsters when idle (no clicks for 60 seconds)"
},
{
"id": 25,
"name": "Wisdom",
"levelAmountFormula": "solomonRewards",
"scaling": "cubic",
"effectDescription": "+%1% Primal Hero Souls"
},
{
"id": 26,
"name": "Momentum",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "+%1% DPS per click combo ( active clicking )"
},
{
"id": 27,
"name": "Shadows",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "-%1 monsters required to advance to the next level"
},
{
"id": 28,
"name": "Impatience",
"levelAmountFormula": "linear1",
"scaling": "cubic",
"effectDescription": "-%1% skill cooldowns"
}
],
"relics_source": "Switch build4841 local configuration and bounded source sort permutations; no original save/numeric/cosmetic RNG equivalence claim",
"ancients": [
{
"id": 3,
"name": "Solomon, Ancient of Wisdom",
"levelCostFormula": "polynomial1_5",
"levelAmountFormula": "solomonRewards",
"effectDescription": "+%1% Primal Hero Souls"
},
{
"id": 4,
"name": "Libertas, Ancient of Freedom",
"levelCostFormula": "linear",
"levelAmountFormula": "libAndSiy",
"effectDescription": "+%1% Gold gained from monsters when idle (no clicks for 60 seconds)"
},
{
"id": 5,
"name": "Siyalatas, Ancient of Abandon",
"levelCostFormula": "linear",
"levelAmountFormula": "libAndSiy",
"effectDescription": "+%1% DPS when idle (no clicks for 60 seconds)"
},
{
"id": 6,
"name": "Khrysos, Ancient of Inheritance",
"levelCostFormula": "quadratic",
"levelAmountFormula": "ascendGoldAmount",
"effectDescription": "+%1 starting Gold when Ascending"
},
{
"id": 7,
"name": "Thusia, Ancient of Vaults",
"levelCostFormula": "quadratic",
"levelAmountFormula": "linear100",
"effectDescription": "+%1% Treasure Chest life while Golden Clicks is activated"
},
{
"id": 8,
"name": "Mammon, Ancient of Greed",
"levelCostFormula": "linear",
"levelAmountFormula": "linear5",
"effectDescription": "+%1% Gold Dropped"
},
{
"id": 9,
"name": "Mimzee, Ancient of Riches",
"levelCostFormula": "linear",
"levelAmountFormula": "linear50",
"effectDescription": "+%1% Gold From Treasure Chests"
},
{
"id": 10,
"name": "Pluto, Ancient of Wealth",
"levelCostFormula": "linear",
"levelAmountFormula": "linear30",
"effectDescription": "+%1% Gold from Golden Clicks"
},
{
"id": 11,
"name": "Dogcog, Ancient of Thrift",
"levelCostFormula": "exponential",
"levelAmountFormula": "diminishingReturns",
"effectDescription": "-%1% Hero Hiring and Level-Up cost"
},
{
"id": 12,
"name": "Fortuna, Ancient of Chance",
"levelCostFormula": "exponential",
"levelAmountFormula": "diminishingReturns",
"effectDescription": "+%1% Chance of 10x Gold"
},
{
"id": 13,
"name": "Atman, Ancient of Souls",
"levelCostFormula": "exponential",
"levelAmountFormula": "atmanValue",
"effectDescription": "+%1% Chance of Primal Bosses"
},
{
"id": 14,
"name": "Dora, Ancient of Discovery",
"levelCostFormula": "exponential",
"levelAmountFormula": "doraValue",
"effectDescription": "+%1% more Treasure Chests (maximum 9900%)"
},
{
"id": 15,
"name": "Bhaal, Ancient of Murder",
"levelCostFormula": "linear",
"levelAmountFormula": "linear15",
"effectDescription": "+%1% damage to Critical Clicks"
},
{
"id": 16,
"name": "Morgulis, Ancient of Death",
"levelCostFormula": "one",
"levelAmountFormula": "linear11",
"effectDescription": "+%1% to Hero Soul DPS (additive)"
},
{
"id": 17,
"name": "Chronos, Ancient of Time",
"levelCostFormula": "exponential",
"levelAmountFormula": "chronosValue",
"effectDescription": "+%1 seconds to Boss Fight timers"
},
{
"id": 18,
"name": "Bubos, Ancient of Diseases",
"levelCostFormula": "exponential",
"levelAmountFormula": "bubosValue",
"effectDescription": "-%1 Monsters Worth of Boss Life (minimum 5 monsters)"
},
{
"id": 19,
"name": "Fragsworth, Ancient of Wrath",
"levelCostFormula": "linear",
"levelAmountFormula": "linear20",
"effectDescription": "+%1% Click Damage"
},
{
"id": 20,
"name": "Vaagur, Ancient of Impatience",
"levelCostFormula": "exponential",
"levelAmountFormula": "diminishingReturns",
"effectDescription": "-%1% skill cooldowns"
},
{
"id": 21,
"name": "Kumawakamaru, Ancient of Shadows",
"levelCostFormula": "exponential",
"levelAmountFormula": "kumaValue",
"effectDescription": "-%1 monsters required to advance to the next zone (minimum 2 monsters per zone)"
},
{
"id": 22,
"name": "Chawedo, Ancient of Agitation",
"levelCostFormula": "exponential",
"levelAmountFormula": "linear2",
"effectDescription": "+%1 seconds to duration of Clickstorm"
},
{
"id": 23,
"name": "Hecatoncheir, Ancient of Wallops",
"levelCostFormula": "exponential",
"levelAmountFormula": "linear2",
"effectDescription": "+%1 seconds to duration of Super Clicks"
},
{
"id": 24,
"name": "Berserker, Ancient of Rage",
"levelCostFormula": "exponential",
"levelAmountFormula": "linear2",
"effectDescription": "+%1 seconds to duration of Powersurge"
},
{
"id": 25,
"name": "Sniperino, Ancient of Accuracy",
"levelCostFormula": "exponential",
"levelAmountFormula": "linear2",
"effectDescription": "+%1 seconds to duration of Lucky Strikes"
},
{
"id": 26,
"name": "Kleptos, Ancient of Thieves",
"levelCostFormula": "exponential",
"levelAmountFormula": "linear2",
"effectDescription": "+%1 seconds to duration of Golden Clicks"
},
{
"id": 27,
"name": "Energon, Ancient of Battery Life",
"levelCostFormula": "exponential",
"levelAmountFormula": "linear2",
"effectDescription": "+%1 seconds to duration of Metal Detector"
},
{
"id": 28,
"name": "Argaiv, Ancient of Enhancement",
"levelCostFormula": "linear",
"levelAmountFormula": "linear2",
"effectDescription": "+%1% to Gilded damage bonus (per Gild)"
},
{
"id": 29,
"name": "Juggernaut, Ancient of Momentum",
"levelCostFormula": "polynomial1_5",
"levelAmountFormula": "linear01",
"effectDescription": "+%1% DPS per click combo ( active clicking )"
},
{
"id": 30,
"name": "Iris, Ancient of Vision",
"levelCostFormula": "quadratic",
"levelAmountFormula": "linear1",
"effectDescription": "+%1 to starting zone after Ascension"
},
{
"id": 31,
"name": "Revolc, Ancient of Luck",
"levelCostFormula": "exponential",
"levelAmountFormula": "diminishingReturns",
"effectDescription": "+%1% Chance of double rubies from clickable treasures, when you get a ruby."
},
{
"id": 32,
"name": "Nogardnit, Ancient of Moderation",
"levelCostFormula": "polynomial1_5",
"levelAmountFormula": "nogardnitValue",
"effectDescription": "+%1% DPS per unassigned Auto Clicker when idle (no clicks for 60 seconds)."
}
],
"outsiders": [
{
"id": 1,
"name": "Xyliqil",
"levelCostFormula": "linear1",
"levelAmountFormula": "exponential",
"effectDescription": "+%1% effectiveness of all Idle bonuses."
},
{
"id": 2,
"name": "Chor'gorloth",
"levelCostFormula": "linear1",
"levelAmountFormula": "percent5",
"effectDescription": "-%1% Ancient cost."
},
{
"id": 3,
"name": "Phandoryss",
"levelCostFormula": "one",
"levelAmountFormula": "linear100",
"effectDescription": "+%1% DPS."
},
{
"id": 4,
"name": "Borb",
"levelCostFormula": "linear1",
"levelAmountFormula": "exponential",
"effectDescription": "+%1% maximum transcendent primal soul reward."
},
{
"id": 5,
"name": "Ponyboy",
"levelCostFormula": "linear1",
"levelAmountFormula": "ponyboyValue",
"effectDescription": "+%1% Primal Hero Souls"
},
{
"id": 6,
"name": "Borb",
"levelCostFormula": "linear1",
"levelAmountFormula": "linear12_5",
"effectDescription": "+%1% effectiveness of Kumawakamaru."
},
{
"id": 7,
"name": "Rhageist",
"levelCostFormula": "linear1",
"levelAmountFormula": "linear25",
"effectDescription": "+%1% effectiveness of Atman."
},
{
"id": 8,
"name": "K'Ariqua",
"levelCostFormula": "linear1",
"levelAmountFormula": "linear50",
"effectDescription": "+%1% effectiveness of Bubos."
},
{
"id": 9,
"name": "Orphalas",
"levelCostFormula": "linear1",
"levelAmountFormula": "linear75",
"effectDescription": "+%1% effectiveness of Chronos."
},
{
"id": 10,
"name": "Sen-Akhan",
"levelCostFormula": "linear1",
"levelAmountFormula": "linear100",
"effectDescription": "+%1% effectiveness of Dora."
}
],
"daily_tasks": [
{
"id": "daily_clicks",
"counter": "totalClicks",
"target": 100,
"rubies": 5,
"kind": "clicks"
},
{
"id": "daily_kills",
"counter": "totalKills",
"target": 50,
"rubies": 5,
"kind": "kills"
},
{
"id": "daily_upgrades",
"counter": "totalUpgrades",
"target": 5,
"rubies": 5,
"kind": "upgrades"
},
{
"id": "daily_boss",
"counter": "totalBossKills",
"target": 3,
"rubies": 5,
"kind": "boss"
},
{
"id": "daily_gold",
"counter": "totalGold",
"target": 10000,
"rubies": 5,
"kind": "gold",
"dynamic_target": {
"kind": "hero_levels",
"hero": 1,
"levels": 10
}
},
{
"id": "daily_quests",
"counter": "goldQuestsCompleted",
"target": 2,
"rubies": 5,
"kind": "quests"
}
],
"skills": [
{
"id": 1,
"name": "Clickstorm",
"cooldown": 600.0,
"duration": 30.0,
"required_level": 25
},
{
"id": 2,
"name": "Powersurge",
"cooldown": 600.0,
"duration": 30.0,
"required_level": 75
},
{
"id": 3,
"name": "Lucky Strikes",
"cooldown": 1800.0,
"duration": 30.0,
"required_level": 100
},
{
"id": 4,
"name": "Metal Detector",
"cooldown": 1800.0,
"duration": 30.0,
"required_level": 100
},
{
"id": 5,
"name": "Energize",
"cooldown": 3600.0,
"duration": 0.0,
"required_level": 100
},
{
"id": 6,
"name": "Golden Clicks",
"cooldown": 3600.0,
"duration": 30.0,
"required_level": 100
},
{
"id": 7,
"name": "Super Clicks",
"cooldown": 3600.0,
"duration": 30.0,
"required_level": 100
},
{
"id": 8,
"name": "The Dark Ritual",
"cooldown": 28800.0,
"duration": 0.0,
"required_level": 75
},
{
"id": 9,
"name": "Reload",
"cooldown": 3600.0,
"duration": 0.0,
"required_level": 100
}
]
}