Module:Pets: Difference between revisions

26 bytes removed ,  14 January 2021
Replace | with &#124
(Skill link try 2)
(Replace | with &#124)
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 skillLink = '{{Skill|'
   local skill = args.skill ~= nil and args.skill or '{{Skill&#124'..Skills.getSkillName(pet.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