4,951
edits
Falterfire (talk | contribs) (Added p.getDungeonBoxPetText) |
Falterfire (talk | contribs) (Added override for Into the Mist specifically) |
||
Line 186: | Line 186: | ||
result = result..Icons.Icon({pet.name, type='pet'}) | result = result..Icons.Icon({pet.name, type='pet'}) | ||
local odds = pet.obtained.dungeonCompletion[1][2] | local dropChance = '' | ||
if dung.name == 'Into the Mist' then | |||
dropChance = 'Guaranteed after 5 clears' | |||
else | |||
local odds = pet.obtained.dungeonCompletion[1][2] | |||
dropChance = '1 in '..odds..' ('..Shared.round(100 / odds, 2, 2)..'%)' | |||
end | |||
result = result.."<br/>Drop Chance: "..dropChance | result = result.."<br/>Drop Chance: "..dropChance | ||
end | end |