June 8, 20196 yr Hello How Using Wand ( Shoot ) in fightclass? i use it and it work with Hunter but (MAGE-PRIEST) Not work i use Cataclysm Private Server Version Thanks
June 9, 20196 yr Author On 6/8/2019 at 7:14 AM, The Smokie. said: Is it a click or does it autoshoot click
June 9, 20196 yr public Spell wand = new Spell("Shoot"); if (wand.KnownSpell && wand.IsSpellUsable && ObjectManager.Me.ManaPercentage <= 5 && ObjectManager.Me.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.INVSLOT_RANGED) != 0) { wand.Launch(); Usefuls.WaitIsCasting(); return; } This is what i use in my fightclass. if you want anymore help join my discord : https://discord.gg/ppm8Ufc im not always on here and i love helping people learn.
June 9, 20196 yr Author Just now, The Smokie. said: are you using VS or wrobot fightclass editor? fightclass editor
June 9, 20196 yr Tbh i havent really ever messed with editor, if you can message me the profile, i can put it into a dll file for you and add the shooting but i am clueless when it comes to FC editor
June 10, 20196 yr 50 minutes ago, saleh said: thanks Just add "shoot" as a spell name in the editor. It's the same as what MikeMail did above. public Spell wand = new Spell("Shoot"); Here he instances Spell wand as "Shoot". and his code here: MikeMail wand.Launch(); Basically just tells the bot to cast whatever "Wand" is instanced as. In this case Shoot. So in short he is telling the bot to cast the spell Shoot. Which is the same as adding the spell "Shoot" in the FC editor. if (wand.KnownSpell && wand.IsSpellUsable && ObjectManager.Me.ManaPercentage <= 5 && ObjectManager.Me.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.INVSLOT_RANGED) != 0) This here is his conditions. You can add all these in the editor Just look at what comes after Wand. The last bit with GetEquippedItemBySlot is probably not in the editor, but you can add this via "c#" code as a condition. Make sure you add the condition that it should only "cast" if not casting already, otherwise it will shoot, stop shoot, shoot, stop shoot etc. Edited June 10, 20196 yr by Ordush
June 10, 20196 yr Author 1 minute ago, Ordush said: Just add "shoot" as a spell name in the editor. work Only with Hunter
June 10, 20196 yr Just now, saleh said: work Only with Hunter Looked at the extended edit i just made. If "shoot" only works as hunter, then the above code that MikeMail posted won't work either, Because that is EXACTLY what it does. ?
June 10, 20196 yr Author Just now, Ordush said: Looked at the extended edit i just made. If "shoot" only works as hunter, then the above code that MikeMail posted won't work either, Because that is EXACTLY what it does. ? <?xml version="1.0" encoding="utf-8"?> <FightClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FightClassGeneralSettings> <FightClassName>Fight config name</FightClassName> </FightClassGeneralSettings> <FightClassSpells> <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>TargetDistance</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>30</Value> </Param> </FightClassCondition> </FightClassConditions> <SpellName>Shoot</SpellName> <Priority>1</Priority> <Timer>4000</Timer> <CanMoveDuringCast>No</CanMoveDuringCast> </FightClassSpell> </FightClassSpells> </FightClass>
June 10, 20196 yr 1 minute ago, saleh said: <?xml version="1.0" encoding="utf-8"?> <FightClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FightClassGeneralSettings> <FightClassName>Fight config name</FightClassName> </FightClassGeneralSettings> <FightClassSpells> <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>TargetDistance</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>30</Value> </Param> </FightClassCondition> </FightClassConditions> <SpellName>Shoot</SpellName> <Priority>1</Priority> <Timer>4000</Timer> <CanMoveDuringCast>No</CanMoveDuringCast> </FightClassSpell> </FightClassSpells> </FightClass> You just told your code that it should cast "shoot" on mobs that are 30 yards or less from you. You did not add the condition to not cast spells while casting. ?
June 10, 20196 yr Author 4 minutes ago, Ordush said: You just told your code that it should cast "shoot" on mobs that are 30 yards or less from you. You did not add the condition to not cast spells while casting. ? where this Option ?
June 10, 20196 yr Just now, saleh said: where this Option ? Conditions, just like you added the "range" condition, there is one called IsCasting or something like that. ?
June 10, 20196 yr Try and search wand on the forum, i seem to recall that wand is the same as a hunter, being a repeatable action instead of a spell. If memory serves me well and this is the case, then it complicates things a lot for you. I seem to recall Droidz explaining someone how to do though. ?
November 20, 20223 yr The file attached is the Solution for me. You can Import the xml in Fight Class Editor. Priest_YB.xml
Create an account or sign in to comment