Commit f9009c89 authored by VanillaSalt's avatar VanillaSalt

fix

parent faf8c94c
...@@ -6,7 +6,7 @@ function c36736723.initial_effect(c) ...@@ -6,7 +6,7 @@ function c36736723.initial_effect(c)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetRange(LOCATION_HAND) e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1.36736723) e1:SetCountLimit(1,36736723)
e1:SetCondition(c36736723.atkcon) e1:SetCondition(c36736723.atkcon)
e1:SetCost(c36736723.atkcost) e1:SetCost(c36736723.atkcost)
e1:SetOperation(c36736723.atkop) e1:SetOperation(c36736723.atkop)
...@@ -18,7 +18,7 @@ function c36736723.initial_effect(c) ...@@ -18,7 +18,7 @@ function c36736723.initial_effect(c)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1.36736724) e2:SetCountLimit(1,36736724)
e2:SetCost(c36736723.thcost) e2:SetCost(c36736723.thcost)
e2:SetTarget(c36736723.thtg) e2:SetTarget(c36736723.thtg)
e2:SetOperation(c36736723.thop) e2:SetOperation(c36736723.thop)
......
...@@ -21,11 +21,11 @@ function c62125438.initial_effect(c) ...@@ -21,11 +21,11 @@ function c62125438.initial_effect(c)
e2:SetOperation(c62125438.spop) e2:SetOperation(c62125438.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c62125438.filter(c) function c62125438.filter(c,tp)
return c:IsSetCard(0x17) and c:IsType(TYPE_MONSTER) and c:IsLocation(LOCATION_GRAVE) return c:IsSetCard(0x17) and c:IsType(TYPE_MONSTER) and c:IsControler(tp) and c:IsLocation(LOCATION_GRAVE)
end end
function c62125438.spcon(e,tp,eg,ep,ev,re,r,rp) function c62125438.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c62125438.filter,1,nil) and r==REASON_SYNCHRO and re:GetHandler():IsRace(RACE_WARRIOR+RACE_MACHINE) return eg:IsExists(c62125438.filter,1,nil,tp) and r==REASON_SYNCHRO and re:GetHandler():IsRace(RACE_WARRIOR+RACE_MACHINE)
end end
function c62125438.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c62125438.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -45,7 +45,7 @@ function c64203620.descon(e) ...@@ -45,7 +45,7 @@ function c64203620.descon(e)
return not Duel.IsExistingMatchingCard(c64203620.filter,0,LOCATION_MZONE,LOCATION_MZONE,1,nil) return not Duel.IsExistingMatchingCard(c64203620.filter,0,LOCATION_MZONE,LOCATION_MZONE,1,nil)
end end
function c64203620.damcon(e,tp,eg,ep,ev,re,r,rp) function c64203620.damcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPosition(POS_FACEUP_ATTACK) and e:GetHandler():IsPreviousPosition(POS_FACEUP_ATTACK) return e:GetHandler():IsPosition(POS_FACEUP_ATTACK) and e:GetHandler():IsPreviousPosition(POS_FACEUP_DEFENCE)
end end
function c64203620.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c64203620.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
......
...@@ -28,7 +28,7 @@ function c87475570.initial_effect(c) ...@@ -28,7 +28,7 @@ function c87475570.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c87475570.tgtg(e,c) function c87475570.tgtg(e,c)
return c:IsSetCard(0x1034) or (c:IsLocation(TYPE_MONSTER) and (c:IsCode(79407975) or c:IsCode(79856792))) return c:IsSetCard(0x1034) or (c:IsLocation(LOCATION_MZONE) and (c:IsCode(79407975) or c:IsCode(79856792)))
end end
function c87475570.tgval(e,re,rp) function c87475570.tgval(e,re,rp)
return rp~=e:GetHandlerPlayer() return rp~=e:GetHandlerPlayer()
......
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