Summoner pets

So quick question summoner pets have all three types of damage ranged tech and melee.

So how is their damage calculated? Is it by the type if move or somehow a combination of the three together?

Thanks!

@AlexOak That's a really good and easy to follow guild. I am leaving summoner for my last class to 50 so I def need to read up on this.