Use Hiding if Mob on Screen/Range and Cloaking for Moving

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

Runifl
Noob
Noob
Posts: 13
Joined: 03 Sep 2008, 13:54
Noob?: No

Use Hiding if Mob on Screen/Range and Cloaking for Moving

#1 Post by Runifl »

Since my Assassin will receive Leech, I want him to use automatically the skills Hiding and Cloaking.

He should just sit in a certain spot and use Hiding if any monster tries to attack him.
Currently I use the following block:

useSelf_skill Hiding {
lvl 2
sp > 20
aggressives 1
monsters Kaho
inLockOnly 1
notWhileSitting 1
notInTown 1
}

The problem is that he will only try hiding if he will be attacked, like that he will receive damage and might be unhided through the received hit.
Also he uses Hiding just for a very short period (1 sec~) so he will hide and hide and hide.

Also I want him to use the skill Cloaking while he is moving (e.g. after tele because of a deadly hit).

I hope you can help me, I'm still searching for possible solutions in the manuals but can't find anything.
gpcruzer
Noob
Noob
Posts: 5
Joined: 22 Oct 2011, 11:18
Noob?: Yes

Re: Use Hiding if Mob on Screen/Range and Cloaking for Moving

#2 Post by gpcruzer »

For your hiding problem,
try this:
http://www.openkore.com/index.php/Target_dist
Hope that helps :)
madnoh
Plain Yogurt
Plain Yogurt
Posts: 55
Joined: 09 Sep 2011, 18:04
Noob?: Yes
Location: Malaysia

Re: Use Hiding if Mob on Screen/Range and Cloaking for Moving

#3 Post by madnoh »

Runifl wrote:Since my Assassin will receive Leech, I want him to use automatically the skills Hiding and Cloaking.

He should just sit in a certain spot and use Hiding if any monster tries to attack him.
Currently I use the following block:

useSelf_skill Hiding {
lvl 2
sp > 20
aggressives 1
monsters Kaho
inLockOnly 1
notWhileSitting 1
notInTown 1
}

The problem is that he will only try hiding if he will be attacked, like that he will receive damage and might be unhided through the received hit.
Also he uses Hiding just for a very short period (1 sec~) so he will hide and hide and hide.

Also I want him to use the skill Cloaking while he is moving (e.g. after tele because of a deadly hit).

I hope you can help me, I'm still searching for possible solutions in the manuals but can't find anything.

Bro Try This .. maybe can help u

useSelf_skill Hiding {
lvl 10
sp > 10%
aggressives 6 << u can change it
stopWhenHit 1
inLockOnly 1


useSelf_skill Cloaking {
lvl 10
sp > 10%
aggressives 3
inLockOnly 1
notInTown 1