Afflictions adds new status effect stacks on ragdoll, knockback, knockdown and lifted. The new stack's damage is based on the number of procs on an enemy and the total damage of the stacks. Damage of DoT effects is the damage per tick multiplied number of ticks (how long the DoT lasts). This means that [Lasting Sting], which increases DoT duration, increases afflictions' damage by 2x.
[Coda Mire] slam attack has forced toxin proc, which scales from modded toxin on weapon (even if it combines with progenitor heat for gas). This is similar to how Toxic Lash scales on Corro Cold [Sobek], despite not modding for pure toxin on the [Sobek]. Because Gas + Afflictions scales very aggressively with gas (afflictions can cap gas stacks to spawn new clouds but retain DPS portion from old clouds to scale afflictions damage), afflictions essentially taxi's the forced tox proc damage.
To fully optimize, use tox shards (idk if crit shards are more worth at a certain crit chance), roar for faction dmg and wrathful advance. Maybe also look into tox elemental buff (subsume spores? or [Valence Formation]).
2 forma allows the [Coda Mire] to [Reach] level 34, for a total capacity of 78. This build takes 76 capcity with 2 forma. If you wish to slot in an exilus mod (e.g. [Dispatch Overdrive] for movement speed), you'd need to forma a bit more.