Commit 7d057f5a authored by DailyShana's avatar DailyShana

fix

parent 89b0483b
...@@ -36,7 +36,7 @@ function c14505685.rctg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -36,7 +36,7 @@ function c14505685.rctg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c14505685.rcfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c14505685.rcfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c14505685.rcfilter,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingTarget(c14505685.rcfilter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,c14505685.rcfilter,tp,LOCATION_MZONE,0,1,1,nil) Duel.SelectTarget(tp,c14505685.rcfilter,tp,LOCATION_MZONE,0,1,1,nil)
end end
function c14505685.rcop(e,tp,eg,ep,ev,re,r,rp) function c14505685.rcop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
......
...@@ -95,7 +95,7 @@ function c21686473.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -95,7 +95,7 @@ function c21686473.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL) e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetValue(bc:GetBaseAttack()*2) e1:SetValue(bc:GetBaseAttack()*2)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_DAMAGE_CAL) e1:SetReset(RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_DAMAGE)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
end end
......
...@@ -12,7 +12,7 @@ function c30650147.initial_effect(c) ...@@ -12,7 +12,7 @@ function c30650147.initial_effect(c)
end end
function c30650147.filter(c,tp) function c30650147.filter(c,tp)
return c:IsFaceup() and c:GetOriginalLevel()>0 and c:IsReleasableByEffect() return c:IsFaceup() and c:GetOriginalLevel()>0 and c:IsReleasableByEffect()
and Duel.IsPlayerCanSpecialSummonMonster(tp,30650148,0x106,0x4011,0,0,c:GetLevel(),RACE_ZOMBIE,ATTRIBUTE_DARK) and Duel.IsPlayerCanSpecialSummonMonster(tp,30650148,0x106,0x4011,0,0,c:GetOriginalLevel(),RACE_ZOMBIE,ATTRIBUTE_DARK)
end end
function c30650147.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c30650147.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and c30650147.filter(chkc,tp) end if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and c30650147.filter(chkc,tp) end
......
...@@ -17,7 +17,7 @@ function c43839002.rmfilter(c,tp) ...@@ -17,7 +17,7 @@ function c43839002.rmfilter(c,tp)
and Duel.IsExistingMatchingCard(c43839002.thfilter,tp,LOCATION_DECK,0,1,nil,c) and Duel.IsExistingMatchingCard(c43839002.thfilter,tp,LOCATION_DECK,0,1,nil,c)
end end
function c43839002.thfilter(c,rc) function c43839002.thfilter(c,rc)
return c:IsRace(RACE_CYBERSE) and c:GetAttack()<rc:GetBaseAttack() and c:IsAbleToHand() return c:IsRace(RACE_CYBERSE) and c:GetAttack()>=0 and c:GetAttack()<rc:GetBaseAttack() and c:IsAbleToHand()
end end
function c43839002.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c43839002.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c43839002.rmfilter(chkc,tp) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c43839002.rmfilter(chkc,tp) end
......
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