IF
	Global("LichPlayer1","GLOBAL",1)
THEN
	RESPONSE #100
	SetInterrupt(FALSE)
	StartCutSceneMode()
		SetGlobal("LichPlayer1","GLOBAL",0)
		ActionOverride(Player1,JumpToPoint([4045.2385]))
		//CutSceneId("BDDLICH")
		CreateCreature("CUTSPY",[4063.2267],S) // No such index
		MoveViewPoint([4050.2355],INSTANT)
		SmallWait(35)
		SetSequence(SEQ_ATTACK_JAB)
		SmallWait(15)
		ActionOverride(Player1,Face(SE))
		SmallWait(5)
		ActionOverride(Player1,SetSequence(SEQ_SLEEP))
		SmallWait(15)
		FaceObject(Player1)
		SetSequence(SEQ_CONJURE)
		PlaySound("CAS_PM1M")
		SmallWait(15)
		CreateVisualEffectObject("MMAGICH","BDCOLDH")
		PlaySound("EFF_E08")
		Wait(5)
		SetSequence(SEQ_CAST)
		CreateVisualEffectObject("1WDSARMR","BDCOLDH")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3999.2184])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4147.2203])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4218.2299])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4162.2389])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4016.2421])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3894.2363])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3885.2249])
		PlaySound("EFF_E06")
		SmallWait(15)
		CreateVisualEffectObject("SPDEATH3",Player1)
		ActionOverride(Player1,SetSequence(SEQ_DIE))
		PlaySound("EFF_M89")
		SmallWait(25)
		SmallWait(10)
		ActionOverride(Player1,SetSequence(SEQ_AWAKE))
		SmallWait(15)
		CreateVisualEffectObject("SPDIMNDR",Player1)
		SmallWait(5)
		CreateVisualEffect("SPDIMNDR",[4176.2251])
		SmallWait(15)
		ActionOverride(Player1,JumpToPoint([4176.2251]))
		ActionOverride(Player1,FaceObject("BDCOLDH"))
		ActionOverride(Player1,DropInventory())
		
		ChangeAlignment(Player1,CHAOTIC_EVIL)
		ChangeRace(Player1,LICH)
		ChangeGeneral(Player1,UNDEAD)
		ChangeGender(Player1,NIETHER)
		ChangeStat(Player1,USE_ANY_ITEM,1,SET)
		ChangeStat(Player1,PROFICIENCYMACE,1,ADD)
		GiveItemCreate("LICH",Player1,1,1,0) // Ring
		GiveItemCreate("DAGG01",Player1,1,1,0) // Dagger		
		GiveItemCreate("VVPHYL",Player1,1,1,0) // Empty Casket
	

		XEquipItem("LICH",Player1,SLOT_RING_LEFT,EQUIP) // Ring
		XEquipItem("DAGG01",Player1,SLOT_WEAPON,EQUIP) // Dagger		
		ActionOverride(Player1,TransformItem("DAGG01","VVLICH"))
		


		ChangeStat(Player1,RESISTCOLD,50,ADD)
		ChangeStat(Player1,RESISTPOISON,100,ADD)
		ChangeStat(Player1,RESISTELECTRICITY,50,ADD)
		ChangeStat(Player1,RESISTMAGIC,50,ADD)
		
		ChangeStat(Player1,USE_ANY_ITEM,0,SET)		
	
		SmallWait(10)
		
		EndCutSceneMode()
	SetInterrupt(TRUE)
END


IF
	Global("LichPlayer2","GLOBAL",1)
