I used to think that maximum trophies obtainable in multiplayer attacks is 34. Because from my past experiences I have not seen a value greater than 34.
Today while searching for an opponent in multiplayer I came across a village that would yield 40 trophies if I had 3 starred it.(however I was able to make only 2 stars 50%)
So I want to ask : Is this a bug or the trophies system has changed recently?