Cast spell cript
Moderators: Murderator+, Murderator
Cast spell cript
hey anyone can help to creat script to cast spell in pvp like ,exec Fireball i need with last target nad target self. Who wont help me pleas contact me in msn Legardking@hotmail.com or write in post .
mhmhm dunno if it fit exactly ur mind, but i use it with my tank n my battle, that's a part of my autoload as example:
#### Tank ####
VAR delay_fisso = -300
VAR delay_post = 200
VAR delay_targ = 200
VAR delay_1 = delay_fisso + 100
VAR delay_2 = delay_fisso + 1000 # 2nd circle
VAR delay_3 = delay_fisso + 1500 # 3th circle
VAR delay_4 = delay_fisso + 2000 # 4th circle
VAR delay_5 = delay_fisso + 2500 # ....
VAR delay_6 = delay_fisso + 3000 # ....
VAR delay_7 = delay_fisso + 3500 # ...
VAR delay_8 = delay_fisso + 4000 # ..
################
SUb Arrow()
Uo.Exec("arm 2; cast 'Magic Arrow'")
Wait (800)
UO.Exec("arm 1")
End Sub
SUb Heal()
Uo.Exec("arm 2; cast 'Heal'")
Wait (800)
UO.Exec("arm 1")
End Sub
Sub Reflect()
Uo.Exec("arm 2; cast 'Magic Reflection'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_5)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub
Sub Froze()
Uo.Exec("arm 2; cast 'Paralyze'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_5)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub
Sub Gate()
Uo.Exec("arm 2; cast 'Gate Travel'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_7)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub
i think u can add on top of each sub
uo.exec("waittargetobject [object]")
for the last/self target (combo with the uo.getid maybe for the last target)
n cut&past the rest if ur shard have "spell channeling" weps
Hope u can find something usefull
#### Tank ####
VAR delay_fisso = -300
VAR delay_post = 200
VAR delay_targ = 200
VAR delay_1 = delay_fisso + 100
VAR delay_2 = delay_fisso + 1000 # 2nd circle
VAR delay_3 = delay_fisso + 1500 # 3th circle
VAR delay_4 = delay_fisso + 2000 # 4th circle
VAR delay_5 = delay_fisso + 2500 # ....
VAR delay_6 = delay_fisso + 3000 # ....
VAR delay_7 = delay_fisso + 3500 # ...
VAR delay_8 = delay_fisso + 4000 # ..
################
SUb Arrow()
Uo.Exec("arm 2; cast 'Magic Arrow'")
Wait (800)
UO.Exec("arm 1")
End Sub
SUb Heal()
Uo.Exec("arm 2; cast 'Heal'")
Wait (800)
UO.Exec("arm 1")
End Sub
Sub Reflect()
Uo.Exec("arm 2; cast 'Magic Reflection'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_5)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub
Sub Froze()
Uo.Exec("arm 2; cast 'Paralyze'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_5)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub
Sub Gate()
Uo.Exec("arm 2; cast 'Gate Travel'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_7)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub
i think u can add on top of each sub
uo.exec("waittargetobject [object]")
for the last/self target (combo with the uo.getid maybe for the last target)
n cut&past the rest if ur shard have "spell channeling" weps
Hope u can find something usefull

In life there's 10 types of pople, one who know the binary numerical system n the one who doesn't...
u haven't to run a function main u just need to set , for example, from the game option macro
F1
Action
say ,exec Heal
where heal is 1 of the name of the sub u previusly prepare for ur spell n it will worck
F1
Action
say ,exec Heal
where heal is 1 of the name of the sub u previusly prepare for ur spell n it will worck

In life there's 10 types of pople, one who know the binary numerical system n the one who doesn't...
Its realy hard to set I have lot problems
DocK pleas contact to me in msn Legardking@hotmail.com or messages in site

DocK pleas contact to me in msn Legardking@hotmail.com or messages in site