name: Warm
card_text: If this card is destroyed, send the top 3 cards of your opponent's Deck to the Graveyard.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--deckdes
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetCategory(CATEGORY_DECKDES)
  	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_F)
  	e1:SetCode(EVENT_DESTROYED)
  	e1:SetTarget(s.target)
  	e1:SetOperation(s.operation)
  	c:RegisterEffect(e1)
  end
  function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return true
  	end
  	Duel.SetOperationInfo(0, CATEGORY_DECKDES, nil, 0, 1 - tp, 3)
  end
  function s.operation(e, tp, eg, ep, ev, re, r, rp)
  	Duel.DiscardDeck(1 - tp, 3, REASON_EFFECT)
  end
  
  
source_text: Warm
  If this card is destroyed, send the top 3 cards of your opponent's Deck to the Graveyard.
target_text: -- Warm
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--deckdes
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetCategory(CATEGORY_DECKDES)
  	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_F)
  	e1:SetCode(EVENT_DESTROYED)
  	e1:SetTarget(s.target)
  	e1:SetOperation(s.operation)
  	c:RegisterEffect(e1)
  end
  function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return true
  	end
  	Duel.SetOperationInfo(0, CATEGORY_DECKDES, nil, 0, 1 - tp, 3)
  end
  function s.operation(e, tp, eg, ep, ev, re, r, rp)
  	Duel.DiscardDeck(1 - tp, 3, REASON_EFFECT)
  end
  
  