Incorporates BevapDin's fix and corrects a few debuffs I missed.