IF
	Die()
THEN
	RESPONSE #100
		IncrementGlobal("FerthgDuergr","GLOBAL",1)
END

IF
	AttackedBy([PC],DEFAULT)
THEN
	RESPONSE #100
		SetGlobal("HelpFerthg","GLOBAL",1)
END

IF
	Help([ANYONE])
THEN
	RESPONSE #0
		Attack(LastAttackerOf(LastHelp(Myself(Myself))))
END

IF
	AttackedBy([ANYONE],DEFAULT)
	MoraleLT(Myself(Myself),6)
THEN
	RESPONSE #100
		AttackOneRound(LastAttackerOf(Myself(Myself)))
		RunAwayFrom(LastAttackerOf(Myself(Myself)),150)
END

IF
	See("Ferthgil")
	Global("FerthgilFight","GLOBAL",1)
THEN
	RESPONSE #100
		Help()
		Attack("Ferthgil")
END

IF
	See(NearestEnemyOf(Myself(Myself)))
THEN
	RESPONSE #100
		Help()
		AttackReevaluate(NearestEnemyOf(Myself(Myself)),30)
END


