Commit 4482e31b authored by nanahira's avatar nanahira

changes for MSG_HINT

parent 8bb74a78
...@@ -103,7 +103,7 @@ function cm.operation2(e,tp,eg,ep,ev,re,r,rp) ...@@ -103,7 +103,7 @@ function cm.operation2(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.bgmop(e,tp,eg,ep,ev,re,r,rp) function cm.bgmop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(11,0,aux.Stringid(m,0)) Duel.Hint(21,0,aux.Stringid(m,0))
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
......
...@@ -587,7 +587,7 @@ function Cirn9.opcon(e) ...@@ -587,7 +587,7 @@ function Cirn9.opcon(e)
return Duel.GetTurnCount() == 1 return Duel.GetTurnCount() == 1
end end
function Cirn9.opop(e,tp,eg,ep,ev,re,r,rp) function Cirn9.opop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(11,0,aux.Stringid(20100060,3)) Duel.Hint(21,0,aux.Stringid(20100060,3))
end end
function Cirn9.ap1(e,tp,eg,ep,ev,re,r,rp,chk) function Cirn9.ap1(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -645,7 +645,7 @@ end ...@@ -645,7 +645,7 @@ end
function Cirn9.RevueBgm(tp) function Cirn9.RevueBgm(tp)
local fc=Duel.GetFieldCard(tp,LOCATION_SZONE,5) local fc=Duel.GetFieldCard(tp,LOCATION_SZONE,5)
local fcode=fc:GetOriginalCode() local fcode=fc:GetOriginalCode()
Duel.Hint(11,0,aux.Stringid(fcode,0)) Duel.Hint(21,0,aux.Stringid(fcode,0))
end end
function Cirn9.GetLine(c) function Cirn9.GetLine(c)
if c:IsLocation(LOCATION_FZONE) then return 99 end if c:IsLocation(LOCATION_FZONE) then return 99 end
......
...@@ -113,7 +113,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -113,7 +113,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function cm.spop(e,tp,eg,ep,ev,re,r,rp) function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if not Cirn9.Climax(e,tp,eg,ep,ev,re,r,rp) then return end if not Cirn9.Climax(e,tp,eg,ep,ev,re,r,rp) then return end
Duel.Hint(11,0,aux.Stringid(m,3)) Duel.Hint(21,0,aux.Stringid(m,3))
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<=0 then return end if ft<=0 then return end
local tid=Duel.GetTurnCount() local tid=Duel.GetTurnCount()
......
...@@ -97,7 +97,7 @@ function cm.cltg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -97,7 +97,7 @@ function cm.cltg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function cm.clop(e,tp,eg,ep,ev,re,r,rp) function cm.clop(e,tp,eg,ep,ev,re,r,rp)
if not Cirn9.Climax(e,tp,eg,ep,ev,re,r,rp) then return end if not Cirn9.Climax(e,tp,eg,ep,ev,re,r,rp) then return end
Duel.Hint(11,0,aux.Stringid(m,3)) Duel.Hint(21,0,aux.Stringid(m,3))
local tc=e:GetHandler() local tc=e:GetHandler()
if tc:IsFaceup() and tc:IsRelateToEffect(e) then if tc:IsFaceup() and tc:IsRelateToEffect(e) then
--local g=Duel.GetMatchingGroup(cm.atkfi lter,tp,LOCATION_MZONE,0,tc) --local g=Duel.GetMatchingGroup(cm.atkfi lter,tp,LOCATION_MZONE,0,tc)
......
...@@ -43,7 +43,7 @@ function c65072000.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function c65072000.op(e,tp,eg,ep,ev,re,r,rp)
local tc=g1:GetFirst() local tc=g1:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
elseif m==1 and b2 then elseif m==1 and b2 then
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_EFFECT+REASON_DISCARD,e:GetHandler()) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_EFFECT+REASON_DISCARD,e:GetHandler())
local g2=Duel.SelectMatchingCard(tp,c65072000.fil2,tp,LOCATION_DECK,0,1,1,nil) local g2=Duel.SelectMatchingCard(tp,c65072000.fil2,tp,LOCATION_DECK,0,1,1,nil)
......
...@@ -60,7 +60,7 @@ function c65072001.cop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c65072001.cop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
local e0=Effect.CreateEffect(e:GetHandler()) local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function c65072002.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072002.target(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
and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) end and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) end
Duel.Hint(11,0,aux.Stringid(65072002,0)) Duel.Hint(21,0,aux.Stringid(65072002,0))
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
......
...@@ -58,7 +58,7 @@ function c65072003.cop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,7 @@ function c65072003.cop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
local e0=Effect.CreateEffect(e:GetHandler()) local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......
...@@ -60,7 +60,7 @@ function c65072004.cop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c65072004.cop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
local e0=Effect.CreateEffect(e:GetHandler()) local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
...@@ -102,4 +102,3 @@ end ...@@ -102,4 +102,3 @@ end
function c65072004.efilter(e,te) function c65072004.efilter(e,te)
return te:GetOwnerPlayer()~=e:GetOwnerPlayer() return te:GetOwnerPlayer()~=e:GetOwnerPlayer()
end end
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function c65072005.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072005.target(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
and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) end and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) end
Duel.Hint(11,0,aux.Stringid(65072005,0)) Duel.Hint(21,0,aux.Stringid(65072005,0))
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
...@@ -83,6 +83,6 @@ function c65072005.tfop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,6 +83,6 @@ function c65072005.tfop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.SelectMatchingCard(tp,c65072005.tffilter,tp,LOCATION_DECK,0,1,1,nil,tp):GetFirst() local tc=Duel.SelectMatchingCard(tp,c65072005.tffilter,tp,LOCATION_DECK,0,1,1,nil,tp):GetFirst()
if tc then if tc then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(tc:GetCode(),0)) Duel.Hint(21,0,aux.Stringid(tc:GetCode(),0))
end end
end end
...@@ -61,7 +61,7 @@ function c65072006.cop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function c65072006.cop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
local e0=Effect.CreateEffect(e:GetHandler()) local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......
...@@ -17,7 +17,7 @@ function c65072007.filter(c) ...@@ -17,7 +17,7 @@ function c65072007.filter(c)
end end
function c65072007.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072007.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65072007.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65072007.filter,tp,LOCATION_DECK,0,1,nil) end
Duel.Hint(11,0,aux.Stringid(65072007,0)) Duel.Hint(21,0,aux.Stringid(65072007,0))
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end end
function c65072007.activate(e,tp,eg,ep,ev,re,r,rp) function c65072007.activate(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -60,7 +60,7 @@ function c65072008.cop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c65072008.cop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
local e0=Effect.CreateEffect(e:GetHandler()) local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
...@@ -99,4 +99,3 @@ function c65072008.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -99,4 +99,3 @@ function c65072008.operation(e,tp,eg,ep,ev,re,r,rp)
tc=g:GetNext() tc=g:GetNext()
end end
end end
...@@ -60,7 +60,7 @@ function c65072009.cop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c65072009.cop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
local e0=Effect.CreateEffect(e:GetHandler()) local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
...@@ -93,5 +93,3 @@ function c65072009.sop(e,tp,eg,ep,ev,re,r,rp) ...@@ -93,5 +93,3 @@ function c65072009.sop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(g,nil,2,REASON_EFFECT) Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
end end
end end
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function c65072010.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072010.target(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
and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) end and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) end
Duel.Hint(11,0,aux.Stringid(65072010,0)) Duel.Hint(21,0,aux.Stringid(65072010,0))
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
......
...@@ -60,7 +60,7 @@ function c65072011.cop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c65072011.cop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
local code=tc:GetCode() local code=tc:GetCode()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.Hint(11,0,aux.Stringid(code,0)) Duel.Hint(21,0,aux.Stringid(code,0))
local e0=Effect.CreateEffect(e:GetHandler()) local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function c65072012.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c65072012.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsCode(65071999) end if chkc then return chkc:IsCode(65071999) end
if chk==0 then return Duel.IsExistingTarget(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,65071999) end if chk==0 then return Duel.IsExistingTarget(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,65071999) end
Duel.Hint(11,0,aux.Stringid(65072012,0)) Duel.Hint(21,0,aux.Stringid(65072012,0))
local g=Duel.SelectTarget(tp,Card.IsCode,tp,LOCATION_MZONE,0,1,1,nil,65071999) local g=Duel.SelectTarget(tp,Card.IsCode,tp,LOCATION_MZONE,0,1,1,nil,65071999)
end end
function c65072012.op(e,tp,eg,ep,ev,re,r,rp) function c65072012.op(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -20,7 +20,7 @@ end ...@@ -20,7 +20,7 @@ end
function c65072013.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c65072013.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsCode(65071999) and chkc:IsControler(tp) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsCode(65071999) and chkc:IsControler(tp) end
if chk==0 then return Duel.IsExistingTarget(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,65071999) end if chk==0 then return Duel.IsExistingTarget(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,65071999) end
Duel.Hint(11,0,aux.Stringid(65072013,0)) Duel.Hint(21,0,aux.Stringid(65072013,0))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,Card.IsCode,tp,LOCATION_MZONE,0,1,1,nil,65071999) Duel.SelectTarget(tp,Card.IsCode,tp,LOCATION_MZONE,0,1,1,nil,65071999)
end end
...@@ -46,4 +46,3 @@ function c65072013.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,4 +46,3 @@ function c65072013.activate(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e5) tc:RegisterEffect(e5)
end end
end end
...@@ -19,7 +19,7 @@ function c65072014.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -19,7 +19,7 @@ function c65072014.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end if chkc then return false end
if chk==0 then return Duel.IsExistingTarget(c65072014.desfilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) if chk==0 then return Duel.IsExistingTarget(c65072014.desfilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler())
and Duel.IsExistingTarget(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) end and Duel.IsExistingTarget(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.Hint(11,0,aux.Stringid(65072014,0)) Duel.Hint(21,0,aux.Stringid(65072014,0))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g1=Duel.SelectTarget(tp,c65072014.desfilter,tp,LOCATION_ONFIELD,0,1,1,e:GetHandler()) local g1=Duel.SelectTarget(tp,c65072014.desfilter,tp,LOCATION_ONFIELD,0,1,1,e:GetHandler())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
...@@ -32,7 +32,7 @@ function c65072017.initial_effect(c) ...@@ -32,7 +32,7 @@ function c65072017.initial_effect(c)
end end
function c65072017.music(e,tp,eg,ep,ev,re,r,rp,chk) function c65072017.music(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072017,0)) Duel.Hint(21,0,aux.Stringid(65072017,0))
end end
function c65072017.val(e,c) function c65072017.val(e,c)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
......
...@@ -32,7 +32,7 @@ function c65072018.initial_effect(c) ...@@ -32,7 +32,7 @@ function c65072018.initial_effect(c)
end end
function c65072018.music(e,tp,eg,ep,ev,re,r,rp,chk) function c65072018.music(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072018,0)) Duel.Hint(21,0,aux.Stringid(65072018,0))
end end
function c65072018.discon(e,tp,eg,ep,ev,re,r,rp) function c65072018.discon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler()==e:GetHandler() return re:GetHandler()==e:GetHandler()
......
...@@ -20,7 +20,7 @@ end ...@@ -20,7 +20,7 @@ end
function c65072019.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072019.target(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
and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) and Duel.IsExistingMatchingCard(c65072019.tgfil,tp,LOCATION_FZONE,0,1,nil) end and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) and Duel.IsExistingMatchingCard(c65072019.tgfil,tp,LOCATION_FZONE,0,1,nil) end
Duel.Hint(11,0,aux.Stringid(65072019,0)) Duel.Hint(21,0,aux.Stringid(65072019,0))
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
......
...@@ -17,7 +17,7 @@ end ...@@ -17,7 +17,7 @@ end
function c65072020.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072020.target(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
and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) and Duel.IsExistingMatchingCard(c65072020.tgfil,tp,LOCATION_GRAVE,0,1,nil) end and Duel.IsPlayerCanSpecialSummonMonster(tp,65071999,0,0x4011,2100,2100,6,RACE_FAIRY,ATTRIBUTE_LIGHT,POS_FACEUP) and Duel.IsExistingMatchingCard(c65072020.tgfil,tp,LOCATION_GRAVE,0,1,nil) end
Duel.Hint(11,0,aux.Stringid(65072020,0)) Duel.Hint(21,0,aux.Stringid(65072020,0))
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
......
...@@ -32,7 +32,7 @@ function c65072021.initial_effect(c) ...@@ -32,7 +32,7 @@ function c65072021.initial_effect(c)
end end
function c65072021.music(e,tp,eg,ep,ev,re,r,rp,chk) function c65072021.music(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072021,0)) Duel.Hint(21,0,aux.Stringid(65072021,0))
end end
function c65072021.discon(e,tp,eg,ep,ev,re,r,rp) function c65072021.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
...@@ -101,4 +101,3 @@ function c65072021.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -101,4 +101,3 @@ function c65072021.tgop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
Duel.SendtoGrave(e:GetHandler(),REASON_EFFECT) Duel.SendtoGrave(e:GetHandler(),REASON_EFFECT)
end end
...@@ -31,7 +31,7 @@ function c65072022.initial_effect(c) ...@@ -31,7 +31,7 @@ function c65072022.initial_effect(c)
end end
function c65072022.music(e,tp,eg,ep,ev,re,r,rp,chk) function c65072022.music(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072022,0)) Duel.Hint(21,0,aux.Stringid(65072022,0))
end end
function c65072022.discon(e,tp,eg,ep,ev,re,r,rp) function c65072022.discon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler()==Duel.GetAttacker() and e:GetHandler():IsRelateToBattle() return e:GetHandler()==Duel.GetAttacker() and e:GetHandler():IsRelateToBattle()
......
...@@ -32,7 +32,7 @@ function c65072023.filter(c) ...@@ -32,7 +32,7 @@ function c65072023.filter(c)
end end
function c65072023.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072023.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072023,0)) Duel.Hint(21,0,aux.Stringid(65072023,0))
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,e:GetLabel(),tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,e:GetLabel(),tp,LOCATION_DECK)
end end
function c65072023.activate(e,tp,eg,ep,ev,re,r,rp) function c65072023.activate(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -32,7 +32,7 @@ function c65072025.initial_effect(c) ...@@ -32,7 +32,7 @@ function c65072025.initial_effect(c)
end end
function c65072025.music(e,tp,eg,ep,ev,re,r,rp,chk) function c65072025.music(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072025,0)) Duel.Hint(21,0,aux.Stringid(65072025,0))
end end
function c65072025.val(e,te) function c65072025.val(e,te)
return te:GetOwner()==e:GetHandler() return te:GetOwner()==e:GetHandler()
......
...@@ -28,7 +28,7 @@ function c65072027.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,7 +28,7 @@ function c65072027.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c65072027.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65072027.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072027,0)) Duel.Hint(21,0,aux.Stringid(65072027,0))
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
......
...@@ -32,7 +32,7 @@ function c65072028.initial_effect(c) ...@@ -32,7 +32,7 @@ function c65072028.initial_effect(c)
end end
function c65072028.music(e,tp,eg,ep,ev,re,r,rp,chk) function c65072028.music(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072028,0)) Duel.Hint(21,0,aux.Stringid(65072028,0))
end end
function c65072028.distg(e,c) function c65072028.distg(e,c)
local ec=e:GetHandler() local ec=e:GetHandler()
......
...@@ -32,7 +32,7 @@ function c65072029.initial_effect(c) ...@@ -32,7 +32,7 @@ function c65072029.initial_effect(c)
end end
function c65072029.music(e,tp,eg,ep,ev,re,r,rp,chk) function c65072029.music(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.Hint(11,0,aux.Stringid(65072029,0)) Duel.Hint(21,0,aux.Stringid(65072029,0))
end end
function c65072029.val(e,te) function c65072029.val(e,te)
return te:GetOwnerPlayer()==e:GetHandlerPlayer() and te:GetOwner()~=e:GetOwner() return te:GetOwnerPlayer()==e:GetHandlerPlayer() and te:GetOwner()~=e:GetOwner()
...@@ -88,4 +88,3 @@ function c65072029.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -88,4 +88,3 @@ function c65072029.tgop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
Duel.SendtoGrave(e:GetHandler(),REASON_EFFECT) Duel.SendtoGrave(e:GetHandler(),REASON_EFFECT)
end 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