Jump to content

cereeal

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

cereeal's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I solved it by creating two quests. One KillAndLoot to kill the NPCs and one InteractWithNPC to use the item on the dead mobs. I pulse them both and it works.
  2. Thanks Droidz. I tried your code. I don't see the "UseItem(itemId);" anywhere in the log. I attached it to be sure I am not missing something. 19 May 2019 03H29.log.html
  3. I am trying to create a quester profile for the quest Leave our mark: https://www.wowhead.com/quest=12995/leave-our-mark I have been trying to use the "Use item on dead mob ( after looting)" from Snippets codes for quest profiles. I created the quest profile as KillAndLoot with proper hotspots and mobIds. So far I have this as the quest order: PickUp > LeaveOurMark (works fine) RunCode > Thread t = new Thread(() => { uint itemId = 42480; int questId = 12995; while (robotManager.Products.Products.IsStarted) { if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) { if (!Quest.HasQuest(questId)) break; if (ObjectManager.Target.IsValid && ObjectManager.Target.IsDead) { ItemsManager.UseItem(itemId); } } Thread.Sleep(500); } }); t.Start(); Pulse > LeaveOurMark TurnIn > LeaveOurMark The profile just goes to the hotspots, kills the mobs, loots, and moves to next mob. What am I missing here?
  4. I am playing on WoW 3.3.5. I use the following fight class spell to cast "Consume Shadows". It casts fine, but because it's a pet channeled ability it is immediately cancelled because my character starts moving after casting. Is it possible to add some type of wait command after casting? Also, I have seen other places on the forum where people ask about waiting for your pet to have aggro before the fight class rotation begins. It seems "Combat start since ms" is the only answer, but do I need to add that condition to every spell in the rotation? Thanks. <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>PetHealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>Smaller</Type> <Value>50</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>PetIsStunned</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>PetInfluenced</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>PetPossessed</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>PetInCast</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> </FightClassConditions> <SpellName>CastSpell(1, "pet");</SpellName> <Priority>24</Priority> <CombatOnly>false</CombatOnly> <CheckIfKnow>false</CheckIfKnow> <CheckIfSpellUsable>false</CheckIfSpellUsable> <CheckSpellDistance>false</CheckSpellDistance> <CheckIfView>false</CheckIfView> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> <DescriptionSpell>Consume Shadows</DescriptionSpell> </FightClassSpell>
×
×
  • Create New...