Butterfly Wing - InInventory

International

Moderator: Moderators

Message
Author
phver
Noob
Noob
Posts: 2
Joined: 15 Aug 2017, 10:11
Noob?: Yes

Butterfly Wing - InInventory

#1 Post by phver »

Hi!

I want my bot to use a Butterfly Wing when it runs out off Orange Potion and trigger the GetAuto Orange Potion.
I'm tryng the InInventory line, but i does not work! If somedoby could help me i'd be happy :D

I'm Using this:

useSelf_item Butterfly Wing {
inInventory Orange Potion = 0
inLockOnly 0
timeout 300
}

getAuto Orange Potion {
minAmount 0
maxAmount 200
passive
}


In case you wanna see my TeleportAuto:

teleportAuto_hp 10
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives 4
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 2500
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 1
teleportAuto_useSkill 3
teleportAuto_useChatCommand
teleportAuto_allPlayers 0
teleportAuto_notPlayers
teleportAuto_atkCount 0
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
teleportAuto_item1
teleportAuto_item2

Thanks in advance!

hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: Butterfly Wing - InInventory

#2 Post by hakore »

Remove useSelf_item.

Enable storageAuto and properly set the other storageAuto_ options

Set saveMap to the correct map and enable saveMap_warpToBuyOrSell and teleportAuto_useItemForRespawn

Make sure also that items_control.txt is properly configured.
Whatever...

phver
Noob
Noob
Posts: 2
Joined: 15 Aug 2017, 10:11
Noob?: Yes

Re: Butterfly Wing - InInventory

#3 Post by phver »

Thank you so much! It works now :)

Post Reply