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.

IsSpellUsable buggy ?

  • Product: WRobot General
  • Type: Bug
  • Status: Fixed

I'va add the following sequennce to my Combat Rogue Profile. Without "IsSpellUsable" it works fine, but spams Stealth, if it is not ready. With "IsSpellUsable" it do nothing ?!?

(the buildin CheckIfKnowUsableDistance I couldnt use, because stealth doessn't need a target)

    <FightClassSpell>
      <SpellName>Stealth</SpellName>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>Buff</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Stealth</Name>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HostileUnitNear</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Type>Bigger</Type>
            <Radius>30</Radius>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>LuaScript</ContionType>
          <Param xsi:type="FightClassConditionLua">
            <LuaScript>if UnitIsPVP("player") or (UnitInParty("player")==nil) then retV=1; end</LuaScript>
            <VarRet>retV</VarRet>
            <ValueRet>1</ValueRet>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>IsSpellUsable</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Stealth</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <Priority>6</Priority>
      <CombatOnly>false</CombatOnly>
      <CheckIfKnowUsableDistance>false</CheckIfKnowUsableDistance>
      <CheckIfView>false</CheckIfView>
      <DescriptionSpell>Stealth if hostile 30 Yards away. only pvp or solo</DescriptionSpell>
    </FightClassSpell>

User Feedback

Recommended Comments

Bugreporter

Members

start, duration, enabled = GetSpellCooldown(1784);  work

start, duration, enabled = GetSpellCooldown("Stealth");  failed

 

so it is a problem with the name. 

Bugreporter

Members

isSpellUseable works with ID to. testet with 36554 (shadowstep). name doesnt work,

In your log what ID found WRobot for the spell Stealth ?

Bugreporter

Members

It found the right ID 1784

Hello,

 

Wait next update, I have fixed problem (your settings is good).

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.