06-25-2015, 06:16 AM
For Player BUffs we got:
HasBUff:
AND Buff Dur:
Missing BUffs:
OR Buff Dur:
Target Buffs: (we missing AndBuffDur)
Has BUff:
Missing Buff:
Or Buff Dur:
We dont have any way to check if a target has buff and its going to run out soon, like we do with player buffs. This would be Perfect for casting Iron Jaws when Windbite is < 5sec. So **=what i added in ffxiv_skillmgr.lua
SKM_TBuff = { default = "", cast = "string", profile = "tbuff", section = "fighting" },
**SKM_TBuffDura = { default = 0, cast = "number", profile = "tbuffdura", section = "fighting" },
SKM_TNBuff = { default = "", cast = "string", profile = "tnbuff", section = "fighting" },
SKM_TNBuffDura = { default = 0, cast = "number", profile = "tnbuffdura", section = "fighting" },
if (not IsNullString(skill.tbuff)) then
local owner = (skill.tbuffowner == "Player") and PID or nil
** local duration = tonumber(skill.tbuffdura) or 0
if not HasBuffs(target, skill.tbuff, tbuffdura, owner) then <<**nil>tbuffdura
return true
end
end
if (not IsNullString(skill.tnbuff)) then
local owner = (skill.tbuffowner == "Player") and PID or nil
local duration = tonumber(skill.tnbuffdura) or 0
if not MissingBuffs(target, skill.tnbuff, duration, owner) then
return true
end
end
Now does anyone know which other part I might have to edit to make Target AND Buff Dura possible?
Otherwise I end up refreshing DoTs way to early @ like 10 seconds.
HasBUff:
AND Buff Dur:
Missing BUffs:
OR Buff Dur:
Target Buffs: (we missing AndBuffDur)
Has BUff:
Missing Buff:
Or Buff Dur:
We dont have any way to check if a target has buff and its going to run out soon, like we do with player buffs. This would be Perfect for casting Iron Jaws when Windbite is < 5sec. So **=what i added in ffxiv_skillmgr.lua
SKM_TBuff = { default = "", cast = "string", profile = "tbuff", section = "fighting" },
**SKM_TBuffDura = { default = 0, cast = "number", profile = "tbuffdura", section = "fighting" },
SKM_TNBuff = { default = "", cast = "string", profile = "tnbuff", section = "fighting" },
SKM_TNBuffDura = { default = 0, cast = "number", profile = "tnbuffdura", section = "fighting" },
if (not IsNullString(skill.tbuff)) then
local owner = (skill.tbuffowner == "Player") and PID or nil
** local duration = tonumber(skill.tbuffdura) or 0
if not HasBuffs(target, skill.tbuff, tbuffdura, owner) then <<**nil>tbuffdura
return true
end
end
if (not IsNullString(skill.tnbuff)) then
local owner = (skill.tbuffowner == "Player") and PID or nil
local duration = tonumber(skill.tnbuffdura) or 0
if not MissingBuffs(target, skill.tnbuff, duration, owner) then
return true
end
end
Now does anyone know which other part I might have to edit to make Target AND Buff Dura possible?
Otherwise I end up refreshing DoTs way to early @ like 10 seconds.