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

Weaponmastery Focus Switch

KresslackKresslack Florida, United StatesMember Posts: 5,629 @@ - 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 Caer WitrinMember Posts: 2,659 @@ - Legendary Achaean
    edited March 17
    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...

    image

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

  • SobriquetSobriquet Member Posts: 1,251 @@ - 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()
    local weaponmode = "" weaponmode = weaponmode ..weapon
    if weaponmode == "hammer" then
    send("setalias pulvll stand/battlefury perceive " ..target.. "/battlefury focus " ..focus.."/pulverise " ..target.. " left leg/recover footing") send("clearqueue eqbal") send("queue add eqbal pulvll")
    elseif weaponmode == "sword" then
    send("setalias hewll stand/wipe sword/envenom sword with curare/battlefury perceive " ..target.. "/battlefury focus " ..focus.."/hew " ..target.. " left leg/recover footing") send("clearqueue eqbal") send("queue add eqbal hewll")
    else
    send("setalias rendll stand/envenom claws with curare/ dragoncurse " ..target.. " sensitivity 3/rend " ..target.. " left leg/breathgust " ..target) send("clearqueue eqbal") send("queue add eqbal rendll")
    end -- ifend -- function


    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: 5,629 @@ - Legendary Achaean
    Thank you! Both work quite well and are just what I needed.


    SobriquetShirszae
Sign In to Comment.