Using potions while attacking monster

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

class1c
Human
Human
Posts: 34
Joined: 30 Jun 2012, 03:49
Noob?: Yes

Using potions while attacking monster

#1 Post by class1c »

Brief description of the problem: I am botting a Wizard and having it Fire Bolt aggressive monsters with Phen on. I have it heal after but it's dying a lot because it also needs to use potions mid-battle. It seems like its only using potions after the monster dies which is pointless because that's why I have it heal.

What you have done so far: I've tried making the HP percentages higher but it didn't work.

Portion of config/macros changes that is relevant to the problem:

Code: Select all

useSelf_item Banana,Meat {
	hp < 50%
}

Code: Select all

useSelf_skill Heal {
	lvl 1
	hp < 90%
	aggressives < 1
}

Code: Select all

teleportAuto_hp 5
teleportAuto_sp 5
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives 2
teleportAuto_minAggressivesInLock 2
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 0
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 0
teleportAuto_useSkill 1
teleportAuto_useChatCommand
teleportAuto_allPlayers 1
teleportAuto_atkCount 4
teleportAuto_atkMiss 10
teleportAuto_unstuck 0
teleportAuto_lostTarget 0
teleportAuto_dropTarget 0
teleportAuto_dropTargetKS 0
teleportAuto_attackedWhenSitting 0
teleportAuto_totalDmg 0
teleportAuto_totalDmgInLock 0
teleportAuto_equip_leftAccessory
teleportAuto_equip_rightAccessory
teleportAuto_lostHomunculus
teleportAuto_useItemForRespawn

Code: Select all

attackSkillSlot Fire Bolt {
	lvl 10
	dist 8
	maxCastTime 0.1
	minCastTime 0
	sp > 10
	inLockOnly 1
	notInTown 1
	monsters
	maxUses
}
Any help is appreciated.
KoreGhost
Developers
Developers
Posts: 124
Joined: 28 Mar 2011, 12:48
Noob?: No
Location: Brazil

Re: Using potions while attacking monster

#2 Post by KoreGhost »

Which item is trying to use?

Banana e meat?

Timeouts.txt: try to decrease the time for use of the items.

ai_item_use_auto 0.1