Integumentary
function displayEntry() { const table = [ {range: [1,4], entry: 'Chronic Acne'}, {range: [5,10], entry: 'Skin Color Difference'}, {range: [11,13], entry: 'Keratin Distribution Difference'}, {range: [14,16], entry: 'Nails Difference'}, {range: [17,21], entry: 'Sweat Difference'}, {range: [22,28], entry: 'Blistering'}, {range: [29,43], entry: 'Hair Growth Difference'}, {range: [44,45], entry: 'Hair Material Difference'}, {range: [46,60], entry: 'Fissures'}, {range: [61,67], entry: 'Hyperelasticity'}, {range: [68,74], entry: 'Paresthesia & Phantom Pain'}, {range: [75,100], entry: 'Rash'} ]; const randomNum = Math.floor(Math.random() * 100) + 1; let selectedEntry = ''; for (const item of table) { if (randomNum >= item.range[0] && randomNum <= item.range[1]) { selectedEntry = item.entry; break; } } document.getElementById('entry').innerHTML = selectedEntry; }
d100 | Trait |
---|---|
01–04 | Chronic Acne |
05–10 | Skin Color Difference |
11–13 | Keratin Distribution Difference |
14–16 | Nails Difference |
17−21 | Sweat Difference |
22–28 | Blistering |
29–43 | Hair Growth Difference |
44–45 | Hair Material Difference |
46–60 | Fissures |
61–67 | Hyperelasticity |
68–74 | Paresthesia & Phantom Pain |
75–100 | Rash |