is there a way to only use the right-click fix? ive looked through the code but the lines i found cant be used only in ahk? i dont know how to code so may have found the wrong lines.
; Perform a right-click while keeping the left mouse button down.
;
; Diablo II has an annoying behavior whereby right-clicking causes the left mouse button not to be
; considered as held down. This function fixes that behavior.
;
; You can enable this fix globally in your own configuration with:
;
; RButton::Diablo2_RightClick()
;
RightClick() {
LBRestore := new this._LButtonRestore()
; The game won't allow the RButton hold action (e.g., repeatedly activating a skill) to happen
; if the LButton is down.
;
; For some reason, this works far more reliably if {RButton down} comes before {LButton up}.
this.Send("{RButton down}{LButton up}")
KeyWait, RButton
this.Send("{RButton up}")
}
is there a way to only use the right-click fix? ive looked through the code but the lines i found cant be used only in ahk? i dont know how to code so may have found the wrong lines.
how can u make use solely of this?