Soandso2
Well-known member
- Joined
- Mar 13, 2023
- RedCents
- 937¢
[CODE lang="Lua" highlight="23-28"]local hostOfTheElements = false
local servantOfRo = false
local companionsFury = false
local mendCompanion = false
while true do
if me.CombatState() == "COMBAT" and target() and utils.goodToGo() then
if me.AltAbilityReady('Host of the Elements')() and not hostOfTheElements then
mq.cmd("/alt act 207")
--mq.cmd("/g Sost of the Elements!")
print("Host of the Elements!")
hostOfTheElements = true
elseif me.AltAbilityReady('Servant of Ro')() and not servantOfRo then
mq.cmd("/alt act 174")
--mq.cmd("/g Servant of Ro!")
print("Servant of Ro!")
servantOfRo = true
elseif me.AltAbilityReady('Mend Companion')() and not mendCompanion and pet.PctHPs() < 20 then
mq.cmd("/alt act 58")
--mq.cmd("/g Mend Companion!")
print("Mend Companiona!")
mendCompanion = true
elseif me.AltAbilityReady("Companion's Fury")() and not companionsFury then
mq.cmd("/alt act 60")
--mq.cmd("/g Companion's Fury!")
print("Companion's Fury!")
companionsFury = true
end
end
if me.CombatState() ~= "COMBAT" then
hostOfTheElements = false
servantOfRo = false
companionsFury = false
mendCompanion = false
end
end[/CODE]
In the above snippet, Host of the Elements and Servant of Ro work as intended and expected. They activate just fine.
However Companion's Fury does not. (Mend Companion has never had a chance to trigger at the time of writing this, so I dont know about that one.)
I don't think this is a programming issue, but some other kind of strange wierdness. I think the issue concerns the actual Alternative Ability and not the code. The AA is listed as Companion's Fury, but the hot button is called Frenzied Burnout, and the effect I get is Frenzied Burnout I. I have tried to change Companion's Fury to Frenzied Burnout and Frenzied Burnout I in the code, but neither works. Does anyone know what is wrong and how it should be?
local servantOfRo = false
local companionsFury = false
local mendCompanion = false
while true do
if me.CombatState() == "COMBAT" and target() and utils.goodToGo() then
if me.AltAbilityReady('Host of the Elements')() and not hostOfTheElements then
mq.cmd("/alt act 207")
--mq.cmd("/g Sost of the Elements!")
print("Host of the Elements!")
hostOfTheElements = true
elseif me.AltAbilityReady('Servant of Ro')() and not servantOfRo then
mq.cmd("/alt act 174")
--mq.cmd("/g Servant of Ro!")
print("Servant of Ro!")
servantOfRo = true
elseif me.AltAbilityReady('Mend Companion')() and not mendCompanion and pet.PctHPs() < 20 then
mq.cmd("/alt act 58")
--mq.cmd("/g Mend Companion!")
print("Mend Companiona!")
mendCompanion = true
elseif me.AltAbilityReady("Companion's Fury")() and not companionsFury then
mq.cmd("/alt act 60")
--mq.cmd("/g Companion's Fury!")
print("Companion's Fury!")
companionsFury = true
end
end
if me.CombatState() ~= "COMBAT" then
hostOfTheElements = false
servantOfRo = false
companionsFury = false
mendCompanion = false
end
end[/CODE]
In the above snippet, Host of the Elements and Servant of Ro work as intended and expected. They activate just fine.
However Companion's Fury does not. (Mend Companion has never had a chance to trigger at the time of writing this, so I dont know about that one.)
I don't think this is a programming issue, but some other kind of strange wierdness. I think the issue concerns the actual Alternative Ability and not the code. The AA is listed as Companion's Fury, but the hot button is called Frenzied Burnout, and the effect I get is Frenzied Burnout I. I have tried to change Companion's Fury to Frenzied Burnout and Frenzied Burnout I in the code, but neither works. Does anyone know what is wrong and how it should be?



