name: D.3.S.
card_text: "Des Frog" + "Des Frog" + "Des Frog"
  A Fusion Summon of this card can only be conducted with the above Fusion Material Monsters. This card gains 500 ATK for each "Treeborn Frog" in your Graveyard.
external_ids: local CARD_ID_0 = 84451804 --Des Frog
  local CARD_ID_1 = 12538374 --Treeborn Frog
  
lua: local CARD_ID_0 = 84451804 --Des Frog
  local CARD_ID_1 = 12538374 --Treeborn Frog
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCodeRep(c, CARD_ID_0, 3, false, false)
  	--atk
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetCode(EFFECT_UPDATE_ATTACK)
  	e2:SetValue(s.atkval)
  	c:RegisterEffect(e2)
  end
  function s.atkval(e, c)
  	return Duel.GetMatchingGroupCount(Card.IsCode, c:GetControler(), LOCATION_GRAVE, 0, nil, CARD_ID_1) * 500
  end
  
  
source_text: D.3.S.
  "Des Frog" + "Des Frog" + "Des Frog"
  A Fusion Summon of this card can only be conducted with the above Fusion Material Monsters. This card gains 500 ATK for each "Treeborn Frog" in your Graveyard.
target_text: -- D.3.S.
  local CARD_ID_0 = 84451804 --Des Frog
  local CARD_ID_1 = 12538374 --Treeborn Frog
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCodeRep(c, CARD_ID_0, 3, false, false)
  	--atk
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetCode(EFFECT_UPDATE_ATTACK)
  	e2:SetValue(s.atkval)
  	c:RegisterEffect(e2)
  end
  function s.atkval(e, c)
  	return Duel.GetMatchingGroupCount(Card.IsCode, c:GetControler(), LOCATION_GRAVE, 0, nil, CARD_ID_1) * 500
  end
  
  