WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /PartyHardy
    from Rev 338 to Rev 339
    Reverse comparison

Rev 338 → Rev 339

PartyHardy.lua
1,4 → 1,4
local version = 0.9
local version = 0.10
 
if not PartyHardyDB then PartyHardyDB = {} end
if not PartyHardyDB.whitelist then PartyHardyDB.whitelist = { [string.lower(UnitName("player"))] = true, } end
67,7 → 67,7
PartyHardy:RegisterEvent("PLAYER_REGEN_ENABLED")
else
for i=1,GetNumCompanions("mount") do
if select(2,GetCompanionInfo("mount",i)) == GetSpellInfo(PartyHardyDB.land) then
if select(3,GetCompanionInfo("mount",i)) == tonumber(PartyHardyDB.land) then
CallCompanion("mount",i)
break
end
79,7 → 79,7
PartyHardy:RegisterEvent("PLAYER_REGEN_ENABLED")
else
for i=1,GetNumCompanions("mount") do
if select(2,GetCompanionInfo("mount",i)) == GetSpellInfo(PartyHardyDB.fly) then
if select(3,GetCompanionInfo("mount",i)) == tonumber(PartyHardyDB.fly) then
CallCompanion("mount",i)
break
end