ScriptName aaaKimachuuBountyHunterMCM extends MCM_ConfigBase

Int property iLevelMult Auto
Int property iDistanceDivision Auto
Int property iEnemyHealthMult Auto
Int property iDefeat Auto

Event OnPlayerLoadGame()
	utility.Wait(3.00000)
	self.SetV()
EndEvent

Event OnConfigInit()
	utility.Wait(3.00000)
	self.SetV()
EndEvent

;Event OnConfigOpen()

;EndEvent

;Event OnConfigClose()

;EndEvent

Event OnSettingChange(String a_ID)
	if a_ID == "iLevelMult:General"
		iLevelMult = Self.GetModSettingInt(a_ID)
	elseIf a_ID == "iDistanceDivision:General"
		iDistanceDivision = Self.GetModSettingInt(a_ID)
	elseIf a_ID == "iEnemyHealthMult:General"
		iEnemyHealthMult = Self.GetModSettingInt(a_ID)
	elseIf a_ID == "iDefeat:General"
		iDefeat = Self.GetModSettingInt(a_ID)
	EndIf
EndEvent

Function SetV()
	iLevelMult = Self.GetModSettingInt("iLevelMult:General")
	iDistanceDivision = Self.GetModSettingInt("iDistanceDivision:General")
	iEnemyHealthMult = Self.GetModSettingInt("iEnemyHealthMult:General")
	iDefeat = Self.GetModSettingInt("iDefeat:General")
EndFunction