Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pet Buff condition not working

Featured Replies

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

 

This should work. :wink:

    <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>

 

  • Author

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.

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. :wink:

  • Author

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).

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..

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.