Bugreporter 93 Posted January 22, 2014 Share Posted January 22, 2014 How to disable casting while farming ? 00:00:08 - Farm Something > here ; there ; everywhere ; "None" [F] 00:00:11 - Cast Stealth [F] 00:00:11 - Cast Stealth [F] 00:00:11 - Cast Stealth 00:00:14 - Farm successful btw. stealth should not use target and must be work out of combat.... "unlock fps limit" and "improve combat rotation speed" are on. Link to comment https://wrobot.eu/forums/topic/1072-how-to-disable-casting-while-farming/ Share on other sites More sharing options...
Droidz 2738 Posted January 22, 2014 Share Posted January 22, 2014 You can try to use condition "Me in Cast" need = false (this don't launch spell if you launch an spell or use item/object). Link to comment https://wrobot.eu/forums/topic/1072-how-to-disable-casting-while-farming/#findComment-5583 Share on other sites More sharing options...
Bugreporter 93 Posted January 22, 2014 Author Share Posted January 22, 2014 I did this and it didnt work. It also try to cast while mounting.... <FightClassSpell> <SpellName>Stealth</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Stealth</Name> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HostileUnitNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Type>Bigger</Type> <Radius>30</Radius> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>if UnitIsPVP("player") or (UnitInParty("player")==nil) then retV=1; end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>start, duration, enabled = GetSpellCooldown("1784"); </LuaScript> <VarRet>duration</VarRet> <ValueRet>0</ValueRet> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>MeInCast</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>MeIsFlying</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> </FightClassConditions> <Priority>7</Priority> <CombatOnly>false</CombatOnly> <CheckIfKnowUsableDistance>false</CheckIfKnowUsableDistance> <CheckIfView>false</CheckIfView> <DescriptionSpell>Stealth if hostile 30 Yards away. only pvp or solo</DescriptionSpell> </FightClassSpell> Link to comment https://wrobot.eu/forums/topic/1072-how-to-disable-casting-while-farming/#findComment-5584 Share on other sites More sharing options...
nonstop1005 35 Posted January 22, 2014 Share Posted January 22, 2014 not sure what effect it will have but you could add the condition have target to it Link to comment https://wrobot.eu/forums/topic/1072-how-to-disable-casting-while-farming/#findComment-5586 Share on other sites More sharing options...
Bugreporter 93 Posted January 23, 2014 Author Share Posted January 23, 2014 Yes , but I want also to go in stealth without having a target. Just if someone around there. Rogue do this sometimes...;-) Link to comment https://wrobot.eu/forums/topic/1072-how-to-disable-casting-while-farming/#findComment-5594 Share on other sites More sharing options...
Droidz 2738 Posted January 23, 2014 Share Posted January 23, 2014 Yes , but I want also to go in stealth without having a target. Just if someone around there. Rogue do this sometimes...;-) Try to disable option "improve combat rotation speed" Link to comment https://wrobot.eu/forums/topic/1072-how-to-disable-casting-while-farming/#findComment-5595 Share on other sites More sharing options...
Bugreporter 93 Posted February 24, 2014 Author Share Posted February 24, 2014 I think I found the solution. Could it be, that you only check UnitCastingInfo("player") ?This fails if it is a spell like mounting. Please have a look at UnitChannelInfo("player").The difference between this I describe here Droidz 1 Link to comment https://wrobot.eu/forums/topic/1072-how-to-disable-casting-while-farming/#findComment-6325 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