Jump to content

If Spell Reflect active don't use shield bash


eLucious
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...