Esempio n. 1
0
            static CreatureBoardAsset RemoveTargetFromNearestCreature()
            {
                CreatureBoardAsset creatureBoardAsset = Minis.GetCreatureClosestTo(Flashlight.GetPosition(), maxDistanceToNearestCreatureFt);

                if (creatureBoardAsset == null)
                {
                    return(null);
                }
                RemoveTargetFrom(creatureBoardAsset);

                return(creatureBoardAsset);
            }
Esempio n. 2
0
 static CreatureBoardAsset GetNearestCreature()
 {
     return(Minis.GetCreatureClosestTo(Flashlight.GetPosition(), maxDistanceToNearestCreatureFt));
 }