Commit 3a328253 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent ecd20f7e
...@@ -87,7 +87,7 @@ function c1000806.thtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -87,7 +87,7 @@ function c1000806.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c1000806.filter,tp,LOCATION_DECK,0,3,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c1000806.filter,tp,LOCATION_DECK,0,3,nil) end
local g=Duel.GetMatchingGroup(c1000806.filter,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c1000806.filter,tp,LOCATION_DECK,0,nil)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,3,0,0) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,3,0,0)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,ct*500) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,500)
end end
function c1000806.thop(e,tp,eg,ep,ev,re,r,rp) function c1000806.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
......
...@@ -82,7 +82,6 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,7 +82,6 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(cm.repfilter,1,nil,tp) if chk==0 then return eg:IsExists(cm.repfilter,1,nil,tp)
and Duel.IsExistingMatchingCard(cm.tgfilter,tp,LOCATION_EXTRA,0,1,nil) end and Duel.IsExistingMatchingCard(cm.tgfilter,tp,LOCATION_EXTRA,0,1,nil) end
return Duel.SelectEffectYesNo(tp,e:GetHandler(),96) return Duel.SelectEffectYesNo(tp,e:GetHandler(),96)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_EXTRA)
end end
function cm.repval(e,c) function cm.repval(e,c)
return cm.repfilter(c,e:GetHandlerPlayer()) return cm.repfilter(c,e:GetHandlerPlayer())
......
...@@ -24,7 +24,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -24,7 +24,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end end
function cm.ckfilter(c,e,tp) function cm.ckfilter(c,e,tp)
return c:IsLevel(4) and c:IsSetCard(0x341) and ((c:IsType(TYPE_RITUAL) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,false)) or c:IsCanBeSpecialSummoned(e,0,tp,false,false) ) return c:IsLevel(4) and c:IsSetCard(0x341) and ((c:IsType(TYPE_RITUAL) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,true,true)) or c:IsCanBeSpecialSummoned(e,0,tp,false,false) )
end end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
...@@ -85,5 +85,5 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,5 +85,5 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.distg(e,c) function cm.distg(e,c)
local sc=e:GetLabelObject() local sc=e:GetLabelObject()
return c:IsOriginalCodeRule(sc:GetOriginalCodeRule()) return c:IsOriginalCodeRule(sc)
end end
\ No newline at end of file
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