If you attach a devotion skill to a pet based on pet damage, does the damage of the skill scale with pet damage or player damage?

If you attach a devotion skill to a pet based on pet damage, does the damage of the skill scale with pet damage or player damage?

So for example you attached Fissure to Briarthorn would your character need +Fire Damage or would the Briarthorn?

pet
will also be converted if said pet scaled pet has corresponding pet conversions
*keep in mind most pet dmg is %all dmg, so devo’s dmg type usually isnt’ a big deal outside your RR focus etc or conversion