Anda di halaman 1dari 4

#If WinActive("ahk_class Diablo II")

rfull_command_line := DllCall("GetCommandLine", "str")

if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)"))


{
try
{
if A_IsCompiled
Run *RunAs "%A_ScriptFullPath%" /restart
else
Run *RunAs "%A_AhkPath%" /restart "%A_ScriptFullPath%"
}
ExitApp
}

f12:: Pause

;=======================================Instant TP /
Swap========================================================================

w::
Send {w down} ; Divine Apparition
Sleep, 20
Send {w up} ; Divine Apparition
Sleep, 20
SendInput {Rbutton down}
Sleep, 20
SendInput {Rbutton up}
Sleep, 20
Send {e down} ; Bear Stance / Other
Sleep, 20
Send {e up}
Return

;============================================Weapon Swap and cast


Bloodlust===================================================================

;WepSwapOSkill

x::

;BlockInput On

Send {x down}
Sleep, 20
Send {x up}
Sleep, 500
Send {F3 down} ; Bloodlust
Sleep, 20
Send {F3 up} ; Bloodlust
Sleep, 20
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}
Sleep, 500
Send {x down}
Sleep, 20
Send {x up}
;BlockInput Off

Return

;=========================================Hotkey for Rapture +


Vindicate======================================================================
d::

Start:
IfWinActive, Diablo II

Goto, Speed

Speed:

;BlockInput On

Send {f down} ; Rapture


Sleep, 20
Send {f up} ; Rapture
Sleep, 35
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}
Sleep, 20
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}

;BlockInput Off
Sleep, 200

Goto, Regen

Regen:

;BlockInput On

Send {d down} ;Vindicate


Sleep, 20
Send {d up} ; Vindicate
Sleep, 35
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}
Sleep, 20
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}

;BlockInput Off
Sleep, 200

Goto, Pierce

Pierce:
;BlockInput On

Send {7 down}
Sleep, 20
Send {7 up}
Sleep, 35
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}
Sleep, 20
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}
;Return to Bear Stance
Send {r down}
Sleep, 20
Send {r up}
;BlockInput Off

Return

;================================Automatic Demiurge/Sacred
Armor==============================================================================
=

a::

Start2:
IfWinActive, Diablo II

Goto, Demi

Demi:
BlockInput On
Send {a down} ;Demiurge
Sleep, 20
Send {a up} ;Demiurge
Sleep, 35
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}
Sleep, 20
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}

BlockInput Off
Sleep, 600

Goto, Armor

Armor:

BlockInput On

Send {s down} ;Sacred Armor


Sleep, 20
Send {s up} ;Sacred Armor
Sleep, 35
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}
Sleep, 20
Send {RButton down}
Sleep, 20
SendInput {Rbutton up}

BlockInput Off

Goto, Bear

Bear:
Sleep, 100
Send {e down} ;Bear Stance / Other
Sleep, 20
Send {e up} ;Bear Stance / Other

Sleep, 18000
Goto, Demi

;
===================================================================================
============================

;This sequence is intended to interrupt the automatic buffing sequence, allowing


you to cast your buffs manually.

+a::
Reload
Return

Anda mungkin juga menyukai