If a human corporeal caster casts inflict light wounds on a shadow, does the shadow get healed the full result of the 1d8 + X roll? Or only half that? Or does it have a 50% chance of getting healed the full 1d8 + X hp and a 50% chance of nothing happening?