my bot won't use potions

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
dynasty2k8
Noob
Noob
Posts: 8
Joined: 28 Oct 2009, 23:21
Noob?: No

my bot won't use potions

#1 Post by dynasty2k8 »

hey guys.. it's me again.. i'm just wondering why my bot don't use potions, and please don't flame me for this question, i've already looked everywhere and tried every possible solution but i don't know, it just doesn't use potion, here's my config (item part)

Code: Select all

useSelf_item Novice Potion, Red Potion, Apple, White Potion, Orange Potion {
	hp 50
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout
	disabled 0
	inInventory
	manualAI 0
}
is there anything wrong there?? thank you..

dumbidumdum
Noob
Noob
Posts: 5
Joined: 16 Nov 2010, 11:20
Noob?: Yes

Re: my bot won't use potions

#2 Post by dumbidumdum »

try

hp < 50

benj1320
Moderators
Moderators
Posts: 403
Joined: 25 Aug 2008, 14:56
Noob?: No
Location: CyberOne Building , Eastwood
Contact:

Re: my bot won't use potions

#3 Post by benj1320 »

must have % ...

should be hp < 50%
“The moon shines to both guilty and innocent alike..”
The Openkore Manual---Global Forum Rules--The Template

dynasty2k8
Noob
Noob
Posts: 8
Joined: 28 Oct 2009, 23:21
Noob?: No

Re: my bot won't use potions

#4 Post by dynasty2k8 »

ok that's solves the problem.. thank you.. haven't seen the "<" in any of the sites or solutions i looked over on the web.. thanks..

Locked