Module:Skill List: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 42: Line 42:
end
end
end
end
 
if getSkill.skill[input].battlename then --For Shin Megami Tensei: Devil Summoner and Shin Megami Tensei: Nine
battlename = '\n|style="text-align:center;"|' .. getSkill.skill[input].battlename
else
battlename = ''
end
if getSkill.skill[input].skilltype then --Magic vs. Extra
skilltype = '\n|style="text-align:center;"|' .. getSkill.skill[input].skilltype
else
skilltype = ''
end
if getSkill.skill[input].damagetype then --Magical vs. Physical
damagetype = '\n|style="text-align:center;"|' .. getSkill.skill[input].damagetype
else
damagetype = ''
end
if game == 'mip' and getSkill.skill[input] and getSkill.skill[input].rpname then
if game == 'mip' and getSkill.skill[input] and getSkill.skill[input].rpname then
rpname = '\n|style="text-align:center;"|' .. getSkill.skill[input].rpname
rpname = '\n|style="text-align:center;"|' .. getSkill.skill[input].rpname
Line 123: Line 141:
end
end
local output = name .. rpname .. cost .. powerlvl .. target .. range .. hit .. power .. crit .. acc .. rank .. description .. rpdescription .. effect .. '\n|-'
local output = name .. rpname .. battlename .. skilltype .. damagetype .. cost .. powerlvl .. target .. range .. hit .. power .. crit .. acc .. rank .. description .. rpdescription .. effect .. '\n|-'
return output
return output
end
end


return p
return p

Navigation menu