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.

How to use trinket

Featured Replies

On your class fight, add the line "UseInventoryItem( 13 )" if the trinket is the one on top, or 14 if it's the one one the bottom. That also works for any equip, rings, bracers, etc. Don't forget to set a timer and/or conditions if needed.

Also, make sure to turn on the option "Not spell, is lua script" for that.

http://wow.gamepedia.com/File:InventorySlots.jpg

 

asssssssssd.png

http://wow.gamepedia.com/File:InventorySlots.jpg

I used this snippet in my old fightclasses

SinisterStrike (1792) is just to check, if the target is in range. Use a spell of your spellbook which have the same range as the trinket.

 

    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>LuaScript</ContionType>
          <Param xsi:type="FightClassConditionLua">
            <LuaScript>
if UnitExists("target") then
	if not UnitIsFriend("player", "target") and not UnitIsDead("target") then
		if not IsStealthed() then
				local slot="Trinket0Slot"
				local SinisterStrike=GetSpellInfo(1752)
				if (GetComboPoints("player") > 0) and (IsSpellInRange(SinisterStrike,"target")==1) then
					local slotId, texture, checkRelic = GetInventorySlotInfo(slot)
					local itemId = GetInventoryItemID("player", slotId)
					local start, duration, enable = GetItemCooldown(itemId)
					if (duration==0) then
						UseInventoryItem( slotId );
						result=true
					end
				end
		end
	end
end
			</LuaScript>
            <VarRet>result</VarRet>
            <ValueRet>true</ValueRet>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>--use 13 (first trinket)</SpellName>
      <CombatOnly>false</CombatOnly>
      <CastIfMounted>true</CastIfMounted>
      <CheckIfKnow>false</CheckIfKnow>
      <CheckIfSpellUsable>false</CheckIfSpellUsable>
      <CheckSpellDistance>false</CheckSpellDistance>
      <AddToSettings>true</AddToSettings>
      <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
      <CanMoveDuringCast>Yes</CanMoveDuringCast>
      <DescriptionSpell>/use 13</DescriptionSpell>
    </FightClassSpell>

 

On 10/1/2016 at 11:01 PM, Bugreporter said:

I used this snippet in my old fightclasses

SinisterStrike (1792) is just to check, if the target is in range. Use a spell of your spellbook which have the same range as the trinket.

 


    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>LuaScript</ContionType>
          <Param xsi:type="FightClassConditionLua">
            <LuaScript>
if UnitExists("target") then
	if not UnitIsFriend("player", "target") and not UnitIsDead("target") then
		if not IsStealthed() then
				local slot="Trinket0Slot"
				local SinisterStrike=GetSpellInfo(1752)
				if (GetComboPoints("player") > 0) and (IsSpellInRange(SinisterStrike,"target")==1) then
					local slotId, texture, checkRelic = GetInventorySlotInfo(slot)
					local itemId = GetInventoryItemID("player", slotId)
					local start, duration, enable = GetItemCooldown(itemId)
					if (duration==0) then
						UseInventoryItem( slotId );
						result=true
					end
				end
		end
	end
end
			</LuaScript>
            <VarRet>result</VarRet>
            <ValueRet>true</ValueRet>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>--use 13 (first trinket)</SpellName>
      <CombatOnly>false</CombatOnly>
      <CastIfMounted>true</CastIfMounted>
      <CheckIfKnow>false</CheckIfKnow>
      <CheckIfSpellUsable>false</CheckIfSpellUsable>
      <CheckSpellDistance>false</CheckSpellDistance>
      <AddToSettings>true</AddToSettings>
      <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
      <CanMoveDuringCast>Yes</CanMoveDuringCast>
      <DescriptionSpell>/use 13</DescriptionSpell>
    </FightClassSpell>

 

Hi and ty for your replies it was what you said i had the wrong option setup :) all good now.

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.