bael666 6 Posted May 23, 2016 Share Posted May 23, 2016 Hi, I have a hunter fightclass with the following spell/condition setup for Mend Pet: <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>PetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Mend Pet</Name> </Param> </FightClassCondition> <FightClassCondition> <ContionType>PetHealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>70</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <SpellName>Mend Pet</SpellName> <Priority>8</Priority> <IsBuff>true</IsBuff> <CastOn>pet</CastOn> </FightClassSpell> However, it seems the pet buff condition isn't considered as my hunter will consistently spam Mend Pet as soon as my pet goes below 70% hp [F] 11:01:38 - [Spell] Cast Arcane Shot (Arcane Shot) [F] 11:01:38 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:38 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:39 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:40 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:40 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:40 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:41 - [Spell] Cast Arcane Shot (Arcane Shot) [F] 11:01:41 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:42 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:42 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:43 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:43 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:43 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:45 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:45 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:45 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:45 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:46 - [Spell] Cast Arcane Shot (Arcane Shot) [F] 11:01:46 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:46 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:46 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:48 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:48 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:48 - [Spell] Cast (on pet) Mend Pet (Mend Pet) [F] 11:01:48 - [Spell] Cast (on pet) Mend Pet (Mend Pet) Thanks Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/ Share on other sites More sharing options...
Runaro 160 Posted May 23, 2016 Share Posted May 23, 2016 This should work. <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>PetHealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>70</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <SpellName>Mend Pet</SpellName> <Priority>8</Priority> <CombatOnly>false</CombatOnly> <CheckSpellDistance>false</CheckSpellDistance> <CheckIfView>false</CheckIfView> <Timer>15100</Timer> <CanMoveDuringCast>Yes</CanMoveDuringCast> <LockFrame>false</LockFrame> </FightClassSpell> Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/#findComment-14177 Share on other sites More sharing options...
bael666 6 Posted May 23, 2016 Author Share Posted May 23, 2016 Nice work around, thanks! I was using a "Only cast once per target" condition to prevent the spam but your way is much better! :) Maybe you could help with another problem I'm having - I set a "Vendor" mob in my Grinder profile (this is the vendor that sells the food/drink I'm currently using) - however, when going to town, wrobot just goes to some random nearby vendor to sell stuff, preventing it being able to buy food/drink. Anyway to force it to only use the vendors I've specified? Thanks. Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/#findComment-14194 Share on other sites More sharing options...
Runaro 160 Posted May 23, 2016 Share Posted May 23, 2016 27 minutes ago, bael666 said: Nice work around, thanks! I was using a "Only cast once per target" condition to prevent the spam but your way is much better! :) Maybe you could help with another problem I'm having - I set a "Vendor" mob in my Grinder profile (this is the vendor that sells the food/drink I'm currently using) - however, when going to town, wrobot just goes to some random nearby vendor to sell stuff, preventing it being able to buy food/drink. Anyway to force it to only use the vendors I've specified? Thanks. Just click on "General Settings" - "Enter advanced settings..." - "Other options" and then uncheck "Automatically add nearest NPCs to database". Ofc, clear the NpcDB.xml in the \Data Folder. Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/#findComment-14195 Share on other sites More sharing options...
bael666 6 Posted May 24, 2016 Author Share Posted May 24, 2016 Cool that sorted it! Thanks! Last one now haha! I've made a profile in STV, though when my bags are full and the GoToTown function starts, it tries each of the vendors I've setup (there's 3), says they're all unreachable and goes back to killing stuff. I'm thinking this maybe something to do with the vendors being in booty Bay (guess all those ramps aren't good for the bot). Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/#findComment-14223 Share on other sites More sharing options...
Runaro 160 Posted May 24, 2016 Share Posted May 24, 2016 25 minutes ago, bael666 said: Cool that sorted it! Thanks! Last one now haha! I've made a profile in STV, though when my bags are full and the GoToTown function starts, it tries each of the vendors I've setup (there's 3), says they're all unreachable and goes back to killing stuff. I'm thinking this maybe something to do with the vendors being in booty Bay (guess all those ramps aren't good for the bot). That means, he can't generate a path to the vendor, there's no other solution, then adding another reachable vendor to the profile. I'm not a Staff member, that's why can't provide you any solution for that kind of problem. From my side, i really want the possibility to record my own meshes, so the bot gets usable for dungeons and stuff.. BetterSister 1 Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/#findComment-14224 Share on other sites More sharing options...
masterfluff 2 Posted May 25, 2016 Share Posted May 25, 2016 that would be awesome Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/#findComment-14244 Share on other sites More sharing options...
kodec 3 Posted May 25, 2016 Share Posted May 25, 2016 +1 record own meshes Link to comment https://wrobot.eu/forums/topic/3064-pet-buff-condition-not-working/#findComment-14247 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now