Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

__locate_skill_boxes() added. Provides the rectangles for each skill …#163

Open
v0rkath wants to merge 2 commits intokelltom:mainfrom
v0rkath:skill-boxes
Open

__locate_skill_boxes() added. Provides the rectangles for each skill …#163
v0rkath wants to merge 2 commits intokelltom:mainfrom
v0rkath:skill-boxes

Conversation

@v0rkath
Copy link
Contributor

@v0rkath v0rkath commented May 2, 2023

…box (0 -> 23) which can be used for antiban functionality.

Skills Index
Attack 0
Hitpoints 1
Mining 2
Strength 3
... ...
Hunter 22
Total Level 23

skill-boxes


Failed Black Checks:
Black seems to expect the following format:

self.skill_boxes.append(
    Rectangle(left=x, top=y, width=slot_w, height=slot_h)
)

over the current format e.g.

self.skill_boxes.append(Rectangle(left=x, top=y, width=slot_w, height=slot_h))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant