Mới làm đợt đại tu lại code + thêm ít râu ria và đổi tên cái add-on.

link mới :
https://www.dropbox.com/s/mrs6mymqu7xqp85/MyMacro.rar
- - - Updated - - -
Bổ sung thêm opt tự vận Ngưng Thần Tụ Khí khi đang xoay cooldown Lưỡng nghi để tụ thêm 1 ô
- - - Updated - - -
Tạo 1 chỉ lệnh rồi gõ vào đó : /script ThuanDuong() để dùng nhé.
mình đang sài 1 đoạn marco 5doc như sau:
/script local p=GetClientPlayer()
T=GetTargetHandle(p.GetTarget())
MP=p.nCurrentMana*100/p.nMaxMana
AOE={2212,2210,2213,2209,2442,2477,2475,2476,2223,2222}
manarg={2221,2222,2223,2226}
function bu(mb,id,lvl)
for z,x in pairs(mb.GetBuffList() or {}) do
if x.dwID==id and (lvl==nil or x.dwLevel==lvl) then return true end
end return false
end
function bs(mb,id,lvl)
stack=0
for z,x in pairs(mb.GetBuffList() or {}) do
if x.dwID==id and (lvl==nil or x.dwLevel==lvl) then
stack=x.nStackNum
end
end
return stack
end
function use(id)
A,B,C=p.GetSkillCDProgress(id,p.GetSkillLevel(id))
if C==0 then OnAddOnUseSkill(id,p.GetSkillLevel(id)) end
end
function uselist(skillIDs)
for z,x in pairs(skillIDs) do
use(x)
end
end
if not bu(T,2495) then use(2214) end
if not bu(T,2487) and bu(T,2307) then use(2211) end
if MP<70 then uselist(manarg) end
uselist(AOE)
bạn có thể chỉnh thêm cho mình để nó gọi thú ngay sau khi hiến tế k và nếu được thì cho vào cái auto hộ mình được k thank bạn trước