IF
    OR(2)
		!GlobalTimerNotExpired("CAST","LOCALS")
        CheckStatGT(Myself,0,WIZARD_IMPROVED_ALACRITY)
    HaveSpell(WIZARD_ANIMATE_DEAD)
	See(NearestEnemyOf(Myself))
	OR(2)
	    !Class(Player1,CLERIC_ALL)
		!See(Player1)
	OR(2)
	    !Class(Player2,CLERIC_ALL)
		!See(Player2)
	OR(2)
	    !Class(Player3,CLERIC_ALL)
		!See(Player3)
	OR(2)
	    !Class(Player4,CLERIC_ALL)
		!See(Player4)
	OR(2)
	    !Class(Player5,CLERIC_ALL)
		!See(Player5)
	OR(2)
	    !Class(Player6,CLERIC_ALL)
		!See(Player6)
    NumCreatureLT([EVILCUTOFF.UNDEAD],5)
    NumCreatureLT([EVILCUTOFF.0.0.0.0.SUMMONED],7)
THEN
    RESPONSE #100
		SetGlobalTimer("CAST","LOCALS",6)
        Spell(Myself,WIZARD_ANIMATE_DEAD)
END
