Question regarding how to configure items to be used...

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.
LusciousSweet
Noob
Noob
Posts: 3
Joined: 09 Jun 2011, 10:54
Noob?: Yes

Question regarding how to configure items to be used...

#1 Post by LusciousSweet »

Like for Concentration Potions, Awakening Potions, and Berserker potions... i am new bout dis so please help me tnx....
LusciousSweet
Noob
Noob
Posts: 3
Joined: 09 Jun 2011, 10:54
Noob?: Yes

Re: Question regarding how to configure items to be used...

#2 Post by LusciousSweet »

As well goies with the other Pots like Orange potions, Yellow Potions and etc...
LusciousSweet
Noob
Noob
Posts: 3
Joined: 09 Jun 2011, 10:54
Noob?: Yes

Re: Question regarding how to configure items to be used...

#3 Post by LusciousSweet »

}

useSelf_item Orange Potion {
hp < 90%
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 0
notInTown 0
timeout
disabled 0
inInventory
manualAI 0
}

useSelf_item Concentration Potion {
hp
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive EFST_ATTHASTE_POTION1
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 1
notInTown 0
timeout 1800
disabled 0
inInventory
manualAI 0

I wonder if what i have done is correct regarding each setting because when i check my char it hasn't used the said items yet...
benj1320
Moderators
Moderators
Posts: 403
Joined: 25 Aug 2008, 14:56
Noob?: No
Location: CyberOne Building , Eastwood

Re: Question regarding how to configure items to be used...

#4 Post by benj1320 »

for your potions...

inLockOnly 1 - the use useSelf_item block will trigger only and if the bot is inside the lockMap ...

for your concentration potion

whenStatusInactive EFST_ATTHASTE_POTION1 - use Concentration Potion instead of EFST_ATTHASTE_POTION1

timeout 1800- lessen the value ...
“The moon shines to both guilty and innocent alike..”
The Openkore Manual---Global Forum Rules--The Template
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Question regarding how to configure items to be used...

#5 Post by EternalHarvest »

benj1320 wrote:whenStatusInactive EFST_ATTHASTE_POTION1 - use Concentration Potion instead of EFST_ATTHASTE_POTION1
No need for that, both values will work fine and EFST_ATTHASTE_POTION1 will work even if different localization for statuses would be configured.