--Void Cho'Gath function c11000101.initial_effect(c) --banish local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(11000101,0)) e1:SetCountLimit(1,11000101+EFFECT_COUNT_CODE_OATH) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c11000101.target) e1:SetOperation(c11000101.operation) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT_SPSUMMON_SUCCESS) c:RegisterEffect(e2) --Special summon local e3=Effect.CreateEffect(c) e3:SetDescription(aux.Stringid(11000101,1)) e3:SetCategory(CATEGORY_SPECIAL_SUMMON) e3:SetType(EFFECT_TYPE_IGNITION) e3:SetRange(LOCATION_MZONE) e3:SetCountLimit(1) e3:SetTarget(c11000101.target2) e3:SetOperation(c11000101.operation2) c:RegisterEffect(e3) end function c11000101.tgfilter(c) return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x1F4) and c:IsAbleToRemove() end function c11000101.target(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(c11000101.tgfilter,tp,LOCATION_DECK,0,2,nil) end Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,2,tp,LOCATION_DECK) end function c11000101.operation(e,tp,eg,ep,ev,re,r,rp) Duel.Hint (HINT_SELECTMSG,tp,HINTMSG_REMOVE) local g=Duel.SelectMatchingCard(tp,c11000101.tgfilter,tp,LOCATION_DECK,0,2,2,nil) if g:GetCount()<2 then return end Duel.Remove(g,POS_FACEUP,REASON_EFFECT) end function c11000101.filter(c,e,tp) return c:IsSetCard(0x1F4) and c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end function c11000101.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc) if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_HAND) and c11000101.filter(chkc,e,tp) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingTarget(c11000101.filter,tp,LOCATION_HAND,0,1,nil,e,tp) end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) local g=Duel.SelectTarget(tp,c11000101.filter,tp,LOCATION_HAND,0,1,1,nil,e,tp) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0) end function c11000101.operation2(e,tp,eg,ep,ev,re,r,rp) local tc=Duel.GetFirstTarget() if tc:IsRelateToEffect(e) then Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) end end