Module:Pets: Difference between revisions

From Melvor Idle
(Moved to referencing getSkillID in Constants)
(getDungeonBoxPetText: Specific odds handing for Impending Darkness pet)
Line 220: Line 220:
     if dung.name == 'Into the Mist' then
     if dung.name == 'Into the Mist' then
       dropChance = 'Guaranteed after 5 clears'
       dropChance = 'Guaranteed after 5 clears'
    elseif dung.name == 'Impending Darkness Event' then
      dropChance = 'Guaranteed after one clear'
     else
     else
       local odds = pet.obtained.dungeonCompletion[1][2]
       local odds = pet.obtained.dungeonCompletion[1][2]