Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #MaxThreadsPerHotkey 3
- ; suppose that you start the fight with all skill ready and charge loaded
- ; skill priority:
- ; Offensive Buff 45s F
- ; Ultimate Buff 45s H
- ; Charge 30s G
- ; Ultimate Attack 15s Y
- ; Strong Attack 4s E
- ; Parry 15s R
- ; Piercing Attack 8s T
- ; Defensive Buff 15s S
- ; Block 10s A
- ; Heal 15s D
- ^y::
- Toggle := !Toggle
- Play:
- ; contains current cd of skills
- skills := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
- ; contains cooldown of skills
- skillsCD := [49500, 49500, 33000, 16500, 4400, 16500, 8800, 16500, 11000, 16500]
- ; contains skills hotkey
- skillsHK := ["F", "H", "G", "Y", "E", "R", "T", "S", "A", "D"]
- Loop
- {
- If (!Toggle){
- Break
- }
- i := 1
- ; loop through skills to see if they are avaiable
- Loop
- {
- ; checks if skill is ready
- If(skills[i] == 0){
- Send % skillsHK[i]
- skills[i] := skillsCD[i]
- Break
- }
- i++
- ; if no skill is ready use Regular Attack
- if(i > 10){
- Send {W}
- Break
- }
- }
- i := 1
- ; reduce all skill cd
- Loop
- {
- If(i <= 10){
- skills[i] := skills[i] - 1100
- If(skills[i] < 0){
- skills[i] := 0
- }
- i++
- } else {
- Break
- }
- }
- Sleep 1100
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement