check for rupture talent

This commit is contained in:
pepopo978
2025-08-21 16:15:41 -07:00
parent 680c9ad380
commit 03a38fd4b8
2 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
## Interface: 11200
## Title: [|CFF33AAFFSUPERWOW|R] Cursive 2.4.6
## Title-zhCN: [|CFF33AAFFSUPERWOW|R] Cursive 2.4.6
## Title: [|CFF33AAFFSUPERWOW|R] Cursive 2.4.7
## Title-zhCN: [|CFF33AAFFSUPERWOW|R] Cursive 2.4.7
## Author: Pepopo
## Notes: Uses SuperWoW GUIDs to show units in combat and track curses
## Notes-zhCN: 使用SuperWoW的GUID功能来显示战斗中的单位并监视诅咒等
+8 -1
View File
@@ -9,7 +9,14 @@ function getGougeDuration()
end
function getRuptureDuration()
return 6 + GetComboPoints() * 2
local duration = 6 + GetComboPoints() * 2
local _, _, _, _, count = GetTalentInfo(1, 10)
if count and count > 0 then
return duration + (count * 2)
end
return duration
end
function getKidneyShotDuration()