The Terrain ability has various effects depending on the current environment and costs no MP. However, if all targets are missed during hit calculation the Backfire effect is triggered damaging the caster. Note that Terrain spells that target a single enemy do so by selecting at random from the available enemies.