-
|
Hello Everyone, This is my code, but the question is how to set a custom class and skill set. For example, I want to set the Void Highlord class and only use skill 124. from core.bot import Bot
from templates.hunt import hunt_item_cmds
import commands as cmd
import asyncio
username = input("Username: ")
password = input("Password: ")
server = input("Server: ")
# Initialize bot
b = Bot(
roomNumber=None,
itemsDropWhiteList=[
"Underworld Blade of DOOM"
],
cmdDelay=1000,
showLog=True,
showDebug=False,
showChat=True)
b.set_login_info(username, password, server)
# Initialize variables
private_room_number = 999999
# Arrange commands
b.add_cmds([
*hunt_item_cmds(
item_name = "Underworld Blade of DOOM",
item_qty = 1,
map_name = "dage",
room_number = private_room_number,
cell = "Boss",
pad = "Right",
monster_name = "Dage The Evil"
),
cmd.SleepCmd(1000)
])
# Start bot
asyncio.run(b.start_bot())Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
dwiki08
Oct 31, 2025
Replies: 1 comment 4 replies
-
|
The skill set starts with 4, then 0, 1 and 2. Once skill 4 has finished cooldown, hit 4 and repeat. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
are you using VS Code? just hold CTRL and click the function name on *hunt_item_cmds
you will find out its imported from templates/hunt.py
it is using general attack loop
you can edit and write your logic code from there, to specialize it for specific classes like VHL