IF
	Global("EffreetiFight","GLOBAL",0)
	See(NearestEnemyOf(Myself(Myself)))
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),WIZARD_ICE_BOLT)
		SetGlobal("EffreetiFight","GLOBAL",1)
END

IF
	Global("EffreetiFight","GLOBAL",1)
	See(NearestEnemyOf(Myself(Myself)))
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),WIZARD_AGANNAZAR_SCORCHER)
		SetGlobal("EffreetiFight","GLOBAL",2)
END

IF
	Global("EffreetiFight","GLOBAL",2)
	See(NearestEnemyOf(Myself(Myself)))
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),WIZARD_FIREBALL)
		SetGlobal("EffreetiFight","GLOBAL",3)
END

IF
	Global("EffreetiFight","GLOBAL",3)
	See(NearestEnemyOf(Myself(Myself)))
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),WIZARD_BURNING_HANDS)
		SetGlobal("EffreetiFight","GLOBAL",4)
END

IF
	Global("EffreetiFight","GLOBAL",4)
	See(NearestEnemyOf(Myself(Myself)))
THEN
	RESPONSE #100
		EquipMostDamagingMelee()
		AttackReevaluate(NearestEnemyOf(Myself),30)
		SetGlobal("EffreetiFight","GLOBAL",2)
END


