name: Elemental
card_text: "Elemental HERO Heat" + "Elemental HERO Lady Heat"
  Must be Fusion Summoned and cannot be Special Summoned by other ways. If this card battles a WATER monster, this card gains 1000 ATK during the Damage Step only.
external_ids: local CARD_ID_0 = 95362816 --Elemental HERO Lady Heat
  local CARD_ID_1 = 98266377 --Elemental HERO Heat
  
lua: local CARD_ID_0 = 95362816 --Elemental HERO Lady Heat
  local CARD_ID_1 = 98266377 --Elemental HERO Heat
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCode2(c, CARD_ID_1, CARD_ID_0, true, true)
  	--spsummon condition
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
  	e1:SetCode(EFFECT_SPSUMMON_CONDITION)
  	e1:SetValue(aux.fuslimit)
  	c:RegisterEffect(e1)
  	--atkup
  	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:SetCondition(s.atkcon)
  	e2:SetValue(1000)
  	c:RegisterEffect(e2)
  end
  s.material_setcode = 0x8
  function s.atkcon(e)
  	local ph = Duel.GetCurrentPhase()
  	if ph ~= PHASE_DAMAGE and ph ~= PHASE_DAMAGE_CAL then
  		return false
  	end
  	local bc = e:GetHandler():GetBattleTarget()
  	return bc and bc:IsFaceup() and bc:IsAttribute(ATTRIBUTE_WATER)
  end
  
  
source_text: Elemental
  "Elemental HERO Heat" + "Elemental HERO Lady Heat"
  Must be Fusion Summoned and cannot be Special Summoned by other ways. If this card battles a WATER monster, this card gains 1000 ATK during the Damage Step only.
target_text: -- Elemental
  local CARD_ID_0 = 95362816 --Elemental HERO Lady Heat
  local CARD_ID_1 = 98266377 --Elemental HERO Heat
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCode2(c, CARD_ID_1, CARD_ID_0, true, true)
  	--spsummon condition
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
  	e1:SetCode(EFFECT_SPSUMMON_CONDITION)
  	e1:SetValue(aux.fuslimit)
  	c:RegisterEffect(e1)
  	--atkup
  	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:SetCondition(s.atkcon)
  	e2:SetValue(1000)
  	c:RegisterEffect(e2)
  end
  s.material_setcode = 0x8
  function s.atkcon(e)
  	local ph = Duel.GetCurrentPhase()
  	if ph ~= PHASE_DAMAGE and ph ~= PHASE_DAMAGE_CAL then
  		return false
  	end
  	local bc = e:GetHandler():GetBattleTarget()
  	return bc and bc:IsFaceup() and bc:IsAttribute(ATTRIBUTE_WATER)
  end
  
  