Making an Elemental Dino

Someone else posted this, I tried what they said and cannot seem to get it to work. Say making a poison ptero. It does not appear to do torpor damage but only standard melee damage. How do you make it do torpor damage to a other dino?