Module:Pets: Difference between revisions

Skill link try 2
(Turn petSideBar skill into link)
(Skill link try 2)
Line 79: Line 79:
   local name = args.name ~= nil and args.name or args[1]
   local name = args.name ~= nil and args.name or args[1]
   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 skillLink = '{{Skill|'
   local skill = args.skill ~= nil and args.skill or skillLink..Skills.getSkillName(pet.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