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

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

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