IF
	Heard([ANYONE],ALERT)
        InMyGroup(LastHeardBy(Myself))
	Allegiance(Myself,NEUTRAL)
THEN
	RESPONSE #100
                CreateCreatureObjectDoor("RU_HONMA",Myself, 0, 0, 0)
                ActionOverride("RU_HONMA",Enemy())
                Shout(ALERT)
                Enemy()
END

IF
        AttackedBy([GOODCUTOFF],DEFAULT)
	Allegiance(Myself,NEUTRAL)
THEN
	RESPONSE #100
                CreateCreatureObjectDoor("RU_HONMA",Myself, 0, 0, 0)
                ActionOverride("RU_HONMA",Enemy())
                Shout(ALERT)
                Enemy()
END

IF
	Allegiance(Myself,NEUTRAL)
	!HasItem("RU_MAP01",Myself)
THEN
	RESPONSE #100
                CreateCreatureObjectDoor("RU_HONMA",Myself, 0, 0, 0)
                ActionOverride("RU_HONMA",Enemy())
                Shout(ALERT)
                Enemy()
END

IF
	See(NearestEnemyOf(Myself))
	HasItem("SCRL7O",Myself)
        CheckStat(Myself,0,WIZARD_PROTECTION_FROM_MAGIC_WEAPONS)
        !GlobalTimerNotExpired("PRO_2","LOCALS")
THEN
	RESPONSE #100
                SetGlobalTimer("PRO_2","LOCALS",6)
		UseItem("SCRL7O",Myself)
END

IF
	See(NearestEnemyOf(Myself))
	HasItem("POTN10",Myself)
        !StateCheck(Myself,STATE_INVISIBLE)
        !GlobalTimerNotExpired("PRO_1","LOCALS")
THEN
	RESPONSE #100
                SetGlobalTimer("PRO_1","LOCALS",6)
		UseItem("POTN10",Myself)
END

IF
	See(NearestEnemyOf(Myself))
        OR(2)
	  !HasItem("POTN10",Myself)
	  !HasItem("SCRL7O",Myself)
THEN
	RESPONSE #100
                SetGlobal("RU_ELBER_ESCAPE","GLOBAL",1)
		EscapeArea()
END