Article 114 [source]

Spanish Criminal Code
English translation

If the victim has contributed with their conduct to the production of the damage or harm suffered, the Judges or Courts may moderate the amount of their compensation or indemnification.