idamagedistribution - yeelp/Distinct-Damage-Descriptions GitHub Wiki
An IDamageDistribution is a CraftTweaker representation of DDD's Damage Distributution.
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import
import mods.ddd.distributions.IDamageDistribution;IDamageDistribution extends IDistribution. This means all functions available to IDistributions are available to IDamageDistributions.
Currently, the only way to get an IDamageDistribution is to call the distribution ZenGetter on an IDDDDamageType.
<dddtype:poison>.distribution;IDDDBaseMap distribute(float);
- Distributes a float representing the damage across the weighted categories represented in this IDamageDistribution
- Returns an IDDDBaseMap containing the result of the distribution.