罰則金
自分は手札を2枚選んで捨てる。
local s, id, o = GetID()
function s.initial_effect(c)
	--Activate
	local e1 = Effect.CreateEffect(c)
	e1:SetCategory(CATEGORY_HANDES)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
	e1:SetCode(EVENT_FREE_CHAIN)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.IsExistingMatchingCard(nil, tp, LOCATION_HAND, 0, 2, e:GetHandler())
	end
	Duel.SetTargetPlayer(tp)
	Duel.SetOperationInfo(0, CATEGORY_HANDES, nil, 0, tp, 2)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local p = Duel.GetChainInfo(0, CHAININFO_TARGET_PLAYER)
	Duel.DiscardHand(p, nil, 2, 2, REASON_EFFECT + REASON_DISCARD)
end


罰則金
自分は手札を2枚選んで捨てる。
-- 罰則金
local s, id, o = GetID()
function s.initial_effect(c)
	--Activate
	local e1 = Effect.CreateEffect(c)
	e1:SetCategory(CATEGORY_HANDES)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
	e1:SetCode(EVENT_FREE_CHAIN)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.IsExistingMatchingCard(nil, tp, LOCATION_HAND, 0, 2, e:GetHandler())
	end
	Duel.SetTargetPlayer(tp)
	Duel.SetOperationInfo(0, CATEGORY_HANDES, nil, 0, tp, 2)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local p = Duel.GetChainInfo(0, CHAININFO_TARGET_PLAYER)
	Duel.DiscardHand(p, nil, 2, 2, REASON_EFFECT + REASON_DISCARD)
end

