在下的图鉴中有一只宝可梦的特性叫做“多见之身”,效果是“这只宝可梦的攻击会打两次,第二次造成第一次50%伤害,并且连续伤害技能必定打四次”
还有“飞渡之身”,当这只宝可梦死后,下一只上场继承全部提升。
我想知道这两个特新该如何实现
			
			还有“飞渡之身”,当这只宝可梦死后,下一只上场继承全部提升。
我想知道这两个特新该如何实现
if attacker.hasAbility?(:MULTIHEADBODY)
  # Hit twice, with the second hit dealing 50% damage
  pbDisplayBrief(_INTL("{1} hit {2} times!", move.name, hits))
  # Adjust damage for the second hit
  pbDisplay(_INTL("The second hit dealt {1} damage!", baseDmg/2))
  # Apply damage for the second hit
  pbReduceHP(attacker,baseDmg/2,false)
end
 
				
		