Jump to content

If Spell Reflect active don't use shield bash


Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

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
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...