bael666 6 Posted May 26, 2016 Share Posted May 26, 2016 Hello all, I'm trying to setup my hunter fightclass to use freezing trap when my player char has aggro when fighting more than 1 mob. The xml section currently looks like this: <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>HaveTarget</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetDistance</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>BiggerOrEqual</Type> <Value>6</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>DistanceMeToPet</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>BiggerOrEqual</Type> <Value>6</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>UnitAttackPlayerNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>1</Number> <Type>BiggerOrEqual</Type> <Radius>5</Radius> </Param> </FightClassCondition> </FightClassConditions> <SpellName>Freezing Trap</SpellName> <Priority>2</Priority> <CheckSpellDistance>false</CheckSpellDistance> <CheckIfView>false</CheckIfView> <CanMoveDuringCast>Yes</CanMoveDuringCast> </FightClassSpell> Basically what I want it to do is cast freezing trap if there is 1 or more hostile units within 5 yards of my hunter, and my target and pet are more than 5 yards away (target attacking pet). But no matter waht I can't get it to cast freezing trap using these conditions, so any help would be appreciated! Also, I've noticed some strange behaviour which is part of the reason I'm trying to add this in. The bot will some times pick a target far away from my char when there are several other targets (included in profile to attack) nearer. The bot will lock on to the distant target, run through all the other mobs aggroing them and keep on going until it attacks it's selected target... I've watched this cause my hunter to pull 5 mobs all at once.... First, why isn't the bot selecting the nearest target, and second, why wouldn't it try and kill mobs it aggrod before attacking it's selected target? Thank Link to comment https://wrobot.eu/forums/topic/3092-fightclass-condition-help/ Share on other sites More sharing options...
BetterSister 367 Posted May 26, 2016 Share Posted May 26, 2016 Just now, bael666 said: The bot will some times pick a target far away from my char when there are several other targets (included in profile to attack) nearer. The bot will lock on to the distant target, run through all the other mobs aggroing them and keep on going until it attacks it's selected target... I've watched this cause my hunter to pull 5 mobs all at once.... First, why isn't the bot selecting the nearest target, and second, why wouldn't it try and kill mobs it aggrod before attacking it's selected target? Known issue bael666 and Runaro 2 Link to comment https://wrobot.eu/forums/topic/3092-fightclass-condition-help/#findComment-14283 Share on other sites More sharing options...
Pasterke 98 Posted May 27, 2016 Share Posted May 27, 2016 This is only possible with c# code. Set your current position and add 5 yards, then cast freezing trap at that postion. Easy stuff. BetterSister 1 Link to comment https://wrobot.eu/forums/topic/3092-fightclass-condition-help/#findComment-14291 Share on other sites More sharing options...
bael666 6 Posted May 27, 2016 Author Share Posted May 27, 2016 13 hours ago, Pasterke said: This is only possible with c# code. Set your current position and add 5 yards, then cast freezing trap at that postion. Easy stuff. Seems that's not true as I now have it working (without C#). Link to comment https://wrobot.eu/forums/topic/3092-fightclass-condition-help/#findComment-14309 Share on other sites More sharing options...
Photogenic 24 Posted July 10, 2017 Share Posted July 10, 2017 On 5/27/2016 at 3:27 PM, bael666 said: Seems that's not true as I now have it working (without C#). Hello, can you please share with us how you got it working? What conditions did you use or how did you do it.. I am having this issue too! Link to comment https://wrobot.eu/forums/topic/3092-fightclass-condition-help/#findComment-29055 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now