Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MMBot Lightning Trapsin script
#1
I have seen a few requests for a lightning trapsin script, and configured the old sorc script to use a trap assassin. You may want to mess around with the "Timeout_Attack" delay to prevent it from taking too long, but it is up to the user. Any questions or comments, feel free to post or pm me

[VARS]

;=============================================================================
;Lightning Trap Assassin Script for Eldritch, Pindle, and Shenk
;=============================================================================

;==============================================================================
; Skill Hotkeys
;==============================================================================
@TP_Scroll_Key = F6 ;Town Portal Key
@Teleport_Key = F3 ; Teleport Skill Key
@LS_Key = F1 ; Lightning Sentry Skill Key
@Blade_Shield_Key = F4 ; Blade Skill Key (put a blank if you dont have)
@Fade_Key = F5 ; Fade Skill Key (put a blank if you dont have)
@Battle_Commands_Key = F7 ; Battle Commands Skill Key (leave blank if you dont have)
@Battle_Orders_Key = F8 ; Battle Orders Skill Key (leave blank if you dont have)
;==============================================================================
; Delay Settings
;==============================================================================
@Timeout_Attack = 5000 ;Delay for the Assassin to wait for traps to kill
@Random_Delay_Before_Eldritch = 100,200 ; <mini>,<maxi> TOWN random delay (ms.)
@Random_Delay_Before_Pindle = 100,200 ; <mini>,<maxi> TOWN random delay (ms.)
@Wait_End_Of_Teleport_Delay = 1200 ; Delay before retry to teleport (ms.)
@Timeout_Eldritch_Pre_Attack = 4000 ; Maximum primary attack time on Eldritch (ms.)
@Timeout_Shenk_Pre_Attack = 4000 ; Maximum primary attack time on Shenk (ms.)
@Timeout_Pindle_Pre_Attack = 4000 ; Maximum primary attack time on Pindle (ms.)
@Timeout_Eldritch_Attack = 20000 ; Maximum main attack time on Eldritch (ms.)
@Timeout_Shenk_Attack = 20000 ; Maximum main attack time on Shenk (ms.)
@Timeout_Pindle_Attack = 20000 ; Maximum main attack time on Pindle (ms.)
@Pre-Cast_Random_Delay = 300,400 ; Random Delay when casting CTA or Pre-Cast (ms.)
@Attack_Loop_Delay = 100 ; Tweak it to change attacks loop/cast speed (ms.)
@Key_Push_Delay = 100 ; Delay to let the Skills appears at right click (ms.)
@WP_Menu_Delay = 400 ; Delay x2 to wait the WP menu appears at screen.
;==============================================================================



;============================================================
; LS Sin MAIN, The MAIN will call these sequences in order:
;============================================================

[MAIN]
LS_Sin_Town_Pre_Cast, 0
LS_Sin_Town_GoTo_PindleTP, 0
LS_Sin_Will_Use_Cta_OutTown, 0 ; If you dont use CTA comment this sequence with " ; "
LS_Sin_GoTo_Pindle, 0
LS_Sin_Pre_Attack_Pindle, @Timeout_Pindle_Pre_Attack
LS_Sin_Attack_Pindle, @Timeout_Pindle_Attack
LS_Sin_Pindle_Pickit, 0
LS_Sin_BackA5Town, 0
LS_Sin_Town_Goto_Eldritch_Wp, 0
LS_Sin_Will_Use_Cta_OutTown, 0 ; If you dont use CTA comment this sequence with " ; "
LS_Sin_GoTo_Eldritch, 0
LS_Sin_Pre_Attack_Eldritch, @Timeout_Eldritch_Pre_Attack
LS_Sin_Attack_Eldritch, @Timeout_Eldritch_Attack
LS_Sin_Eldritch_Pickit, 0
LS_Sin_FromEldritchGoToShenk, 0
LS_Sin_Pre_Attack_Shenk, @Timeout_Shenk_Pre_Attack
LS_Sin_Attack_Shenk, @Timeout_Shenk_Attack
LS_Sin_Shenk_Corpse_teleport,0
LS_Sin_Attack_Shenk, @Timeout_Shenk_Attack
LS_Sin_Shenk_Pickit, 0
LS_Sin_BackA5Town, 0


