Closed collinsmith closed 5 years ago
I'll need to investigate how assigning hotkeys to left skills effects the save file. It may be that the top 8 indexes are left skills (d2s saves 16 skills).
0x8000
is the bit used to represent if the skill is a left skill. Created method in Player
which bitwise or
with this mask when checking left skills and prevents those from getting the hotkey set as well. Long term, I want this moved from Player
to GameScreen
-- Player
should only be an entity, while GameScreen
should represent the in-game client, however this needs to manage the D2S as well.
Hotkeys on desktop are currently changing both left and right skills when pressed. E.g.,
lightning
is assigned a right skill hotkey and is also changing left skill.