Try it first, and then you can discuss it. It's not that simple either, it takes a very, very long time, but it's interesting and effective.
What are the dogs afraid of during the drying process? You're not a dumb AI that tries to attack them with all melee units at once, are you? :) Dogs are actually weak; the first random computer-controlled mage will kill them with two lightning spells.