cdt ecco uno script per trainare necro con la random walking e l'antiblock
a breve inserirņ il manacheck per meditare e altre funzioni
sto provando lo script da stamane e nn ho riscontrato problemi ...se ce ne dovessero essere fatemi sapere ^^
edito per postare la versione 1.1
a breve inserirņ il manacheck per meditare e altre funzioni
;------Necromancy Trainer v 1.1-------------
; Script Modified by Eltazor
;-------------------------------------------
initEvents
set %stepstaken 0
set %countdown 0
set %direction #random % 8
set %dirchange 0
set %walkfail 0
set %lastx #charPosX
set %lasty #charPosY
set %ReStealth_Timer #sCnt
set %quickwait 10
chooseSkill necr
set %necro #SKILL
set %curseweapon 400
set %horrificbeast 600
set %wither 700
set %licheform 1000
chooseSkill spir
set %spirit #SKILL
;------Spell Casting-------------
start:
gosub walk
chooseSkill necr
wait 2s
;-----Cast Curse Weapon------
if #SKILL < %curseweapon
{
set %mana 7
event macro 15 104
}
;-----Cast Horrific Beast---------
if #SKILL < %horrificbeast && #SKILL => %curseweapon
{
set %mana 11
event macro 15 106
}
wait 5s
;-----Cast Wither------------------
if #SKILL < %wither && #SKILL => %horrificbeast
{
set %mana 23
event macro 15 115
}
wait 5s
;-----Cast Liche Form-----------
if #SKILL < %licheform && #SKILL => %wither
{
set %mana 23
event macro 15 107
}
wait 5s
;------ Walk---------------------
sub walk
event sysmessage Walking
wait 1s
set %dirchange ( #random % 2 ) - 1
set %direction %direction + %dirchange
if %direction < 0
set %direction %direction + 8
if %direction > 7
set %direction %direction - 8
set %lastx #charPosX
set %lasty #charPosY
event macro 5 %direction
wait 5
event macro 5 %direction
wait 5
event macro 5 %direction
wait 5
event macro 5 %direction
wait %quickwait
if #charPosX <> %lastx || #charPosY <> %lasty
{
set %stepstaken %stepstaken + 1
set %walkfail 0
set %interval #sCnt - %ReStealth_Timer
set %countdown 11 - %interval
wait %wait
}
else
{
set %walkfail %walkfail + 1
event macro 5 %direction
if #charPosX <> %lastx || #charPosY <> %lasty
{
set %stepstaken %stepstaken + 1
set %walkfail 0
set %interval #sCnt - %ReStealth_Timer
set %countdown 11 - %interval
wait %wait
}
if %walkfail > 3
goto blocked
}
return
blocked:
if %direction < 4
{
set %direction %direction + 4
}
else
{
set %direction %direction - 3
}
return
; Script Modified by Eltazor
;-------------------------------------------
initEvents
set %stepstaken 0
set %countdown 0
set %direction #random % 8
set %dirchange 0
set %walkfail 0
set %lastx #charPosX
set %lasty #charPosY
set %ReStealth_Timer #sCnt
set %quickwait 10
chooseSkill necr
set %necro #SKILL
set %curseweapon 400
set %horrificbeast 600
set %wither 700
set %licheform 1000
chooseSkill spir
set %spirit #SKILL
;------Spell Casting-------------
start:
gosub walk
chooseSkill necr
wait 2s
;-----Cast Curse Weapon------
if #SKILL < %curseweapon
{
set %mana 7
event macro 15 104
}
;-----Cast Horrific Beast---------
if #SKILL < %horrificbeast && #SKILL => %curseweapon
{
set %mana 11
event macro 15 106
}
wait 5s
;-----Cast Wither------------------
if #SKILL < %wither && #SKILL => %horrificbeast
{
set %mana 23
event macro 15 115
}
wait 5s
;-----Cast Liche Form-----------
if #SKILL < %licheform && #SKILL => %wither
{
set %mana 23
event macro 15 107
}
wait 5s
;------ Walk---------------------
sub walk
event sysmessage Walking
wait 1s
set %dirchange ( #random % 2 ) - 1
set %direction %direction + %dirchange
if %direction < 0
set %direction %direction + 8
if %direction > 7
set %direction %direction - 8
set %lastx #charPosX
set %lasty #charPosY
event macro 5 %direction
wait 5
event macro 5 %direction
wait 5
event macro 5 %direction
wait 5
event macro 5 %direction
wait %quickwait
if #charPosX <> %lastx || #charPosY <> %lasty
{
set %stepstaken %stepstaken + 1
set %walkfail 0
set %interval #sCnt - %ReStealth_Timer
set %countdown 11 - %interval
wait %wait
}
else
{
set %walkfail %walkfail + 1
event macro 5 %direction
if #charPosX <> %lastx || #charPosY <> %lasty
{
set %stepstaken %stepstaken + 1
set %walkfail 0
set %interval #sCnt - %ReStealth_Timer
set %countdown 11 - %interval
wait %wait
}
if %walkfail > 3
goto blocked
}
return
blocked:
if %direction < 4
{
set %direction %direction + 4
}
else
{
set %direction %direction - 3
}
return
edito per postare la versione 1.1
Commenta