; And below all the sequences called above, not necessary in order:


;=====================================
; LS Sin Precast Before Entering Portal
;=====================================
[LS_Sin_Town_Pre_Cast]
SR(@Random_Delay_Before_Eldritch)
K(@Blade_Shield_Key)
S(@Key_Push_Delay)
RC(400,60)
SR(@Pre-Cast_Random_Delay)
K(@Fade_Key)
S(@Key_Push_Delay)
RC(400,60)
SR(@Pre-Cast_Random_Delay)
EXIT

;==============
; Go to Pindle TP
;==============
[LS_Sin_Town_GoTo_PindleTP]
FUNC:A5WPtoATP

;==============
; Teleport to Pindle
;==============
[LS_Sin_GoTo_Pindle]
K(@Teleport_Key)
S(@Key_Push_Delay)
BRC(400,-310)
WEOT(@Wait_End_Of_Teleport_Delay)
RC(735,35)
WEOT(@Wait_End_Of_Teleport_Delay)
BRC(600,-30)
WEOT(@Wait_End_Of_Teleport_Delay)
K(@LS_Key)
S(@Key_Push_Delay)
EXIT

;=================================
; PindleSkin Cast Traps
;=================================
[LS_Sin_Pre_Attack_Pindle]
K(@LS_Key)
RC(600,156)
S(@Key_Push_Delay)
RC(600,156)
S(@Key_Push_Delay)
RC(600,156)
S(@Key_Push_Delay)
RC(600,156)
S(@Key_Push_Delay)
RC(600,156)
S(@Key_Push_Delay)
CLM
CML
CMDEAD
CTOE.

;=====================
; Pindle Wait For Monsters To Die
;=====================
[LS_Sin_Attack_Pindle]
K(@Teleport_Key)
S(@Timeout_Attack)
CLM
CML
CMDEAD
CTOE.

;===============
; Pindle Pickit
;===============
[LS_Sin_Pindle_Pickit]
S(300)
K(@Teleport_Key)
S(@Key_Push_Delay)
RC(560,190)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
S(200)
PICKIT(600)
EXIT

;=============
; BackToTownA5
;=============
[LS_Sin_BackA5Town]
K(@TP_Scroll_Key)
S(@Key_Push_Delay)
FUNC:TOWNTP ; Return to town using tp
FUNC:A5TownPoint ; Check items at malah, merc status, stash, repair etc... And go to A5 Town WP.
EXIT

;==============================================
; LS Sin Goto Frigid Highlands (Eldritch WP)
;==============================================
[LS_Sin_Town_Goto_Eldritch_Wp]
FUNC:A5EWP ; This function will go from A5 Town WP to Eldritch WayPoint.
EXIT

;===============
; Optional: CTA
;===============
[LS_Sin_Will_Use_Cta_OutTown]
S(@WP_Menu_Delay)
SWITCH1 ; Internal SWITCH1 command (Switch to secondary gear).
K(@Battle_Commands_Key)
S(@Key_Push_Delay)
RC(500,60)
SR(@Pre-Cast_Random_Delay)
RC(500,60)
SR(@Pre-Cast_Random_Delay)
K(@Battle_Orders_Key)
S(@Key_Push_Delay)
RC(500,60)
S(@Pre-Cast_Random_Delay)
SWITCH2 ; Internal SWITCH1 command (Switch back to primary gear).
EXIT

;================
; Teleport To Eldritch
;================
[LS_Sin_GoTo_Eldritch]
K(@Teleport_Key)
S(@Key_Push_Delay)
BRC(155,-60)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
BRC(70,-330)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
K(@LS_Key)
S(@Key_Push_Delay)
EXIT

