--Ostrich of Doom function c16001002.initial_effect(c) aux.AddOrigEvoluteType(c) c:EnableReviveLimit() aux.AddEvoluteProc(c,nil,4,c16001002.filter1,1) --remove local e4=Effect.CreateEffect(c) e4:SetCategory(CATEGORY_REMOVE) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e4:SetCode(EVENT_BATTLE_START) -- e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e4:SetCondition(c16001002.rmcon) e4:SetTarget(c16001002.rmtg) e4:SetOperation(c16001002.rmop) c:RegisterEffect(e4) end function c16001002.filter1(c,ec,tp) return c:IsRace(RACE_ZOMBIE) or c:IsAttribute(ATTRIBUTE_WATER) end function c16001002.rmcon(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() return e:GetHandler():GetEC()==4 and e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL+388) end function c16001002.rmtg(e,tp,eg,ep,ev,re,r,rp,chk) local c=e:GetHandler() local tc=Duel.GetAttacker() if tc==c then tc=Duel.GetAttackTarget() end if chk==0 then return tc and tc:IsFaceup() and tc:GetOriginalRace()~=RACE_ZOMBIE end Duel.SetOperationInfo(0,CATEGORY_REMOVE,tc,1,0,0) end function c16001002.rmop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() local tc=Duel.GetAttacker() if tc==c then tc=Duel.GetAttackTarget() end if tc:IsRelateToBattle() then Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)end end