updated ultimate

Modified for handling not leveled, no target, and multi-target.