Sotsiv 5 Posted March 23, 2020 Share Posted March 23, 2020 Hello, i'm using the fight class editor and i really like it. Now i wonder if you will add more conditions for spells using. Especially for focus, "if focus is...", if you'd add it it would be really great ! Thanks in advance ! Link to comment https://wrobot.eu/forums/topic/11974-if-focus-is-casting/ Share on other sites More sharing options...
Droidz 2738 Posted March 25, 2020 Share Posted March 25, 2020 Hello, use c# condition ObjectManager.Me.FocusObj.IsCast Link to comment https://wrobot.eu/forums/topic/11974-if-focus-is-casting/#findComment-57236 Share on other sites More sharing options...
Sotsiv 5 Posted March 28, 2020 Author Share Posted March 28, 2020 thanks, i just tried using it, but it doesn't work if i dont target my focus. What i want to do is that my character use spell "charge" on target=focus when my focus is casting, without targetting focus. Thanks for helping me Link to comment https://wrobot.eu/forums/topic/11974-if-focus-is-casting/#findComment-57271 Share on other sites More sharing options...
Sotsiv 5 Posted March 31, 2020 Author Share Posted March 31, 2020 only works when i target my focus.. so i tried anything i could even if im totally new to code : if ObjectManager.Me.FocusObj.IsCast { SpellManager.CastSpellByNameOn("Shadowstep", ObjectManager.Me.Focus); } But obviously it doesn't work ? Link to comment https://wrobot.eu/forums/topic/11974-if-focus-is-casting/#findComment-57306 Share on other sites More sharing options...
Matenia 628 Posted March 31, 2020 Share Posted March 31, 2020 if ObjectManager.Me.FocusObj.IsCast { SpellManager.CastSpellByNameOn("Shadowstep", "focus"); } TheSmokie 1 Link to comment https://wrobot.eu/forums/topic/11974-if-focus-is-casting/#findComment-57307 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