Scriptname aaaTKCInitAliasScript extends ReferenceAlias

aaaTKCInitQuestScript Property QuestScript Auto
Spell property ElementSpell auto
Actor player

Event OnPlayerLoadGame()
	QuestScript.RegistKey()
	player = Game.GetPlayer()
EndEvent


Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference)
	if !((player.GetEquippedItemType(1) == 5)  || (player.GetEquippedItemType(1) == 6))	
			questScript.RemoveRuthless()
	endif


	if (player.GetEquippedItemType(1) <= 4) && !(player.GetEquippedItemType(1) == 0)
		return
	else
		if player.HasSpell(ElementSpell)
			player.RemoveSpell(ElementSpell)
			Debug.notification("Remove ench from unequip")
		endif
	endif

endEvent


Event OnTranslationAlmostComplete()
;	Debug.notification("almost Tranlate Done")
	player.StopTranslation()
EndEvent