Ir até ao ficheiro game.py (root):
Procurar por:
from _weakref import proxy
Adicionar por baixo:
from switchbot import Bot
Procurar por:
self.quickSlotPageIndex = 0
Adicionar por baixo:
self.switchbit = Bot()
self.switchbot.hide()
Procurar por:
onPressKeyDict[app.DIK_F4] =lambda : self.__PressQuickSlot(7)
Adicionar por baixo:
onPressKeyDict[app.DIK_F6] =lambda : self.__toogleSwitchbot()
Adicionar no fim do ficheiro:
def __toggleSwitchbot(self):
if self.switchbot.bot_shown == 1:
self.switchbot.Hide()
else:
self.switchbot.Show()
Colocar o ficheiro switchbot.py dentro da pasta root.
switchbot.py