Could you cite that law for me? Because last I checked there is no such law forcing Isreal to shoot back, school or otherwise.
Intentionally bombing civilians is a war crime. I don't care how many of your "intended targets" you think you're getting. If you are bombing civilian centers, like, oh let's say a hospital for instance, then you are a war criminal, Full stop. There is nothing forcing Isreal to do that.