Infernity
If you have no cards in your hand, you can activate this card the turn it was Set. When your opponent activates a monster effect while you control an "Infernity" monster: Negate the effect, then, you can inflict damage to your opponent equal to the activating monster's Level x 100. You can only activate 1 "Infernity Suppression" per turn.
local SETCARD_ID_0 = 0xb --Infernity

local SETCARD_ID_0 = 0xb --Infernity
local s, id, o = GetID()
function s.initial_effect(c)
	--activate
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_DISABLE + CATEGORY_DAMAGE)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_CHAINING)
	e1:SetCountLimit(1, id + EFFECT_COUNT_CODE_OATH)
	e1:SetCondition(s.condition)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
	--act in set turn
	local e2 = Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id, 2))
	e2:SetType(EFFECT_TYPE_SINGLE)
	e2:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
	e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
	e2:SetCondition(s.actcon)
	c:RegisterEffect(e2)
end
function s.confilter(c)
	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0)
end
function s.condition(e, tp, eg, ep, ev, re, r, rp)
	if not Duel.IsExistingMatchingCard(s.confilter, tp, LOCATION_MZONE, 0, 1, nil) then
		return
	end
	return ep == 1 - tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainDisablable(ev)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.SetOperationInfo(0, CATEGORY_DISABLE, eg, 1, 0, 0)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local rc = re:GetHandler()
	if Duel.NegateEffect(ev) and rc:IsLevelAbove(1) and Duel.SelectYesNo(tp, aux.Stringid(id, 1)) then
		Duel.BreakEffect()
		local lv = rc:GetLevel()
		if not rc:IsRelateToEffect(re) then
			lv = rc:GetOriginalLevel()
		end
		Duel.Damage(1 - tp, lv * 100, REASON_EFFECT)
	end
end
function s.actcon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), LOCATION_HAND, 0) == 0
end


Infernity
If you have no cards in your hand, you can activate this card the turn it was Set. When your opponent activates a monster effect while you control an "Infernity" monster: Negate the effect, then, you can inflict damage to your opponent equal to the activating monster's Level x 100. You can only activate 1 "Infernity Suppression" per turn.
-- Infernity
local SETCARD_ID_0 = 0xb --Infernity
local s, id, o = GetID()
function s.initial_effect(c)
	--activate
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_DISABLE + CATEGORY_DAMAGE)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_CHAINING)
	e1:SetCountLimit(1, id + EFFECT_COUNT_CODE_OATH)
	e1:SetCondition(s.condition)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
	--act in set turn
	local e2 = Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id, 2))
	e2:SetType(EFFECT_TYPE_SINGLE)
	e2:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
	e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
	e2:SetCondition(s.actcon)
	c:RegisterEffect(e2)
end
function s.confilter(c)
	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0)
end
function s.condition(e, tp, eg, ep, ev, re, r, rp)
	if not Duel.IsExistingMatchingCard(s.confilter, tp, LOCATION_MZONE, 0, 1, nil) then
		return
	end
	return ep == 1 - tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainDisablable(ev)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.SetOperationInfo(0, CATEGORY_DISABLE, eg, 1, 0, 0)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local rc = re:GetHandler()
	if Duel.NegateEffect(ev) and rc:IsLevelAbove(1) and Duel.SelectYesNo(tp, aux.Stringid(id, 1)) then
		Duel.BreakEffect()
		local lv = rc:GetLevel()
		if not rc:IsRelateToEffect(re) then
			lv = rc:GetOriginalLevel()
		end
		Duel.Damage(1 - tp, lv * 100, REASON_EFFECT)
	end
end
function s.actcon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), LOCATION_HAND, 0) == 0
end

