Module:Traits: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 115: Line 115:
     -- Loop through 2 input traits.
     -- Loop through 2 input traits.
     for trait_count, trait_name in ipairs(traits) do
     for trait_count, trait_name in ipairs(traits) do
        trait_name = trait_name:gsub('Persistent2', 'Persistent');
         local th = tr1:tag('th'):wikitext(trait_name:gsub('Persistent2', 'Persistent') .. ' ' .. skill);
       
         local th = tr1:tag('th'):wikitext(trait_name .. ' ' .. skill);
         local th_effect;
         local th_effect;
         local th_skilltext;
         local th_skilltext;