Module:Pets: Difference between revisions

no edit summary
(Switch to skill icons)
No edit summary
Line 80: Line 80:
   local pet = p.getPet(name)
   local pet = p.getPet(name)
   --local skill = args.skill ~= nil and args.skill or '{{Skill|'..Skills.getSkillName(pet.skill)..'}}'
   --local skill = args.skill ~= nil and args.skill or '{{Skill|'..Skills.getSkillName(pet.skill)..'}}'
   local skill = args.skill ~= nil and args.skill or Icons.Icon({name, type='skill'})
   local skill = args.skill ~= nil and args.skill or Icons.Icon({Skills.getSkillName(pet.skill), type='skill'})
   local effect = args.effect ~= nil and args.effect or pet.description
   local effect = args.effect ~= nil and args.effect or pet.description
    
    
285

edits