Jump to content

Recommended Posts

18 hours ago, Droidz said:

How many time you have waiting? try to wait 5 minutes, you can also try to put "google.com" or another website in "ping to check internet connectivity"

I wait more 30 min. Can it happen from the script? Idk how unsubscribe , help pls

//Healing Touch !fight mana > 40% hp< 60%                                                                                                                                             
Logging.Write("Healing Touch !fight mana > 40% hp< 60%");
int percentHP = 60;
int percentMana = 40;
bool need = true;

robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
{
    if(ObjectManager.Me.HealthPercent < percentHP + 5 && 
    ObjectManager.GetUnitAttackPlayer().Count(u => u.GetDistance < 100) == 0 && need)
    {
        cancelable.Cancel = true;
        while(ObjectManager.Me.HealthPercent < percentHP + 5 && 
        ObjectManager.GetUnitAttackPlayer().Count(u => u.GetDistance < 100) == 0 && 
        !ObjectManager.Me.IsDead)
        {
 

        }
    }
};

Link to comment
https://wrobot.eu/forums/topic/10493-bug-with-restart/#findComment-49897
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...