THEN
	RESPONSE #100
	SetInterrupt(FALSE)
		StartCutSceneMode()
		SetGlobal("LichPlayer2","GLOBAL",0)
		ActionOverride(Player2,JumpToPoint([4045.2385]))
		//CutSceneId("BDDLICH")
		CreateCreature("CUTSPY",[4063.2267],S) // No such index
		MoveViewPoint([4050.2355],INSTANT)
		SmallWait(35)
		SetSequence(SEQ_ATTACK_JAB)
		SmallWait(15)
		ActionOverride(Player2,Face(SE))
		SmallWait(5)
		ActionOverride(Player2,SetSequence(SEQ_SLEEP))
		SmallWait(15)
		FaceObject(Player2)
		SetSequence(SEQ_CONJURE)
		PlaySound("CAS_PM1M")
		SmallWait(15)
		CreateVisualEffectObject("MMAGICH","BDCOLDH")
		PlaySound("EFF_E08")
		Wait(5)
		SetSequence(SEQ_CAST)
		CreateVisualEffectObject("1WDSARMR","BDCOLDH")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3999.2184])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4147.2203])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4218.2299])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4162.2389])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4016.2421])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3894.2363])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3885.2249])
		PlaySound("EFF_E06")
		SmallWait(15)
		CreateVisualEffectObject("SPDEATH3",Player2)
		ActionOverride(Player2,SetSequence(SEQ_DIE))
		PlaySound("EFF_M89")
		SmallWait(25)
		SmallWait(10)
		ActionOverride(Player2,SetSequence(SEQ_AWAKE))
		SmallWait(15)
		CreateVisualEffectObject("SPDIMNDR",Player2)
		SmallWait(5)
		CreateVisualEffect("SPDIMNDR",[4176.2251])
		SmallWait(15)
		ActionOverride(Player2,JumpToPoint([4176.2251]))
		ActionOverride(Player2,FaceObject("BDCOLDH"))
		ActionOverride(Player2,DropInventory())
		ChangeAlignment(Player2,CHAOTIC_EVIL)
		ChangeRace(Player2,LICH)
		ChangeGeneral(Player2,UNDEAD)
		ChangeGender(Player2,NIETHER)
		ChangeStat(Player2,USE_ANY_ITEM,1,SET)
		ChangeStat(Player2,PROFICIENCYMACE,1,ADD)
		GiveItemCreate("LICH",Player2,1,1,0) // Ring
		GiveItemCreate("DAGG01",Player2,1,1,0) // Dagger		
		GiveItemCreate("VVPHYL",Player2,1,1,0) // Empty Casket
	

		XEquipItem("LICH",Player2,SLOT_RING_LEFT,EQUIP) // Ring
		XEquipItem("DAGG01",Player2,SLOT_WEAPON,EQUIP) // Dagger		
		ActionOverride(Player2,TransformItem("DAGG01","VVLICH"))
		


		ChangeStat(Player2,RESISTCOLD,50,ADD)
		ChangeStat(Player2,RESISTPOISON,100,ADD)
		ChangeStat(Player2,RESISTELECTRICITY,50,ADD)
		ChangeStat(Player2,RESISTMAGIC,50,ADD)
		
		ChangeStat(Player2,USE_ANY_ITEM,0,SET)			
		
		
		SmallWait(10)
		EndCutSceneMode()
	SetInterrupt(TRUE)
END


IF
	Global("LichPlayer3","GLOBAL",1)
