IF
	Global("DrizztKillers","GLOBAL",0)
	Allegiance(Myself(Myself),ENEMY)
	CheckStatGT([PC],23,STR)
	!Exists("Guenhwyv")
	!Dead("Guenhwyv") // Guenhwyvar
THEN
	RESPONSE #100
		ReallyForceSpell(Player1,CLERIC_FAERIE_FIRE)
		SmallWait(5)
		ReallyForceSpell(Player2,WIZARD_GLOBE_OF_DARKNESS)
		SmallWait(5)
		ReallyForceSpell(Player3,WIZARD_GLOBE_OF_DARKNESS)
	RESPONSE #100
		ReallyForceSpell(NearestEnemyOf(Myself),INNATE_SUMMON_GUENHWYVAR)
		SetGlobal("DrizztKillers","GLOBAL",4)
END

IF
	Allegiance(Myself(Myself),ENEMY)
	Global("DrizztKillers","GLOBAL",0)
	!Exists("Guenhwyv")
	!Dead("Guenhwyv") // Guenhwyvar
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),CLERIC_FAERIE_FIRE)
		SmallWait(5)
		ForceSpell(NearestEnemyOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
		SmallWait(5)
		ForceSpell(SecondNearestEnemyOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
	RESPONSE #100
		CreateCreature("BRUENOR",[2400.2258],4) // Bruenor Battlehammer
		CreateCreature("CATTIBR",[2522.2283],4) // No such index
		CreateCreature("REGISRB",[2390.2193],4) // Regis
		CreateCreature("WULFGAR",[2609.2186],4) // No such index
		SetGlobal("DrizztKillers","GLOBAL",1)
END

IF
	Global("DrizztKillers","GLOBAL",0)
	HPPercentLT(Myself,45)
	Allegiance(Myself(Myself),ENEMY)
	!Exists("Guenhwyv")
	!Dead("Guenhwyv") // Guenhwyvar
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),INNATE_SUMMON_GUENHWYVAR2)
		RunAwayFrom(LastAttackerOf(Myself),90)
		Continue()
END

IF
	Global("DrizztKillers","GLOBAL",1)
	HPPercentLT(Myself,45)
	Allegiance(Myself(Myself),ENEMY)
	!Exists("Guenhwyv")
	!Dead("Guenhwyv") // Guenhwyvar
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),INNATE_SUMMON_GUENHWYVAR2)
		RunAwayFrom(LastAttackerOf(Myself),90)
		Continue()
END

IF
	Global("DrizztKillers","GLOBAL",2)
	HPPercentLT(Myself,45)
	Allegiance(Myself(Myself),ENEMY)
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),INNATE_SUMMON_GUENHWYVAR2)
		RunAwayFrom(LastAttackerOf(Myself),90)
		Continue()
END

IF
	Global("DrizztKillers","GLOBAL",3)
	HPPercentLT(Myself,45)
	Allegiance(Myself(Myself),ENEMY)
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),INNATE_SUMMON_GUENHWYVAR2)
		RunAwayFrom(LastAttackerOf(Myself),90)
		Continue()
END

IF
	Exists(NearestEnemyOf(Myself(Myself)))
	NumCreatureGT(NearestEnemyOf(Myself),6)
	!Exists("Guenhwyv")
	!Dead("Guenhwyv") // Guenhwyvar
	Allegiance(Myself(Myself),ENEMY)
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),INNATE_SUMMON_GUENHWYVAR2)
		Continue()
END

IF
	Exists([PC])
	AttackedBy([ANYONE],RANGED)
	!Exists("Guenhwyv")
	!Dead("Guenhwyv") // Guenhwyvar
	Allegiance(Myself(Myself),ENEMY)
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),INNATE_SUMMON_GUENHWYVAR2)
		SmallWait(5)
		ForceSpell(LastAttackerOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
		SmallWait(5)
		ForceSpell(NearestEnemyOf(Myself),CLERIC_FAERIE_FIRE)
		SmallWait(5)
		ForceSpell(SecondNearestEnemyOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
		Continue()
END

IF
	Exists([PC])
	AttackedBy([ANYONE],RANGED)
	Allegiance(Myself(Myself),ENEMY)
	Exists("Guenhwyv")
THEN
	RESPONSE #100
		ForceSpell(LastAttackerOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
		SmallWait(5)
		ForceSpell(NearestEnemyOf(Myself),CLERIC_FAERIE_FIRE)
		SmallWait(5)
		ForceSpell(SecondNearestEnemyOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
		Continue()
END

IF
	Exists([PC])
	AttackedBy([ANYONE],RANGED)
	Allegiance(Myself(Myself),ENEMY)
	Dead("Guenhwyv") // Guenhwyvar
THEN
	RESPONSE #100
		ForceSpell(LastAttackerOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
		SmallWait(5)
		ForceSpell(NearestEnemyOf(Myself),CLERIC_FAERIE_FIRE)
		SmallWait(5)
		ForceSpell(SecondNearestEnemyOf(Myself),WIZARD_GLOBE_OF_DARKNESS)
		Continue()
END


