name: Self-Destruct
card_text: You can only activate this card while your Life Points are lower than your opponent's Life Points and the difference is 7000 points or more. Both players' Life Points become 0.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_FREE_CHAIN)
  	e1:SetCondition(s.condition)
  	e1:SetOperation(s.activate)
  	c:RegisterEffect(e1)
  end
  function s.condition(e, tp, eg, ep, ev, re, r, rp)
  	return Duel.GetLP(tp) <= Duel.GetLP(1 - tp) - 7000
  end
  function s.activate(e, tp, eg, ep, ev, re, r, rp)
  	Duel.SetLP(tp, 0)
  	Duel.SetLP(1 - tp, 0)
  end
  
  
source_text: Self-Destruct
  You can only activate this card while your Life Points are lower than your opponent's Life Points and the difference is 7000 points or more. Both players' Life Points become 0.
target_text: -- Self-Destruct
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_FREE_CHAIN)
  	e1:SetCondition(s.condition)
  	e1:SetOperation(s.activate)
  	c:RegisterEffect(e1)
  end
  function s.condition(e, tp, eg, ep, ev, re, r, rp)
  	return Duel.GetLP(tp) <= Duel.GetLP(1 - tp) - 7000
  end
  function s.activate(e, tp, eg, ep, ev, re, r, rp)
  	Duel.SetLP(tp, 0)
  	Duel.SetLP(1 - tp, 0)
  end
  
  