chevalierx Posted November 28, 2015 Report Share Posted November 28, 2015 Hellothe script work fineno image or defense info or number of xyz MaterialsRaidraptor - Ultimate Falcon? Level 10 monstersUnaffected by your opponent's card effects. You can detach 1 Xyz Material from this card; negate the effects of all face-up cards your opponent currently controls until the end of this turn, then all monsters your opponent controls lose 1000 ATK. During the End Phase, if this card was Xyz Summoned by using a "Raidraptor" Xyz Monster as a Material this turn: Activate 1 of these effects.● If your opponent controls a monster: All monsters your opponent controls lose 1000 ATK.● If your opponent controls no monsters: Inflict 1000 damage to your opponent.--Raidraptor - Ultimate Falconfunction c79889236.initial_effect©--xyz summonaux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WINDBEAST),5,10)c:EnableReviveLimit()--immunelocal e1=Effect.CreateEffect©e1:SetType(EFFECT_TYPE_SINGLE)e1:SetCode(EFFECT_IMMUNE_EFFECT)e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)e1:SetRange(LOCATION_MZONE)e1:SetValue(c79889236.efilter)c:RegisterEffect(e1)--negatelocal e2=Effect.CreateEffect©e2:SetType(EFFECT_TYPE_IGNITION)e2:SetRange(LOCATION_MZONE)e2:SetCountLimit(1)e2:SetCost(c79889236.negcost)e2:SetOperation(c79889236.negop)c:RegisterEffect(e2)--Damagelocal e3=Effect.CreateEffect©e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)e3:SetCode(EVENT_PHASE+PHASE_END)e3:SetRange(LOCATION_MZONE)e3:SetCountLimit(1)e3:SetCondition(c79889236.condit1)e3:SetOperation(c79889236.desop)c:RegisterEffect(e3)endfunction c79889236.efilter(e,te)return te:GetOwnerPlayer()~=e:GetHandlerPlayer()endfunction c79889236.filter3©return c:IsSetCard(0xba) and c:IsType(TYPE_XYZ)endfunction c79889236.condit1(e,tp,eg,ep,ev,re,r,rp)return e:GetHandler():GetOverlayGroup():IsExists(c79889236.filter3,1,nil)endfunction c79889236.negcost(e,tp,eg,ep,ev,re,r,rp,chk)if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) ende:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)endfunction c79889236.filter©return c:IsFaceup() and (c:IsLocation(LOCATION_SZONE+LOCATION_MZONE+LOCATION_PZONE) or c:IsType(TYPE_EFFECT)) and not c:IsDisabled()endfunction c79889236.filter2©return c:IsFaceup() and c:IsLocation(LOCATION_MZONE)endfunction c79889236.negop(e,tp,eg,ep,ev,re,r,rp)local c=e:GetHandler()local g=Duel.GetMatchingGroup(c79889236.filter,tp,0,LOCATION_ONFIELD,c)local tc=g:GetFirst()while tc dolocal e1=Effect.CreateEffect©e1:SetType(EFFECT_TYPE_SINGLE)e1:SetCode(EFFECT_DISABLE)e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)tc:RegisterEffect(e1)local e2=Effect.CreateEffect©e2:SetType(EFFECT_TYPE_SINGLE)e2:SetCode(EFFECT_DISABLE_EFFECT)e2:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)tc:RegisterEffect(e2)local e3=Effect.CreateEffect©e3:SetType(EFFECT_TYPE_SINGLE)e3:SetCode(EFFECT_UPDATE_ATTACK)e3:SetValue(-1000)e3:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)tc:RegisterEffect(e3)tc=g:GetNext()endendfunction c79889236.desop(e,tp,eg,ep,ev,re,r,rp)local c=e:GetHandler()local g=Duel.GetMatchingGroup(c79889236.filter2,tp,0,LOCATION_ONFIELD,c)local g2=Duel.GetFieldGroupCount(e:GetHandlerPlayer(),0,LOCATION_MZONE)if g2>0 thenlocal tc=g:GetFirst()while tc dolocal e3=Effect.CreateEffect©e3:SetType(EFFECT_TYPE_SINGLE)e3:SetCode(EFFECT_UPDATE_ATTACK)e3:SetValue(-1000)tc:RegisterEffect(e3)tc=g:GetNext()endendif g2==0 then Duel.Damage(1-tp,1000,REASON_EFFECT) endend Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.