--Hinn,Rose Angel of Fiber VINE local cid,id=GetID() function cid.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetCountLimit(1,id+1000) e1:SetRange(LOCATION_HAND) e1:SetCondition(cid.spcon) c:RegisterEffect(e1) --destroy local e4=Effect.CreateEffect(c) e4:SetDescription(aux.Stringid(id,1)) e4:SetCategory(CATEGORY_ATKCHANGE) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e4:SetProperty(EFFECT_FLAG_CARD_TARGET) e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetTarget(cid.destg) e4:SetOperation(cid.desop) c:RegisterEffect(e4) end function cid.filter(c) return c:IsFaceup() and c:IsAttackAbove(2000) and c:IsRace(RACE_PLANT) end function cid.spcon(e,c) if c==nil then return true end return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and Duel.IsExistingMatchingCard(cid.filter,c:GetControler(),LOCATION_MZONE,0,1,nil) end function cid.filter2(c) return c:IsFaceup() and c:GetAttack()~=c:GetBaseAttack() end function cid.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) if chkc then return chkc:IsLocation(LOCATION_MZONE) and cid.filter2(chkc) end if chk==0 then return Duel.IsExistingTarget(cid.filter2,tp,LOCATION_MZONE,0,1,e:GetHandler()) end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) local g=Duel.SelectTarget(tp,cid.filter2,tp,LOCATION_MZONE,0,1,1,e:GetHandler()) local tc=g:GetFirst() local atk=tc:GetAttack() local batk=tc:GetBaseAttack() end function cid.desop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() local tc=Duel.GetFirstTarget() if tc:IsRelateToEffect(e) and tc:IsFaceup() then local atk=tc:GetAttack() local batk=tc:GetBaseAttack() if batk~=atk then local dif=(batk0 and c:IsRelateToEffect(e) and c:IsFaceup() then local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(dif) e1:SetReset(RESET_EVENT+0x1ff0000) c:RegisterEffect(e1) end end end end