function NomalAutoTarget () {
while (!Player.Dead()) {
Orion.Ignore('self');
var creatures = Orion.FindType("any", "any", ground, "near|live|ignoreself|ignorefriends", 15, 'gray|red|orange|criminal|enemy');
if (!creatures.length) {
Orion.CloseStatusbar(lasttarget);
Orion.CharPrint(self, Orion.Random(0, 100), "** No Enemy **");
Orion.IgnoreReset();
Orion.Wait(500);
} else {
Orion.RemoveObject("target");
Orion.AddObject("target", creatures[0]);
var target = Orion.FindObject("target");
Orion.ClientLastTarget(creatures[0]);
Orion.TargetSystemSerial(creatures[0]);
// InvokeVirtue
if (target.Hits("%") == 100) {
Orion.WaitTargetObject("target");
Orion.InvokeVirture('Honor');
}
Orion.Attack("target");
}
Orion.Wait(500);
}
}