eLucious 2 Posted June 15, 2019 Share Posted June 15, 2019 Using the fight class editor. How do I make it if the spell ID for shield reflect 23920 is active not to use shield bash? 3.3.5a if it matters. Thanks Link to comment https://wrobot.eu/forums/topic/11404-if-spell-reflect-active-dont-use-shield-bash/ Share on other sites More sharing options...
TheSmokie 242 Posted June 15, 2019 Share Posted June 15, 2019 if (!ObjectManager.Me.HaveBuff("Shield Reflect") && whatever conditions you may want) { Lua.LuaDoString("CastSpellByName('Shield Bash')"); Thread.Sleep(Usefuls.Latency); } this should do the trick. also you can use this code for ranking Shield bash Lua.LuaDoString("CastSpellByName('Shield Bash(Rank #)')"); Link to comment https://wrobot.eu/forums/topic/11404-if-spell-reflect-active-dont-use-shield-bash/#findComment-54562 Share on other sites More sharing options...
eLucious 2 Posted June 16, 2019 Author Share Posted June 16, 2019 I'm incredibly new to coding and don't know where to put this in the fight editor. Does this disable shield bash if shield reflect is active? Thank you Smokie, bw I've joined your discord server. Link to comment https://wrobot.eu/forums/topic/11404-if-spell-reflect-active-dont-use-shield-bash/#findComment-54565 Share on other sites More sharing options...
TheSmokie 242 Posted June 16, 2019 Share Posted June 16, 2019 There should be a option to use C# code in fightclass editor (Sorry i havent really ever touched fightclass editor.) if you wanna make a big step into learning how to write you're own fightclass outside of Fightclass editor, use @Marsbar Guide. Its one of the best and it help me get started. (if you need any help, you are on my discord so dont hesitate to ask me or Tala for help.) Link to comment https://wrobot.eu/forums/topic/11404-if-spell-reflect-active-dont-use-shield-bash/#findComment-54567 Share on other sites More sharing options...
eLucious 2 Posted June 16, 2019 Author Share Posted June 16, 2019 Thanks for the swift reply Smokie, Definitely excited to jump into Marsbar's tutorial and will be doing so this week. I hope to be able to contribute something to the community. Catch you on Discord ? Link to comment https://wrobot.eu/forums/topic/11404-if-spell-reflect-active-dont-use-shield-bash/#findComment-54569 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