Co-authored-by: Szyler <Szyler@Szyler.com>
This commit is contained in:
Szyler
2024-03-03 19:23:13 +01:00
committed by GitHub
parent 00255736e5
commit dc8afd6584
53 changed files with 2770 additions and 301 deletions
+10 -9
View File
@@ -85,16 +85,16 @@ function mod:PositionTwo()
if dance == 1 then
timerPositionTwo:Start(4)
if forward == 1 then
self:ScheduleMethod(4, "PositionThree")
self:ScheduleMethod(4, "PositionThree")
else
self:ScheduleMethod(4, "PositionOne")
self:ScheduleMethod(4, "PositionOne")
end
else
timerPositionTwo:Start(10)
if forward == 1 then
self:ScheduleMethod(10, "PositionThree")
self:ScheduleMethod(10, "PositionThree")
else
self:ScheduleMethod(10, "PositionOne")
self:ScheduleMethod(10, "PositionOne")
end
end
end
@@ -103,19 +103,20 @@ function mod:PositionThree()
if dance == 1 then
timerPositionThree:Start(4)
if forward == 1 then
self:ScheduleMethod(4, "PositionFour")
self:ScheduleMethod(4, "PositionFour")
else
self:ScheduleMethod(4, "PositionTwo")
self:ScheduleMethod(4, "PositionTwo")
end
else
timerPositionThree:Start(10)
if forward == 1 then
self:ScheduleMethod(10, "PositionFour")
else
else
self:ScheduleMethod(10, "PositionTwo")
end
end
end
end
function mod:PositionFour()
forward = 0
if dance == 1 then
@@ -175,7 +176,7 @@ end
function mod:UNIT_DIED(args)
local cid = self:GetCIDFromGUID(args.destGUID)
if cid == 15936 or cid == 26618 then
self:ScheduleMethod(0,"KillPositions")
self:ScheduleMethod(0,"KillPositions")
end
end