Commit 10b8147a authored by wind2009's avatar wind2009

Fix SNo.38 タイタニック・ギャラクシー

parent b0d79f9f
...@@ -54,7 +54,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,7 +54,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
else elseif dr then
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
end end
......
...@@ -29,7 +29,6 @@ function s.initial_effect(c) ...@@ -29,7 +29,6 @@ function s.initial_effect(c)
e3:SetDescription(aux.Stringid(id,3)) e3:SetDescription(aux.Stringid(id,3))
e3:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCondition(s.datcon)
e3:SetCost(s.datcost) e3:SetCost(s.datcost)
e3:SetTarget(s.dattg) e3:SetTarget(s.dattg)
e3:SetOperation(s.datop) e3:SetOperation(s.datop)
...@@ -91,9 +90,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,9 +90,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(c,sg) Duel.Overlay(c,sg)
end end
end end
function s.datcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 and aux.bpcon(e,tp,eg,ep,ev,re,r,rp)
end
function s.dattg(e,tp,eg,ep,ev,re,r,rp,chk) function s.dattg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return c:GetBaseAttack()~=1500 and not c:IsHasEffect(EFFECT_DIRECT_ATTACK) end if chk==0 then return c:GetBaseAttack()~=1500 and not c:IsHasEffect(EFFECT_DIRECT_ATTACK) 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