Doesn't use Novice Potions

International

Moderator: Moderators

Message
Author
tululu
Noob
Noob
Posts: 2
Joined: 28 Aug 2014, 04:21
Noob?: Yes

Doesn't use Novice Potions

#1 Post by tululu »

Hiya,

It's my first attempt to use openkore, so I hope you excuse it, if this is a stupid mistake.

I've run openkore on a swordsman and while it's working when I login on the field where I want to grind, it seems like the bot fails to use potions. I've added this at the end of my config.txt:

useSelf_item Novice Potion {
hp < 60%
inLockOnly 1
notWhileSitting 1
}

I've tried also just this:
useSelf_item Novice Potion {
hp < 60%
}

and it used it when sitting on savemap.

Anyone0
Noob
Noob
Posts: 7
Joined: 13 Mar 2011, 15:02
Noob?: Yes

Re: Doesn't use Novice Potions

#2 Post by Anyone0 »

useSelf_item Novice Potion, Apple, Carrot {
hp < 50%
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
amuletType
aggressives
monsters
notMonsters
monstersCount
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
inInventory
manualAI 0
}

Cloud
Plain Yogurt
Plain Yogurt
Posts: 86
Joined: 09 Apr 2008, 13:39

Re: Doesn't use Novice Potions

#3 Post by Cloud »

Don't need %

Code: Select all

useSelf_item Novice Potion {
hp < 60
}

useSelf_item Novice Potion {
hp 60
}


cheapmonks
Noob
Noob
Posts: 6
Joined: 20 Feb 2015, 18:07
Noob?: No

Re: Doesn't use Novice Potions

#4 Post by cheapmonks »

Try to put the line together with the "useSelf_item {" part of the config file.

You can use a value in % or in exact value, both will do the same except the exact value will be very hard to be triggered (esp. if no operators indicated before it).

Post Reply