Log in

View Full Version : Using conds/spells only when monsters on screen.



king_adam
06-11-2016, 16:28
Hi, i'm using blackd on custom 7.72 server, where I can use one spell in 1 second. So basically, if I'm using setSpellKill in cavebot my character gets exhausted spaming heal and attack spell or using attack spell instead of heal spell and I die :mad:. One way to avoid it, its setting my spells in CONDs, here's what it looks:

$myhp$
#number<=#
75
0
500
0
HEALING SPELL
$myhp$
#number>=#
75
0
500
0
ATTACK SPELL

but bot is using it all the time, here's my question how can I make it to use this setting only when monsters are on screen, for example 3 sqm from me?
And another question. Can I make my character to stand front to attacked monster?

Thanks for help. ;):p

oclipper
06-11-2016, 21:10
1- "to stand front to attacked monster"
> set 'exori vis' to the monster you want to, I think its possible to change the spell somewhere on blackd txt files.

2- "make it to use this setting only when monsters are on screen"
> you may set a custom variable to turn on/off this condition, and set it on spell kill (intead spell you put the custom var to set it on).
or > you may create a condition to attack only if creature hp > 0, something like the 'exori vis' conditional somewhere in this forum.

king_adam
06-11-2016, 21:54
So I find var $bestenemy$, $bestenemyhp$ I wonder if and how I can set in Cavebot creature to attack as $bestenemy$ then in conds $bestenemyhp$ > 0

oclipper
06-11-2016, 22:18
remember that this bot does not recognize the difference between npc/monster/player/pk.

usefull links:
http://www.blackdtools.net/showthread.php?33533-EPIC-Cond-Exori-Strike!-NO-EXHAUST-FOR-WAND!-NO-WASTE-WHEN-MONSTER-DIES!-100-WORKS!

http://www.blackdtools.net/showthread.php?4451-How-to-change-exori-vis-to-exori-mort-or-something-else