isthathim
Junior Member
Posts: 6 Likes: 0
Currently Offline
Last Online: Mar 12, 2015 19:54:08 GMT
View Profile
Registered On: Jan 29, 2015 12:55:15 GMT
|
Post by isthathim on Jan 29, 2015 13:05:02 GMT
Hello,
I was wondering if someone could make this script for me. When a creature is below 10-5% hp, automatically shoot a magic wall on a certain sqm that makes the creature not being able to run away.
Thanks!
|
|
|
Post by Darth Maul on Jan 29, 2015 13:15:31 GMT
|
|
isthathim
Junior Member
Posts: 6 Likes: 0
Currently Offline
Last Online: Mar 12, 2015 19:54:08 GMT
View Profile
Registered On: Jan 29, 2015 12:55:15 GMT
|
Post by isthathim on Jan 29, 2015 13:30:47 GMT
Please look through the forums and search for scripts before asking for help. My bad, will do that next time! Only script is found is this one: "auto 200 | listas 'Stop Attack' | if [$target.hppc < 10 && $monstersaround.5 >= 1] {stopattack | useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 500} | if [$target.hppc > 10] {sd target | wait 500}" Now that one makes me stop attacking and I don't wanna do that tho . I wanna keep attacking the monster, and shoot a quick magic wall inbetween my sds
|
|
|
Post by Darth Maul on Jan 29, 2015 15:30:53 GMT
Try this:
auto 200 | listas 'auto wall/sd' | if [$target.hppc < 10 && $monstersaround.5 >= 1] {useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 2000 | sd target | wait 2000}
|
|
isthathim
Junior Member
Posts: 6 Likes: 0
Currently Offline
Last Online: Mar 12, 2015 19:54:08 GMT
View Profile
Registered On: Jan 29, 2015 12:55:15 GMT
|
Post by isthathim on Jan 29, 2015 15:56:57 GMT
Try this: auto 200 | listas 'auto wall/sd' | if [$target.hppc < 10 && $monstersaround.5 >= 1] {useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 2000 | sd target | wait 2000} It's works 50% of the times so far. Often it's not able to shoot it because I am exhausted by shooting sds. Do I need to put my attack frequency higher or can there be changed something in the script that it prioritizes magic wall before sd? Thanks in advance
|
|
otit
New Member
Posts: 2 Likes: 0
Currently Offline
Last Online: Feb 8, 2022 1:09:24 GMT
View Profile
Registered On: Jan 13, 2015 17:24:54 GMT
|
Post by otit on Jan 29, 2015 18:18:20 GMT
You should try this one.
In HP% you should add the creature hp % when you wanna this script is activated, in rune id you should add the rune id (Magic or Tera Wall) and in XYZ you have to add the coordinates of the sqm.
auto 100 targethplower HP% {useongroundxyz RUNEID X Y Z} How can i know the coordinates?
Just add this script in persistent and stand in the SQM where you want to put the wall
auto 100 listas 'pos x: $posx posy: $posy posz: $posz' I hope this works for you.
|
|
isthathim
Junior Member
Posts: 6 Likes: 0
Currently Offline
Last Online: Mar 12, 2015 19:54:08 GMT
View Profile
Registered On: Jan 29, 2015 12:55:15 GMT
|
Post by isthathim on Jan 29, 2015 22:06:44 GMT
You should try this one. In HP% you should add the creature hp % when you wanna this script is activated, in rune id you should add the rune id (Magic or Tera Wall) and in XYZ you have to add the coordinates of the sqm. auto 100 targethplower HP% {useongroundxyz RUNEID X Y Z} How can i know the coordinates? Just add this script in persistent and stand in the SQM where you want to put the wall auto 100 listas 'pos x: $posx posy: $posy posz: $posz' I hope this works for you. I'll try this one tomorrow. Tho I tried to get the 2nd one working but I don't fully understand it. Could you explain it a little bit better ? Newbie with elfbot here. Thanks in advance!
|
|
|
Post by Darth Maul on Jan 30, 2015 3:25:03 GMT
Hey, try this one.
auto 200 | listas 'auto wall/sd' | if [$target.hppc < 10 && $monstersaround.5 >= 1] {useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 2000 | sd target | wait 2000} if [$target.hppc > 10] {sd target}
If you're trying to use this script make sure you dont have sding set on your targeting. The script I gave you will auto sd, and auto mwall.
|
|
isthathim
Junior Member
Posts: 6 Likes: 0
Currently Offline
Last Online: Mar 12, 2015 19:54:08 GMT
View Profile
Registered On: Jan 29, 2015 12:55:15 GMT
|
Post by isthathim on Jan 30, 2015 12:06:59 GMT
Hey, try this one. auto 200 | listas 'auto wall/sd' | if [$target.hppc < 10 && $monstersaround.5 >= 1] {useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 2000 | sd target | wait 2000} if [$target.hppc > 10] {sd target} If you're trying to use this script make sure you dont have sding set on your targeting. The script I gave you will auto sd, and auto mwall. It's working 7/10 times. The script is sometimes still too busy shooting sd's instead of trying to magic wall as you can see here imgur.com/lBttlnb. Thanks for helping me out and I'd appreciate if you could help me on this last part of the script!
|
|
|
Post by Darth Maul on Jan 30, 2015 12:37:39 GMT
auto 200 | listas 'auto wall/sd' | if [$target.hppc < 10 && $monstersaround.5 >= 1] {useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 2500 | sd target | wait 2500} if [$target.hppc > 10] {sd target | wait 2500}
|
|
isthathim
Junior Member
Posts: 6 Likes: 0
Currently Offline
Last Online: Mar 12, 2015 19:54:08 GMT
View Profile
Registered On: Jan 29, 2015 12:55:15 GMT
|
Post by isthathim on Feb 1, 2015 17:41:12 GMT
auto 200 | listas 'auto wall/sd' | if [$target.hppc < 10 && $monstersaround.5 >= 1] {useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 2500 | sd target | wait 2500} if [$target.hppc > 10] {sd target | wait 2500} Other one is working way better than this one unfortunately =(
|
|
|
Post by Darth Maul on Feb 3, 2015 5:50:13 GMT
Try something like this. (untested)
auto 200 | listas 'auto wall/sd' | if [$target.hppc < 10 && $monstersaround.5 >= 1 && $topitem.$self.posx+6.$self.posy-1.$self.posz != 3180] {useongroundxyz 3180 [$self.posx+6] [$self.posy-1] $self.posz | wait 2500} if [$target.hppc > 10 || ($target.hppc < 10 && $topitem.$self.posx+6.$self.posy-1.$self.posz == 3180)] {sd target | wait 2000}
|
|