Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Afk training with exercise item.
#6
BBot/Data/bbot.items
It's not perfect but works.
Add in variables (Just change ID for use other weapon)
Weapon=28556

Quote:28555,1,100,0,200000,exercise bow
28543,100,0,200000,exercise bow
28556,100,0,200000,exercise rod
28559,16,0,0,0,ferumbras exercise dummy
28565,16,0,0,0,exercise dummy

Quote:1 {Exercise Weapon} When.SystemMessage(Dummy, You have stopped exercising) Exit() {Dummy} Cooldown.Create(Exercise Weapon, 40000) Cooldown.Rest(Attack Timer) Exit()

Quote:1000 {Dummy Timer} remainDW:=Cooldown.Rest(Exercise Weapon) !remainDW<=39400 VarDiv(remainDW, 1000) remainDWm:=!remainDW remainDWs:=!remainDW remainDWm:=!remainDWs VarDiv(remainDWm, 60) VarMod(remainDWs, 60) !remainDWs>10 [1] HUD.Print(2, 1, 17, 255, 48, 1070, Time back to use the dummy !remainDWm : !remainDWs) exit() {1} HUD.Print(2, 1, 17, 255, 48, 1070, Time back to use the dummy !remainDWm : 0!remainDWs) exit()

Quote:1000 {Use Exercise Weapon} Cooldown.Blocked(Exercise Weapon)==0 Cooldown.Blocked(Attack Timer)==0 Map.UseOn(!Weapon, 28559, :X, :Y, :Z, 6) Cooldown.Create(Attack Timer, 360000) Exit()

Quote:1000 {Attack Timer} remainDW:=Cooldown.Rest(Attack Timer) !remainDW<=354000 VarDiv(remainDW, 1000) remainDWm:=!remainDW remainDWs:=!remainDW remainDWm:=!remainDWs VarDiv(remainDWm, 60) VarMod(remainDWs, 60) !remainDWs>10 [1] HUD.Print(2, 1, 17, 255, 48, 1070, Attack Timer: !remainDWm : !remainDWs) exit() {1} HUD.Print(2, 1, 17, 255, 48, 1070, Attack Timer: !remainDWm : 0!remainDWs) exit()
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)