chichimaozi 0 Posted February 10 Share Posted February 10 So I am using a ret pally fight class bot for Cata and the condition to use exorcism is to have both "mana percent greater than 65" and the buff "The Art of War" being active. But the character is using exorcism only based on mana percent checking condition. In other words, it uses exorcism whenever mana percentage is greater than 65. Here is the part of code: <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>MeLevel</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>BiggerOrEqual</Type> <Value>35</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>ManaPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>BiggerOrEqual</Type> <Value>65</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>The Art of War</Name> <Need>true</Need> </Param> </FightClassCondition> </FightClassConditions> <SpellName>Exorcism</SpellName> <Priority>12</Priority> This XML code should be correct, so it appears to me that either "The Art of War" is not properly coded at lower level (engine might not correctly check this buff, or maybe the variable name is incorrect at lower level?) or there is something wrong with the "FightClassConditionStringBool" parameter. Is there a document or github link that contains lower-end code displaying how engine behind fightclass functions? So I can adjust fightclass XML code accordingly. BTW I am a computer science student so this is obvious to me. Link to comment https://wrobot.eu/forums/topic/15409-pallys-exorcism-isnt-working-properly/ Share on other sites More sharing options...
Droidz 2738 Posted February 11 Share Posted February 11 Hello, In the development tool (which you can find in the 'Tools' tab), extract the player's buffs and see if he doesn't have a passive buff with the same name (The Art of War). If so, use the buff id rather than the name. Link to comment https://wrobot.eu/forums/topic/15409-pallys-exorcism-isnt-working-properly/#findComment-69167 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