Skip to content

Commit

Permalink
condese, fix conditonal
Browse files Browse the repository at this point in the history
  • Loading branch information
wtffidy committed Nov 5, 2024
1 parent 843b2f7 commit e63ad48
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Other/Badges/Stubborn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,20 @@ public void ScriptMain(IScriptInterface Bot)

public void Badge()
{

if (Core.HasAchievement(56) || !Bot.Player.IsMember)
if (Core.HasAchievement(56) || !Core.IsMember)
{
Core.Logger($"Already have the \"Stubborn\" badge");
Core.Logger(!Core.IsMember ? "Player isnt member"
: "Already have the \"Stubborn\" badge");
return;
}

//ensure private...because yes
Core.Join("twig-100000");
int i = 0;
while (!Bot.ShouldExit && i < 100)
Core.Join("twig-100000", "r2", "left");
for (int i = 0; i < 100; i++)
{
//leave autocorrect enabled as it double jumps and gest it done quicker.
//leave autocorrect enabled as it double jumps and gets it done quicker.
Bot.Map.Jump("r2", "left");
i++;
if (i >= 100)
break;
}

}
}

0 comments on commit e63ad48

Please sign in to comment.