THEN
	RESPONSE #100
	SetInterrupt(FALSE)
		StartCutSceneMode()
		SetGlobal("LichPlayer3","GLOBAL",0)
		ActionOverride(Player3,JumpToPoint([4045.2385]))
		//CutSceneId("BDDLICH")
		CreateCreature("CUTSPY",[4063.2267],S) // No such index
		MoveViewPoint([4050.2355],INSTANT)
		SmallWait(35)
		SetSequence(SEQ_ATTACK_JAB)
		SmallWait(15)
		ActionOverride(Player3,Face(SE))
		SmallWait(5)
		ActionOverride(Player3,SetSequence(SEQ_SLEEP))
		SmallWait(15)
		FaceObject(Player3)
		SetSequence(SEQ_CONJURE)
		PlaySound("CAS_PM1M")
		SmallWait(15)
		CreateVisualEffectObject("MMAGICH","BDCOLDH")
		PlaySound("EFF_E08")
		Wait(5)
		SetSequence(SEQ_CAST)
		CreateVisualEffectObject("1WDSARMR","BDCOLDH")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3999.2184])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4147.2203])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4218.2299])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4162.2389])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4016.2421])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3894.2363])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3885.2249])
		PlaySound("EFF_E06")
		SmallWait(15)
		CreateVisualEffectObject("SPDEATH3",Player3)
		ActionOverride(Player3,SetSequence(SEQ_DIE))
		PlaySound("EFF_M89")
		SmallWait(25)
		SmallWait(10)
		ActionOverride(Player3,SetSequence(SEQ_AWAKE))
		SmallWait(15)
		CreateVisualEffectObject("SPDIMNDR",Player3)
		SmallWait(5)
		CreateVisualEffect("SPDIMNDR",[4176.2251])
		SmallWait(15)
		ActionOverride(Player3,JumpToPoint([4176.2251]))
		ActionOverride(Player3,FaceObject("BDCOLDH"))
		ActionOverride(Player3,DropInventory())
		ChangeAlignment(Player3,CHAOTIC_EVIL)
		ChangeRace(Player3,LICH)
		ChangeGeneral(Player3,UNDEAD)
		ChangeGender(Player3,NIETHER)
		ChangeStat(Player3,USE_ANY_ITEM,1,SET)
		ChangeStat(Player3,PROFICIENCYMACE,1,ADD)
		GiveItemCreate("LICH",Player3,1,1,0) // Ring
		GiveItemCreate("DAGG01",Player3,1,1,0) // Dagger		
		GiveItemCreate("VVPHYL",Player3,1,1,0) // Empty Casket
	

		XEquipItem("LICH",Player3,SLOT_RING_LEFT,EQUIP) // Ring
		XEquipItem("DAGG01",Player3,SLOT_WEAPON,EQUIP) // Dagger		
		ActionOverride(Player3,TransformItem("DAGG01","VVLICH"))
		


		ChangeStat(Player3,RESISTCOLD,50,ADD)
		ChangeStat(Player3,RESISTPOISON,100,ADD)
		ChangeStat(Player3,RESISTELECTRICITY,50,ADD)
		ChangeStat(Player3,RESISTMAGIC,50,ADD)
		
		ChangeStat(Player3,USE_ANY_ITEM,0,SET)			
		
		
		SmallWait(10)
		EndCutSceneMode()
		SetInterrupt(TRUE)
END


IF
	Global("LichPlayer4","GLOBAL",1)
THEN
	RESPONSE #100
	SetInterrupt(FALSE)
		StartCutSceneMode()
		SetGlobal("LichPlayer4","GLOBAL",0)
		ActionOverride(Player4,JumpToPoint([4045.2385]))
		//CutSceneId("BDDLICH")
		CreateCreature("CUTSPY",[4063.2267],S) // No such index
		MoveViewPoint([4050.2355],INSTANT)
		SmallWait(35)
		SetSequence(SEQ_ATTACK_JAB)
		SmallWait(15)
		ActionOverride(Player4,Face(SE))
		SmallWait(5)
		ActionOverride(Player4,SetSequence(SEQ_SLEEP))
		SmallWait(15)
		FaceObject(Player4)
		SetSequence(SEQ_CONJURE)
		PlaySound("CAS_PM1M")
		SmallWait(15)
		CreateVisualEffectObject("MMAGICH","BDCOLDH")
		PlaySound("EFF_E08")
		Wait(5)
		SetSequence(SEQ_CAST)
		CreateVisualEffectObject("1WDSARMR","BDCOLDH")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3999.2184])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4147.2203])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4218.2299])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4162.2389])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4016.2421])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3894.2363])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3885.2249])
		PlaySound("EFF_E06")
		SmallWait(15)
		CreateVisualEffectObject("SPDEATH3",Player4)
		ActionOverride(Player4,SetSequence(SEQ_DIE))
		PlaySound("EFF_M89")
		SmallWait(25)
		SmallWait(10)
		ActionOverride(Player4,SetSequence(SEQ_AWAKE))
		SmallWait(15)
		CreateVisualEffectObject("SPDIMNDR",Player4)
		SmallWait(5)
		CreateVisualEffect("SPDIMNDR",[4176.2251])
		SmallWait(15)
		ActionOverride(Player4,JumpToPoint([4176.2251]))
		ActionOverride(Player4,FaceObject("BDCOLDH"))
		ActionOverride(Player4,DropInventory())
		ChangeAlignment(Player4,CHAOTIC_EVIL)
		ChangeRace(Player4,LICH)
		ChangeGeneral(Player4,UNDEAD)
		ChangeGender(Player4,NIETHER)
		ChangeStat(Player4,USE_ANY_ITEM,1,SET)
		ChangeStat(Player4,PROFICIENCYMACE,1,ADD)
		GiveItemCreate("LICH",Player4,1,1,0) // Ring
		GiveItemCreate("DAGG01",Player4,1,1,0) // Dagger		
		GiveItemCreate("VVPHYL",Player4,1,1,0) // Empty Casket
	

		XEquipItem("LICH",Player4,SLOT_RING_LEFT,EQUIP) // Ring
		XEquipItem("DAGG01",Player4,SLOT_WEAPON,EQUIP) // Dagger		
		ActionOverride(Player4,TransformItem("DAGG01","VVLICH"))
		


		ChangeStat(Player4,RESISTCOLD,50,ADD)
		ChangeStat(Player4,RESISTPOISON,100,ADD)
		ChangeStat(Player4,RESISTELECTRICITY,50,ADD)
		ChangeStat(Player4,RESISTMAGIC,50,ADD)
		
		ChangeStat(Player4,USE_ANY_ITEM,0,SET)			
		
		
		SmallWait(10)
		EndCutSceneMode()
		SetInterrupt(TRUE)