;=====================================
; Eldritch Cast Traps
;=====================================
[LS_Sin_Pre_Attack_Eldritch]
K(@LS_Key)
RCD(395,80)
S(@Key_Push_Delay)
RCD(395,80)
S(@Key_Push_Delay)
RCD(395,80)
S(@Key_Push_Delay)
RCD(395,80)
S(@Key_Push_Delay)
RCD(395,80)
S(@Key_Push_Delay)
CLM
CML
CMDEAD
CTOE

;=============================
; Eldritch Wait For Monsters To Die
;=============================
[LS_Sin_Attack_Eldritch]
K(@Teleport_Key)
S(@Timeout_Attack)
CLM
CML
CMDEAD
CTOE.

;=================
; Eldritch Pickit
;=================
[LS_Sin_Eldritch_Pickit]
S(300)
K(@Teleport_Key)
S(@Key_Push_Delay)
RC(440, 140)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
S(200)
PICKIT(600)
EXIT

;=================
; Teleport To Shenk
;=================
[LS_Sin_FromEldritchGoToShenk]
RC(430, 510)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
RC(430, 510)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
RC(430, 510)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
BRC(300,140)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
BRC(690,330)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
BRC(650,260)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
BRC(360,350)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
RC(747,545)
WEOT(@Wait_End_Of_Teleport_Delay)
CLM
CML
EXIT

;=====================================
; Shenk Cast Traps
;=====================================
[LS_Sin_Pre_Attack_Shenk]
K(@LS_Key)
RC(532,394)
S(@Key_Push_Delay)
RC(532,394)
S(@Key_Push_Delay)
RC(532,394)
S(@Key_Push_Delay)
RC(532,394)
S(@Key_Push_Delay)
RC(532,394)
S(@Key_Push_Delay)
CLM
CML
CMDEAD
CTOE

;=============================
; Shenk Wait For Monsters To Die
;=============================
[LS_Sin_Attack_Shenk]
K(@Teleport_Key)
S(@Timeout_Attack)
CLM
CML
CMDEAD
CTOE.

;=============================================
; Shenk Pickit
;=============================================
[LS_Sin_Shenk_Pickit]
CLM
CML
S(200)
PICKIT(600)
EXIT

;=============
; BackToTownA5
;=============
[LS_Sin_BackA5Town]
K(@TP_Scroll_Key)
S(@Key_Push_Delay)
FUNC:TOWNTP ; Return to town using tp
FUNC:A5TownPoint ; Check items at malah, merc status, stash, repair etc... And go to A5 Town WP.
EXIT
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [D2NT Release] Druid Script skidude 20 17,266 08-25-2012, 01:20 AM
Last Post: comper
  Etal Script for Hdin please? Joel Gonzalez 19 451 08-17-2012, 07:15 AM
Last Post: comper
  elite polearm script wishyq 2 138 08-17-2012, 06:50 AM
Last Post: comper
  help with script plz kaosme69 18 290 07-26-2012, 10:02 AM
Last Post: comper
  ISO : WW Assassin script ww/ls devonfym 3 161 07-21-2012, 02:56 AM
Last Post: comper
  Kolton script wakka help 48Inches 1 136 07-09-2012, 04:44 AM
Last Post: comper
  [D2NT Release] Amazon Jav/Bow Script v1.6 skidude 25 13,079 06-19-2012, 07:05 AM
Last Post: comper
  Skele Nec script? sly- 11 296 06-10-2012, 03:48 AM
Last Post: comper
  Complete Diablo 2 Unique Pickit script for D2Nt bot Jammer74 68 32,349 05-03-2012, 07:01 AM
Last Post: comper
  Bot script help DragonSpirited 1 191 04-06-2012, 09:42 AM
Last Post: comper

Forum Jump:


Users browsing this thread: 1 Guest(s)