- Joined
- Nov 11, 2012
- RedCents
- 688¢
Here is my way to automate this and I got this work flawlessly under my setup (already got the achievements one week ago.)
1st Step, Put these in your inc file or download event.inc
2nd Step, VERY IMPORTANT, your spell_routines.inc has the autostand function that prolly screwed your duck..
Search Duck in your spell_routines.inc, there should be 2 lines of it, change them into the following (add !${MustDuck} into the condition):
Line under Sub Cast,
Line under Sub WaitCast,
Save and run your macro, then good to go!
1st Step, Put these in your inc file or download event.inc
|--Group mission Events
#event KDDuck "The ice encrusted Avatar of War shouts that #1# must bend the knee!"
#event KDNoDuck "#*#The Avatar of War nods, accepting the subservience of those that gave it#*#"
|--Group Mission
Sub Event_KDDuck(string line,string dpeep)
/if (!${Defined[MustDuck]}) /declare MustDuck int outer 0
/if (${dpeep.Find[${Me.CleanName}]}&&!${Me.Ducking}) {
/if (${Me.Class.ShortName.Equal[BER]}) /zerk autostandonduck off
/keypress esc
/delay 10 !${Target.ID}
/keypress duck
/delay 3
/delay 10 ${Me.Ducking}
/varset MustDuck 1
/if (${Me.Ducking}) /gs I Ducked!
/delay 12s
}
/doevents flush KDDuck
/return
Sub Event_KDNoDuck
/if (!${Defined[MustDuck]}) /declare MustDuck int outer 0
/if (${Me.Ducking}) {
/keypress duck
/delay 3
/delay 10 !${Me.Ducking}
/varset MustDuck 0
/gs Standing Right Now!
/if (${Me.Class.ShortName.Equal[BER]}) /zerk autostandonduck on
}
/doevents flush KDNoDuck
/return
2nd Step, VERY IMPORTANT, your spell_routines.inc has the autostand function that prolly screwed your duck..
Search Duck in your spell_routines.inc, there should be 2 lines of it, change them into the following (add !${MustDuck} into the condition):
Line under Sub Cast,
/if (${Me.Ducking}&&!${MustDuck}) /keypress duck
Line under Sub WaitCast,
/if (${Me.State.Equal[DUCK]}&&!${MustDuck}) {
/varset castReturn CAST_CANCELLED
/stand
}
Save and run your macro, then good to go!

