Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Candidate: Added merge for item quest-info

  • Loading branch information...
commit d693294ef41acced197fd899f6791ceec2abc966 1 parent 0544d27
@ybe authored
Showing with 20 additions and 0 deletions.
  1. +6 −0 LootCount_DropCount.lua
  2. +14 −0 localization.en.lua
View
6 LootCount_DropCount.lua
@@ -4514,6 +4514,9 @@ function DropCount:MergeMOB(mob,strict)
miTable.Best={ Location=iTable.Best.Location, Score=iTable.Best.Score };
end
end
+ if (iTable.Quest) then -- Merge quest data, if any
+ miTable.Quest=DuckLib:CopyTable(iTable.Quest,miTable.Quest);
+ end
DropCount.DB.Item:Write(item,miTable); -- Copy item to target
end
end
@@ -4547,6 +4550,9 @@ function DropCount:MergeMOB(mob,strict)
miTable.Best={ Location=iTable.Best.Location, Score=iTable.Best.Score };
end
end
+ if (iTable.Quest) then -- Merge quest data, if any
+ miTable.Quest=DuckLib:CopyTable(iTable.Quest,miTable.Quest);
+ end
DropCount.DB.Item:Write(item,miTable); -- Copy item to target
end
end
View
14 localization.en.lua
@@ -24092,6 +24092,13 @@ LootCount_DropCount_RemoveData = {
}, -- [1]
},
},
+ ["Sholazar Guardian"] = {
+ ["Quests"] = {
+ {
+ ["Quest"] = "A Timeworn Coffer",
+ }, -- [1]
+ },
+ },
},
["Alliance"] = {
["Leprous Servant"] = {},
@@ -24164,6 +24171,13 @@ LootCount_DropCount_RemoveData = {
}, -- [1]
},
},
+ ["Sholazar Guardian"] = {
+ ["Quests"] = {
+ {
+ ["Quest"] = "A Timeworn Coffer",
+ }, -- [1]
+ },
+ },
},
},
Please sign in to comment.
Something went wrong with that request. Please try again.