Skip to content

Commit

Permalink
Update Crushto.lua
Browse files Browse the repository at this point in the history
Added Slave Watcher Crushto ability "Earth Crush", although I fail to enable options to chose soundeffect.
I have simply copied the function of "Wild Slam" ability (for which I have the option of chosing soundeffect) but still can't get it to work
  • Loading branch information
Archont1978 authored Jan 29, 2024
1 parent 509329d commit e47ee6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WoD/BloodmaulSlagMines/Crushto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ function mod:GetOptions()
return {
150753, -- Wild Slam
150759, -- Ferocious Yell
153679, -- Earth Crush
{150751, "FLASH", "ICON"}, -- Crushing Leap
}
end

function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "FerociousYell", 150759)
self:Log("SPELL_CAST_START", "WildSlam", 150753)
self:Log("SPELL_CAST_START", "EarthCrush", 153679)
self:Log("SPELL_AURA_APPLIED", "CrushingLeap", 150751)
self:Log("SPELL_AURA_REMOVED", "CrushingLeapOver", 150751)
end
Expand All @@ -52,6 +54,10 @@ function mod:WildSlam(args)
self:MessageOld(args.spellId, "yellow", "long")
end

function mod:EarthCrush(args)
self:MessageOld(args.spellId, "yellow", "long")
end

function mod:CrushingLeap(args)
self:TargetMessageOld(args.spellId, args.destName, "red", "alert")
self:TargetBar(args.spellId, 8, args.destName)
Expand Down

0 comments on commit e47ee6d

Please sign in to comment.