{"uid":"cap_jhOtVIYd0PPt4p6c4gpMD","slug":"time-to-kill-calculator-d18f65dc","name":"Time-to-Kill Calculator","description":"Time-to-kill calculator: Estimate seconds and landed hits needed to defeat a target.","url":"https://market.datapackvibe.com/x402/time-to-kill-calculator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"damage":{"type":"number","default":10},"target_hp":{"type":"number","default":100},"hit_chance":{"type":"number","default":1},"attacks_per_second":{"type":"number","default":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_03rCb0mh-WSbz6xw8ZvmN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates the seconds and number of landed hits required to defeat a target given weapon damage, target HP, hit chance, and attack rate.","exampleAgentPrompt":"How many hits and how many seconds will it take to kill an enemy with 150 HP if my weapon does 25 damage per hit, fires 2 attacks per second, and has a 90% hit chance?","exampleUseCases":[{"title":"Balancing a new weapon archetype","prompt":"I'm designing a sniper rifle that deals 85 damage per shot, fires once per second, and has a 70% hit chance against a standard enemy with 200 HP — how many hits and how long will it take to kill?"},{"title":"Comparing fast vs slow attack builds","prompt":"My warrior attacks 4 times per second doing 12 damage each with 100% accuracy against a 180 HP boss — calculate the time to kill and number of hits needed."},{"title":"Tuning enemy HP for a fair encounter","prompt":"If a player's weapon does 30 damage, hits 3 times per second, and lands 85% of the time, how many seconds and hits would it take to kill an enemy with 300 HP?"}],"resultDescription":"Returns the estimated number of seconds to kill the target and the number of landed hits required, computed from the given damage, target HP, hit chance, and attacks per second.","failureModes":["Invalid parameter types (non-numeric values) may cause a 400 error","hit_chance of 0 would result in infinite TTK or an error","attacks_per_second of 0 would cause a division-by-zero scenario","Very large HP or very small damage values may produce unexpectedly large outputs","Missing required fields may use defaults (10 damage, 100 HP, 1.0 hit chance, 1 APS)"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic combat TTK calculation for game design, balancing, or simulation purposes and have numeric weapon and target stats available. Prefer it over manual spreadsheet math when integrating TTK into an automated game-balance pipeline or AI-driven design assistant.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:45:55.487Z","isFirstParty":false,"canonicalSlug":"time-to-kill-calculator-d18f65dc"}