is there a way to let kore use pots to recover all hp

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
th3_gam3r
Plain Yogurt
Plain Yogurt
Posts: 94
Joined: 15 Nov 2010, 05:41
Noob?: Yes

is there a way to let kore use pots to recover all hp

#1 Post by th3_gam3r »

after botting from a dungeon,
kore teleports back to save point/storage due to death.

so hp is really low. but he doesnt use white pots to recover hp back to max.
instead, kore goes straight to lockmap with very low hp, thus dying and
repeats the process.

is there a way to let kore sit first in a safe place to recover hp or use whites to
get back full hp before going back to lockmap?

thanks
ultragun
Noob
Noob
Posts: 15
Joined: 22 Oct 2010, 21:42
Noob?: Yes

Re: is there a way to let kore use pots to recover all hp

#2 Post by ultragun »

adjust these:

Code: Select all

sitAuto_hp_lower 20  <-- at 20% and lower the bot will sit
sitAuto_hp_upper 100  <-- bot will stand at 100% HP
sitAuto_sp_lower 10 <-- bot will sit at 10% SP
sitAuto_sp_upper 80 <-- bot will stand at 80% SP
you will also need to tell the bot to use potions:

Code: Select all

useSelf_item White Potion {
	hp < 80%  <--- when hp is lower than 80% it will consume white potions
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting
	notInTown 0  
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}
th3_gam3r
Plain Yogurt
Plain Yogurt
Posts: 94
Joined: 15 Nov 2010, 05:41
Noob?: Yes

Re: is there a way to let kore use pots to recover all hp

#3 Post by th3_gam3r »

ultragun wrote:adjust these:

Code: Select all

sitAuto_hp_lower 20  <-- at 20% and lower the bot will sit
sitAuto_hp_upper 100  <-- bot will stand at 100% HP
sitAuto_sp_lower 10 <-- bot will sit at 10% SP
sitAuto_sp_upper 80 <-- bot will stand at 80% SP
will the bot sit "before storage and before going to lockmap?"

you will also need to tell the bot to use potions:

Code: Select all

useSelf_item White Potion {
	hp < 80%  <--- when hp is lower than 80% it will consume white potions
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting
	notInTown 0  
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}
thanks! this is going to be expensive. i set it only to hp < 40% eh.
th3_gam3r
Plain Yogurt
Plain Yogurt
Posts: 94
Joined: 15 Nov 2010, 05:41
Noob?: Yes

Re: is there a way to let kore use pots to recover all hp

#4 Post by th3_gam3r »

is this okay?

sitAuto_hp 20%
sitAuto_hp_upper 100%
sitAuto_sp 20%
sitAuto_sp_upper 100%
sitAuto_idle 1