Commit 65c6dae9 authored by Nemo Ma's avatar Nemo Ma

fix

parent 19c35e5d
...@@ -72,7 +72,7 @@ end ...@@ -72,7 +72,7 @@ end
function c11533700.rrttg(e,tp,eg,ep,ev,re,r,rp,chk) function c11533700.rrttg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsExistingMatchingCard(c11533700.rrfil1,tp,LOCATION_HAND,0,1,e:GetHandler()) and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,5,nil) and Duel.IsPlayerCanDraw(tp,2) local b1=Duel.IsExistingMatchingCard(c11533700.rrfil1,tp,LOCATION_HAND,0,1,e:GetHandler()) and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,5,nil) and Duel.IsPlayerCanDraw(tp,2)
local b2=Duel.IsExistingMatchingCard(c11533700.rrfil2,tp,0,LOCATION_GRAVE,1,e:GetHandler()) and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,3,nil) and Duel.IsPlayerCanDraw(tp,1) local b2=Duel.IsExistingMatchingCard(c11533700.rrfil2,tp,LOCATION_GRAVE,0,1,e:GetHandler()) and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,3,nil) and Duel.IsPlayerCanDraw(tp,1)
if chk==0 then return b1 or b2 end if chk==0 then return b1 or b2 end
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,0,tp,LOCATION_GRAVE+LOCATION_REMOVED) Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,0,tp,LOCATION_GRAVE+LOCATION_REMOVED)
end end
......
...@@ -12,7 +12,7 @@ function c32500522.initial_effect(c) ...@@ -12,7 +12,7 @@ function c32500522.initial_effect(c)
--SpecialSummon --SpecialSummon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(32500522,0)) e2:SetDescription(aux.Stringid(32500522,0))
e2:SetCategory(CATEGORY_DRAW) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
......
...@@ -12,7 +12,7 @@ function c32500524.initial_effect(c) ...@@ -12,7 +12,7 @@ function c32500524.initial_effect(c)
--SpecialSummon --SpecialSummon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(32500524,0)) e2:SetDescription(aux.Stringid(32500524,0))
e2:SetCategory(CATEGORY_DRAW) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
......
...@@ -12,7 +12,7 @@ function c32500526.initial_effect(c) ...@@ -12,7 +12,7 @@ function c32500526.initial_effect(c)
--SpecialSummon --SpecialSummon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(32500526,0)) e2:SetDescription(aux.Stringid(32500526,0))
e2:SetCategory(CATEGORY_DRAW) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
......
...@@ -17,17 +17,9 @@ function c32500531.initial_effect(c) ...@@ -17,17 +17,9 @@ function c32500531.initial_effect(c)
--atkup --atkup
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetCode(EFFECT_MATERIAL_CHECK)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e2:SetValue(c32500531.matcheck)
e2:SetRange(LOCATION_MZONE)
e2:SetValue(1000)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_MATERIAL_CHECK)
e3:SetValue(c32500531.valcheck)
e3:SetLabelObject(e2)
c:RegisterEffect(e3)
--special summon --special summon
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(32500529,0)) e4:SetDescription(aux.Stringid(32500529,0))
...@@ -42,18 +34,16 @@ end ...@@ -42,18 +34,16 @@ end
function c32500531.actcon(e) function c32500531.actcon(e)
return Duel.GetAttacker()==e:GetHandler() or Duel.GetAttackTarget()==e:GetHandler() return Duel.GetAttacker()==e:GetHandler() or Duel.GetAttackTarget()==e:GetHandler()
end end
function c32500531.atkcon(e) function c32500531.matcheck(e,c)
return Duel.GetTurnPlayer()==e:GetHandlerPlayer() local mg=c:GetMaterial()
end if mg:GetCount()>0 and mg:IsExists(Card.IsType,1,nil,TYPE_SYNCHRO) then
function c32500531.mfilter(c) local e1=Effect.CreateEffect(c)
return c:GetOriginalRace()~=TYPE_SYNCHRO e1:SetType(EFFECT_TYPE_SINGLE)
end e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
function c32500531.valcheck(e,c) e1:SetRange(LOCATION_MZONE)
local g=c:GetMaterial() e1:SetCode(EFFECT_UPDATE_ATTACK)
if g:IsExists(c32500531.mfilter,1,nil) then e1:SetValue(1000)
e:GetLabelObject():SetLabel(1) c:RegisterEffect(e1)
else
e:GetLabelObject():SetLabel(0)
end end
end end
function c32500531.filter(c,e,tp) function c32500531.filter(c,e,tp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment