DF Run+MM Gains Macro
Posted: March 12th, 2009, 11:58 am
##Credit for original script goes to TeabagGus. This is an Edited Version **In order for this macro to work, you MUST rebind your autorun toggle hotkey to N.
It was originally G, but change it to N.
You could also probably make it crouch walk in circles by changing N to crouch toggle rather than autoruntoggle.
The number of loops may differ depending on your race/character. If put too high, you can kill yourself. 330 is a safe bet, 360 is doable. and suggested
// This macro will equip your staff, look down at the ground to damage you with the spell while casting and running in circles.
// It will then cast heal self once and rest.
// Change the Loop 330 in SpellCast procedure if you don't have that much mana or health (if looking down).
// Start with your staff equipped but sheathed
//HOTBAR///
//Slot 6 = Heal Self
//Slot 7 = Mana Missile or spell to be cast
//Slot 9 = Rest
//HOTKEY///
//N = Autorun Toggle
// This line is necessary to select the proper window
SetActiveWindow Darkfall Online
Constants
MouseDelay=2900
TurnDelay=50
RestDelay=155000
End
////////////////////////////////////////
Procedure EquipWeapon
Delay 2 sec
Keydown {DOWN} 2 sec // Comment this out if you don't want to look down and hit yourself
Keys R
Delay 1 sec
Keys 7
Delay 1 sec
Keydown N $TurnDelay
Delay $TurnDelay
End
////////////////////////////////////////
Procedure SpellCast
Loop 360
LEFTCLICK
Keys {LEFT}
Delay $TurnDelay
Keys {LEFT}
Delay $TurnDelay
End
Keys N
Delay $MouseDelay
Keys 6
Delay $MouseDelay
LeftClick
Delay 4 sec
End
/////////////////////////////////////////
Procedure Rest
Delay 2 sec
Keys R
Delay 2 sec
Keys 9
Delay 2 sec
LEFTCLICK
Delay $RestDelay
Keys W
Delay 2 sec
End
//Start Macro
Delay 5 sec
Loop 10000
Call EquipWeapon
Call SpellCast
Call Rest
End
It was originally G, but change it to N.
You could also probably make it crouch walk in circles by changing N to crouch toggle rather than autoruntoggle.
The number of loops may differ depending on your race/character. If put too high, you can kill yourself. 330 is a safe bet, 360 is doable. and suggested
// This macro will equip your staff, look down at the ground to damage you with the spell while casting and running in circles.
// It will then cast heal self once and rest.
// Change the Loop 330 in SpellCast procedure if you don't have that much mana or health (if looking down).
// Start with your staff equipped but sheathed
//HOTBAR///
//Slot 6 = Heal Self
//Slot 7 = Mana Missile or spell to be cast
//Slot 9 = Rest
//HOTKEY///
//N = Autorun Toggle
// This line is necessary to select the proper window
SetActiveWindow Darkfall Online
Constants
MouseDelay=2900
TurnDelay=50
RestDelay=155000
End
////////////////////////////////////////
Procedure EquipWeapon
Delay 2 sec
Keydown {DOWN} 2 sec // Comment this out if you don't want to look down and hit yourself
Keys R
Delay 1 sec
Keys 7
Delay 1 sec
Keydown N $TurnDelay
Delay $TurnDelay
End
////////////////////////////////////////
Procedure SpellCast
Loop 360
LEFTCLICK
Keys {LEFT}
Delay $TurnDelay
Keys {LEFT}
Delay $TurnDelay
End
Keys N
Delay $MouseDelay
Keys 6
Delay $MouseDelay
LeftClick
Delay 4 sec
End
/////////////////////////////////////////
Procedure Rest
Delay 2 sec
Keys R
Delay 2 sec
Keys 9
Delay 2 sec
LEFTCLICK
Delay $RestDelay
Keys W
Delay 2 sec
End
//Start Macro
Delay 5 sec
Loop 10000
Call EquipWeapon
Call SpellCast
Call Rest
End