ARK: Survival Evolved

ARK: Survival Evolved

Pokeballs - Dino Storage (Discontinued)
 This topic has been pinned, so it's probably important
Aleksey  [developer] Jan 19, 2021 @ 5:43pm
Capture Chance Formula and Calculator
Pokeball Capture Chance Formula
F = fA - fB - fC + fD + fE fA = ((((1 - (dino_health / dino_health_max)) * 100) / 10) + rand) * pokeball_type fB = debuff_count * 10 fC = (dino_health_max / chance_life_modifier) * chance_life_percent_modifier fD = sleeping_capture_percent_bonus fE = pokeball_type * 5 F = The calculated capture chance

Exceptions
If dino is not sleeping, fD = 0
If dino can be tamed while asleep, fE = 0
If pokeball_type is 4, F = 100

Constants
pokeball_type - A number assigned to each type of Pokeball
- Pokeball = 1
- Greatball = 2
- Ultraball = 3
- Masterball = 4

Variables
dino_health - The current health of the dino
dino_health_max - The maximum health of the dino
rand - A random floating point number between 1-5 (inclusive)
debuff_count - How many stacks of the capture failed debuff are on the dino (max 6)

Configurable Variables
These variables can be configured through the mod. Check Configuration Options for the whole list.

chance_life_modifier
Default: 1000.0
Configuration: ChanceLifeModifier

chance_life_percent_modifier
Default: 1.0
Configuration: ChanceLifePercentModifier

sleeping_capture_percent_bonus
Default: 30.0
Configuration: UnconsciousCaptureBonus

Calculator
Did I mention I was a Senior Web Developer? Well, just for the hell of it, I made this calculator for you to test your values against the formula.

Capture Chance Calculator[jsfiddle.net]
Last edited by Aleksey; Jan 19, 2021 @ 5:49pm