Rev0996

Fixed issue #11. Using a mix of modules and setDamage to preserve
effects.