backstabberSetup by tarouca
# THIS SCRIPT DEPENDS FROM:
# COOLDOWNS: Tactics, Weapon Ability, Smoke Bomb, Health Potion, Hiding, Rope
# TO SET THIS COOLDOWNS:
# PAPERDOLL > OPTIONS > COOLDOWNS > NEW ENTRY
# ALL COOLDOWNS SHOULD BE SET AS MENTIONED (Tactics, Weapon Ability, Smoke Bomb, Health Potion, Hiding, Rope)
# ON EACH CHECK: HIDE WHEN INACTIVE, PAUSE DURING WORLD SAVE
# MOUNT TOKEN
# OVERHEAD MESSAGES ARE USEFUL
# TO SETUP OVERHEAD MESSAGES:
# RAZOR > DISPLAY/COUNTERS > OVERHEAD MESSAGES
# CHECK: SHOW
# ADD MESSAGE FOR: stealth steps remaining. WITH OVERHEAD OF: {3} STEPS
# ADD MESSAGE FOR: You feel ready to continue stealthing. WITH OVERHEAD OF: RENEWED
# ADD MESSAGE FOR: You will automatically stealth when out of steps. WITH OVERHEAD OF: RENEWED
# TO SETUP ENSURE YOU EDIT THE backstabberSetup SCRIPT
# ADJUST THE lagTimer_ TO YOUR LIKING OR LEAVE IT AS IS
# ADJUST THE smokeBombCooldown_ TO REFLECT YOUR COOLDOWN (120000 IS THE BASE)
# ADJUST THE useMagery_ TO 0 IF TEMPLATE HAS MAGERY < 60
# IF MAGERY >= 60 INVISIBILITY SCROLLS ARE NEEDED
# REGARDING SERIALS REPLACE XXXXXXXXXX BY THE SERIALS OF YOUR ITEMS:
# IF NOT USING 2 WEAPON SKILLS, SET THE myBow_ WITH THE SAME VALUE AS myMace_
# A MAGICAL WIZARD HAT IS NEEDED TO KEEP A DIFFERENCE IN STAMINA SO THAT ON MOVEMENT CHARACTER WON'T GET OUT OF STEALTH
# SET SERIALS FOR: myMount_, myHeadPiece_, myWizardHat_, myMace_, myBow_
#SETUP
overhead "WAIT FOR: SETUP DONE" 43
setvar lagTimer_ 300
if not timerexists "myTargetOverheadTimer_"
createtimer "myTargetOverheadTimer_"
settimer "myTargetOverheadTimer_" 99999
endif
if not timerexists "proximityOverheadTimer_"
createtimer "proximityOverheadTimer_"
settimer "proximityOverheadTimer_" 99999
endif
if not timerexists "dontWalkOverheadTimer_"
createtimer "dontWalkOverheadTimer_"
settimer "dontWalkOverheadTimer_" 99999
endif
if not timerexists "tacticsOverheadTimer_"
createtimer "tacticsOverheadTimer_"
settimer "tacticsOverheadTimer_" 99999
endif
if not timerexists "staminaControlTimer_"
createtimer "staminaControlTimer_"
settimer "staminaControlTimer_" 99999
endif
if not timerexists "smokeBombOverheadTimer_"
createtimer "smokeBombOverheadTimer_"
settimer "smokeBombOverheadTimer_" 99999
endif
if not timerexists "rangeOverheadTimer_"
createtimer "rangeOverheadTimer_"
settimer "rangeOverheadTimer_" 99999
endif
if not timerexists "engageOverheadTimer_"
createtimer "engageOverheadTimer_"
settimer "engageOverheadTimer_" 99999
endif
setvar myTargetOverheadTimerTarget_ 3000
setvar proximityOverheadTimerTarget_ 3000
setvar dontWalkOverheadTimerTarget_ 2500
setvar tacticsOverheadTimerTarget_ 2500
setvar staminaControlTimerTarget_ 2500
setvar smokeBombOverheadTimerTarget_ 3000
setvar rangeOverheadTimerTarget_ 2500
setvar engageOverheadTimerTarget_ 2500
setvar smokeBombCooldown_ 100000
setvar archeryRange_ 12
setvar useMagery_ 1
setvar weaponAbility_ 3
setvar smokeBombFirst_ 0
setvar myMount_ XXXXXXXXX
setvar myHeadPiece_ XXXXXXXXX
setvar myWizardHat_ XXXXXXXXX
setvar myMace_ XXXXXXXXX
setvar myBow_ XXXXXXXXX
setvar protectedBox_ XXXXXXXXX
setvar loadoutBag_ XXXXXXXXX
overhead "SETUP DONE"