Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Weaponmastery Focus Switch

KresslackKresslack Florida, United StatesMember Posts: 6,336 @@ - Legendary Achaean
I was wondering if anyone could advise on how to set up a manual switch to change between Battlefury Focus Speed and Battlefury Focus Precision, and that will preemp attacks with the toggled option.


Comments

  • ShirszaeShirszae Santo DomingoMember Posts: 3,354 @@ - Legendary Achaean
    edited March 2017
    Edit: Ugh. Got distracted and went about the wrong thing. But basically, if you save your attack in a variable like this: 

    rwCommand = "battlefury "..focusFury.."/"..limbAttack.." "..target.." "..tentativeLimbtarget.." "..venom..""

    Then its pretty easy to just make a toogle that switches the value of focusFury from 'focus speed' to 'focus precision' and back again. You can achieve that with a keybinding with a script like this:

    if focusFury == nil or focusFury == "Focus Speed" then
    	focusFury = "Focus Precision"
    	cecho("PRECISE STRIKING INCOMING\n")
    else
    	focusFury = "Focus Speed"
    	cecho("SPEEDY STRIKES INCOMING\n")
    end
    send("clearqueue all",false)

    And you won't understand the cause of your grief...


    ...But you'll always follow the voices beneath.

  • SobriquetSobriquet Member Posts: 2,537 @@ - Legendary Achaean
    I have this as a Keybinding:

    if focus == "precision" or (not focus) then focus = "speed" else focus = "precision" endcecho("\n<yellow> FOCUS is now " ..focus)

     Then, for example, one of my functions is this:


    function Sobhitleftleg()


    No idea how efficient that is as I'm not a strong coder, but it does the job. I have others for different venoms other than curare, weapons (or Dragonform) etc.


    Hope that helps.



    image
  • KresslackKresslack Florida, United StatesMember Posts: 6,336 @@ - Legendary Achaean
    Thank you! Both work quite well and are just what I needed.


    SobriquetShirszae
Sign In to Comment.