END


IF
	Global("LichPlayer5","GLOBAL",1)
THEN
	RESPONSE #100
	SetInterrupt(FALSE)
		StartCutSceneMode()
		SetGlobal("LichPlayer5","GLOBAL",0)
		ActionOverride(Player5,JumpToPoint([4045.2385]))
		//CutSceneId("BDDLICH")
		CreateCreature("CUTSPY",[4063.2267],S) // No such index
		MoveViewPoint([4050.2355],INSTANT)
		SmallWait(35)
		SetSequence(SEQ_ATTACK_JAB)
		SmallWait(15)
		ActionOverride(Player5,Face(SE))
		SmallWait(5)
		ActionOverride(Player5,SetSequence(SEQ_SLEEP))
		SmallWait(15)
		FaceObject(Player5)
		SetSequence(SEQ_CONJURE)
		PlaySound("CAS_PM1M")
		SmallWait(15)
		CreateVisualEffectObject("MMAGICH","BDCOLDH")
		PlaySound("EFF_E08")
		Wait(5)
		SetSequence(SEQ_CAST)
		CreateVisualEffectObject("1WDSARMR","BDCOLDH")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3999.2184])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4147.2203])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4218.2299])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4162.2389])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4016.2421])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3894.2363])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3885.2249])
		PlaySound("EFF_E06")
		SmallWait(15)
		CreateVisualEffectObject("SPDEATH3",Player5)
		ActionOverride(Player5,SetSequence(SEQ_DIE))
		PlaySound("EFF_M89")
		SmallWait(25)
		SmallWait(10)
		ActionOverride(Player5,SetSequence(SEQ_AWAKE))
		SmallWait(15)
		CreateVisualEffectObject("SPDIMNDR",Player5)
		SmallWait(5)
		CreateVisualEffect("SPDIMNDR",[4176.2251])
		SmallWait(15)
		ActionOverride(Player5,JumpToPoint([4176.2251]))
		ActionOverride(Player5,FaceObject("BDCOLDH"))
		ActionOverride(Player5,DropInventory())
		ChangeAlignment(Player5,CHAOTIC_EVIL)
		ChangeRace(Player5,LICH)
		ChangeGeneral(Player5,UNDEAD)
		ChangeGender(Player5,NIETHER)
		ChangeStat(Player5,USE_ANY_ITEM,1,SET)
		ChangeStat(Player5,PROFICIENCYMACE,1,ADD)
		GiveItemCreate("LICH",Player5,1,1,0) // Ring
		GiveItemCreate("DAGG01",Player5,1,1,0) // Dagger		
		GiveItemCreate("VVPHYL",Player5,1,1,0) // Empty Casket
	

		XEquipItem("LICH",Player5,SLOT_RING_LEFT,EQUIP) // Ring
		XEquipItem("DAGG01",Player5,SLOT_WEAPON,EQUIP) // Dagger		
		ActionOverride(Player5,TransformItem("DAGG01","VVLICH"))
		


		ChangeStat(Player5,RESISTCOLD,50,ADD)
		ChangeStat(Player5,RESISTPOISON,100,ADD)
		ChangeStat(Player5,RESISTELECTRICITY,50,ADD)
		ChangeStat(Player5,RESISTMAGIC,50,ADD)
		
		ChangeStat(Player5,USE_ANY_ITEM,0,SET)			
		
		
		SmallWait(10)
		EndCutSceneMode()
		SetInterrupt(TRUE)
