rendered paste body method MinMaxLvLs()
{
if ${Me.Level} > 3 && ${Me.Level} < 7
{
Targeting.MinLvL:Set[3]
}
else
{
Targeting.MinLvL:Set[${Toon.MinMobLevelToGainXP}]
}
Targeting.MaxLvL:Set[${Math.Calc[${Me.Level} + 2]}]
if ${UIElement[chkIgnoreMax@Config@Pages@openbot].Checked}
{
Targeting.MinLvL:Set[80]
Targeting.MaxLvL:Set[80]
}
if ${UIElement[chkIgnoreMin@Config@Pages@openbot].Checked}
{
Targeting.MinLvL:Set[1]
}
UIElement[txtMinLvL@Config@Pages@openbot]:SetText[Min: ${Targeting.MinLvL}]
UIElement[txtMaxLvL@Config@Pages@openbot]:SetText[Max: ${Targeting.MaxLvL}]
This:Debug["${This.MinLvL} min and ${This.MaxLvL} max"]
}
}