Loot / Check Buffs by Brozan (Syal)

if not timerexists 'bardLock' createtimer 'bardLock' settimer 'bardLock' 300000 endif #Check for a ship hold if findtype '16019' ground any any 2 true as found dclick found wait 250 restock 2 wait 250 target found endif if findtype '16046' ground any any 2 true as found dclick found wait 250 restock 2 wait 250 target found endif if findtype '15973' ground any any 2 true as found dclick found wait 250 restock 2 wait 250 target found endif if findtype '16057' ground any any 2 true as found dclick found wait 250 restock 2 wait 250 target found endif #check for corpses if findtype 0x2006 'ground' 'any' 1 2 #Check for a blade if findtype '11552' backpack dclicktype '11552' waitfortarget hotkey 'Target Self' else #No blade, open corpses @clearignore while findtype 0x2006 'ground' 'any' 1 2 as 'found' dclick 'found' pause 400 @ignore 'found' endwhile endif endif #SS if we are not necro wait 700 if skill 'Spirit Speak' > 25 hotkey 'Spirit Speak' wait 1050 endif #check buffs #Food check if not findbuff 'food satisfaction' if not findtype tray backpack overhead "I am out of food!" wait 500 overhead "I am out of food!" wait 500 else dclicktype tray backpack wait 350 endif endif #Bless if skill 'Magery' > 50 and not findbuff 'Strength' overhead 'Bless time' cast 'Bless' wft 2500 target self wait 500 endif #Protection if skill 'Magery' > 50 and not findbuff 'Protection' overhead 'Protection time' cast 'Arch Protection' wft 2500 target self wait 500 endif if 'lockDisco' = 0 and skill "discordance" > 50 and timer "bardLock" > 10000 overhead "Disco Buff" skill "discordance" wft 2500 targettype "backpack" settimer "bardLock" 0 setvar 'lockDisco' 1 endif if 'lockProv' = 0 and skill "provocation" > 50 and timer "bardLock" > 10000 overhead "Provo Buff" skill "provocation" wft 2500 targettype "backpack" settimer "bardLock" 0 setvar 'lockProv' 1 endif if 'lockPeace' = 0 and skill "Peacemaking" > 50 and timer "bardLock" > 10000 overhead "Peace Buff" skill "peacemaking" wft 2500 targettype "backpack" settimer "bardLock" 0 setvar 'lockPeace' 1 endif if timer 'bardLock' > 12000 #We did not update any timers so we have cycled all @setvar 'lockProv' 0 @setvar 'lockDisco' 0 @setvar 'lockPeace' 0 endif if skill "taste identification" > 50 and not findbuff "Herbal Poultice" overhead "tasteidentification Buff" skill "tasteid" wft 2500 targettype "backpack" backpack wait 700 endif if skill "camping" > 50 and not findbuff "Campfire Visit" overhead "Need camping buff!" wait 500 overhead "Need camping buff!" wait 500 overhead "Need camping buff!" wait 500 endif script "stayalive2"