Dodging monster skills with hide.

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
CrazyStoner
Human
Human
Posts: 20
Joined: 11 Mar 2010, 00:10
Noob?: Yes

Dodging monster skills with hide.

#1 Post by CrazyStoner »

Im a little rusty with the code.

Can i set up my bot to dodge certain monster spells.
I'm running an assassin which is pure agility.
But the map im running has monsters that cast spells one hit KO spells.

I'm having trouble coding it.
The monsters are casting heal, so i don't want to hide from that.
But they also cast AOE spells i.e. non targeted spells which i want to dodge
and high damage targeted spells.

I can't just teleport away either!

I need a viable hide command

Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Dodging monster skills with hide.

#2 Post by Raider »


vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: Dodging monster skills with hide.

#3 Post by vitriol »

write a macro ~

console /Monster (.+) is casting (.+)/i
call {
if ($.lastMatch2 != Heal) goto hide
stop

:hide
do ss Hide
}

and you can write the unhiding code yourself

Locked