name: Tyrant's
card_text: Tribute 2 monsters. Effects of Effect Monsters that activate in the hand or on the field cannot be activated.
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:SetCost(s.cost)
  	c:RegisterEffect(e1)
  	--cannot trigger
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e2:SetCode(EFFECT_CANNOT_ACTIVATE)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetTargetRange(1, 1)
  	e2:SetValue(s.aclimit)
  	c:RegisterEffect(e2)
  end
  function s.cost(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return Duel.CheckReleaseGroup(tp, nil, 2, nil)
  	end
  	local rg = Duel.SelectReleaseGroup(tp, nil, 2, 2, nil)
  	Duel.Release(rg, REASON_COST)
  end
  function s.aclimit(e, re, tp)
  	local loc = re:GetActivateLocation()
  	return (loc == LOCATION_MZONE or loc == LOCATION_HAND) and re:IsActiveType(TYPE_MONSTER)
  end
  
  
source_text: Tyrant's
  Tribute 2 monsters. Effects of Effect Monsters that activate in the hand or on the field cannot be activated.
target_text: -- Tyrant's
  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:SetCost(s.cost)
  	c:RegisterEffect(e1)
  	--cannot trigger
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e2:SetCode(EFFECT_CANNOT_ACTIVATE)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetTargetRange(1, 1)
  	e2:SetValue(s.aclimit)
  	c:RegisterEffect(e2)
  end
  function s.cost(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return Duel.CheckReleaseGroup(tp, nil, 2, nil)
  	end
  	local rg = Duel.SelectReleaseGroup(tp, nil, 2, 2, nil)
  	Duel.Release(rg, REASON_COST)
  end
  function s.aclimit(e, re, tp)
  	local loc = re:GetActivateLocation()
  	return (loc == LOCATION_MZONE or loc == LOCATION_HAND) and re:IsActiveType(TYPE_MONSTER)
  end
  
  