4,951
edits
Falterfire (talk | contribs) (Added getSpecialFishingTable) |
Falterfire (talk | contribs) (Fixed special fishing loot table) |
||
Line 34: | Line 34: | ||
local specialFishWt = 6722 | local specialFishWt = 6722 | ||
local specialFishLoot = {{ | local specialFishLoot = {{128, 2000}, {129, 1600}, {130, 1400}, {131, 1000}, {132, 400}, {667, 10}, {668, 10}, {902, 1}, {670, 1}, {669, 50}, {120, 250}} | ||
function p.buildSpecialFishingTable() | function p.buildSpecialFishingTable() | ||
Line 47: | Line 47: | ||
if item.fishingCatchWeight ~= nil then | if item.fishingCatchWeight ~= nil then | ||
totalWt = totalWt + item.fishingCatchWeight | totalWt = totalWt + item.fishingCatchWeight | ||
table.insert(lootArray, '{'..i..', '..item.fishingCatchWeight..'}') | table.insert(lootArray, '{'..(i - 1)..', '..item.fishingCatchWeight..'}') | ||
end | end | ||
end | end |