Untitled
unknown
plain_text
2 years ago
780 B
7
Indexable
@Subscribe
private void onGameTick(GameTick event) {
if (this.client.getGameState() != GameState.LOGGED_IN)
return;
if(tickTimeout())
{
return;
}
activateSpec();
}
public boolean tickTimeout()
{
if (this.timeout > 0) {
this.timeout--;
return true;
}
return false;
}
public void activateSpec()
{
if (!this.config.Dragmode() && !this.config.Hallydrag() && !this.config.KillUrselfMode() && EthanApiPlugin.getClient().getVarpValue(173) == 0 && EthanApiPlugin.getClient().getEnergy() > 100) {
MousePackets.queueClickPacket();
WidgetPackets.queueWidgetActionPacket(1, 10485787, -1, -1);
}
}Editor is loading...
Leave a Comment