END


IF
	Global("LichPlayer6","GLOBAL",1)
THEN
	RESPONSE #100
	SetInterrupt(FALSE)
		StartCutSceneMode()
		SetGlobal("LichPlayer6","GLOBAL",0)
		ActionOverride(Player6,JumpToPoint([4045.2385]))
		//CutSceneId("BDDLICH")
		CreateCreature("CUTSPY",[4063.2267],S) // No such index
		MoveViewPoint([4050.2355],INSTANT)
		SmallWait(35)
		SetSequence(SEQ_ATTACK_JAB)
		SmallWait(15)
		ActionOverride(Player6,Face(SE))
		SmallWait(5)
		ActionOverride(Player6,SetSequence(SEQ_SLEEP))
		SmallWait(15)
		FaceObject(Player6)
		SetSequence(SEQ_CONJURE)
		PlaySound("CAS_PM1M")
		SmallWait(15)
		CreateVisualEffectObject("MMAGICH","BDCOLDH")
		PlaySound("EFF_E08")
		Wait(5)
		SetSequence(SEQ_CAST)
		CreateVisualEffectObject("1WDSARMR","BDCOLDH")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3999.2184])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4147.2203])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4218.2299])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4162.2389])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[4016.2421])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3894.2363])
		PlaySound("EFF_E06")
		SmallWait(5)
		CreateVisualEffect("SPCALLLI",[3885.2249])
		PlaySound("EFF_E06")
		SmallWait(15)
		CreateVisualEffectObject("SPDEATH3",Player6)
		ActionOverride(Player6,SetSequence(SEQ_DIE))
		PlaySound("EFF_M89")
		SmallWait(25)
		SmallWait(10)
		ActionOverride(Player6,SetSequence(SEQ_AWAKE))
		SmallWait(15)
		CreateVisualEffectObject("SPDIMNDR",Player6)
		SmallWait(5)
		CreateVisualEffect("SPDIMNDR",[4176.2251])
		SmallWait(15)
		ActionOverride(Player6,JumpToPoint([4176.2251]))
		ActionOverride(Player6,FaceObject("BDCOLDH"))
		ActionOverride(Player6,DropInventory())
				ChangeAlignment(Player6,CHAOTIC_EVIL)
		ChangeRace(Player6,LICH)
		ChangeGeneral(Player6,UNDEAD)
		ChangeGender(Player6,NIETHER)
		ChangeStat(Player6,USE_ANY_ITEM,1,SET)
		ChangeStat(Player6,PROFICIENCYMACE,1,ADD)
		GiveItemCreate("LICH",Player6,1,1,0) // Ring
		GiveItemCreate("DAGG01",Player6,1,1,0) // Dagger		
		GiveItemCreate("VVPHYL",Player6,1,1,0) // Empty Casket
	

		XEquipItem("LICH",Player6,SLOT_RING_LEFT,EQUIP) // Ring
		XEquipItem("DAGG01",Player6,SLOT_WEAPON,EQUIP) // Dagger		
		ActionOverride(Player6,TransformItem("DAGG01","VVLICH"))
		


		ChangeStat(Player6,RESISTCOLD,50,ADD)
		ChangeStat(Player6,RESISTPOISON,100,ADD)
		ChangeStat(Player6,RESISTELECTRICITY,50,ADD)
		ChangeStat(Player6,RESISTMAGIC,50,ADD)
		
		ChangeStat(Player6,USE_ANY_ITEM,0,SET)	
		
		SmallWait(10)
		EndCutSceneMode()
		SetInterrupt(TRUE)
END