Skip to content

Commit

Permalink
Add coord command usefull to orverride current coord
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed May 9, 2024
1 parent 2a470ec commit 963f31a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function AprRC.command:SlashCmd(input)
print("|cffeda55f/aprrc addjob |r- " .. "LearnProfession")
print("|cffeda55f/aprrc button, btn |r- " .. "Button")
print("|cffeda55f/aprrc class |r- " .. "Class")
print("|cffeda55f/aprrc coord |r- " .. "Coord")
print("|cffeda55f/aprrc donedb |r- " .. "DoneDB")
print("|cffeda55f/aprrc eta |r- " .. "ETA")
print("|cffeda55f/aprrc export |r- " .. "To export data")
Expand Down Expand Up @@ -76,6 +77,11 @@ function AprRC.command:SlashCmd(input)
print("|cff00bfffLearnProfession|r Added")
end)
return
elseif inputText == "coord" then
local currentStep = AprRC:GetLastStep()
AprRC:SetStepCoord(currentStep, currentStep.Range)
print("|cff00bfffCoord|r Added")
return
elseif inputText == "range" then
AprRC.questionDialog:CreateEditBoxPopupWithCallback("Range (number)", function(text)
local currentStep = AprRC:GetLastStep()
Expand Down

0 comments on commit 963f31a

Please sign in to comment.