4,951
edits
Falterfire (talk | contribs) (Moving SpecialFishingTable over to Skills) |
Falterfire (talk | contribs) (Fixed other change to specialFishWt) |
||
Line 51: | Line 51: | ||
end | end | ||
local result = ' | local result = 'p.specialFishWt = '..totalWt..'\r\n' | ||
result = result..' | result = result..'p.specialFishLoot = {'..table.concat(lootArray, ', ')..'}' | ||
return result | return result | ||
end | end | ||
Line 1,398: | Line 1,398: | ||
local fishSource = '[[Fishing#Special|Special]]' | local fishSource = '[[Fishing#Special|Special]]' | ||
local fishType = Icons.Icon({'Fishing', type='skill'}) | local fishType = Icons.Icon({'Fishing', type='skill'}) | ||
local thisChance = (item.fishingCatchWeight / specialFishWt) * 100 | local thisChance = (item.fishingCatchWeight / p.specialFishWt) * 100 | ||
table.insert(dropRows, {source = fishSource, type = fishType, minqty = 1, qty = 1, chance = thisChance}) | table.insert(dropRows, {source = fishSource, type = fishType, minqty = 1, qty = 1, chance = thisChance}) | ||
end | end |