Quantcast
WoWInterface: SVN - SliceCommander - Path Comparison - / Rev 244 and / Rev 245

WoWInterface SVN SliceCommander

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 244 to Rev 245
    Reverse comparison

Rev 244 → Rev 245

trunk/SliceCommander.lua
409,9 → 409,9
if not UnitAffectingCombat("player") then
local alreadyExist = GetMacroBody("SC_TOT")
if alreadyExist then
EditMacro("SC_TOT", "SC_TOT", "INV_MISC_QUESTIONMARK", "/cast [@"..SC.SET.TOTTarget..",modifier:alt] [help] [@targettarget, help][@none,@="..SC.SET.TOTTarget.."] "..GetSpellInfo(SC_SPELL['TOT']), 1, 1)
EditMacro("SC_TOT", "SC_TOT", "INV_MISC_QUESTIONMARK", "#showtooltip\n/cast [@"..SC.SET.TOTTarget..",modifier:alt] [help] [@targettarget, help][@none,@"..SC.SET.TOTTarget.."] "..GetSpellInfo(SC_SPELL['TOTCD']), 1, 1)
else
CreateMacro("SC_TOT", "INV_MISC_QUESTIONMARK", "/cast [@"..SC.SET.TOTTarget..",modifier:alt] [help] [@targettarget, help][@none,@="..SC.SET.TOTTarget.."] "..GetSpellInfo(SC_SPELL['TOT']), 1, 1)
CreateMacro("SC_TOT", "INV_MISC_QUESTIONMARK", "#showtooltip\n/cast [@"..SC.SET.TOTTarget..",modifier:alt] [help] [@targettarget, help][@none,@"..SC.SET.TOTTarget.."] "..GetSpellInfo(SC_SPELL['TOTCD']), 1, 1)
end
end
end
910,10 → 910,24
elseif command == "eyefinity" and tonumber(rest) then
SC.SET.eyefinity = rest
ReloadUI()
elseif command == "tot" and tostring(rest) then
SC.SET.TOTTarget = rest
SliceCommander:CreateTOTMacro()
print(L['Macro update'])
elseif command == "tot" then
if rest == nil or rest == '' or not tostring(rest) then
name, realm = UnitName("target")
if name then
rest = name
if realm then
rest = name..'-'..realm
end
end
end
if rest and tostring(rest) then
rest = tostring(rest)
SC.SET.TOTTarget = rest
SliceCommander:CreateTOTMacro()
print(L['Macro update'])
else
print(L['Macro update failed!'])
end
elseif command == "resolution" and tostring(rest) then
SC.SET.fixedResolution = rest
ReloadUI()