Commit 2e15ea3d authored by TanakaKotoha's avatar TanakaKotoha

fbk

parent e809b3f3
No preview for this file type
...@@ -68,7 +68,7 @@ function c26805004.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,7 +68,7 @@ function c26805004.acop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(fc,REASON_RULE) Duel.SendtoGrave(fc,REASON_RULE)
Duel.BreakEffect() Duel.BreakEffect()
end end
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect() local te=tc:GetActivateEffect()
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
local tep=tc:GetControler() local tep=tc:GetControler()
......
...@@ -35,7 +35,7 @@ function c26805006.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -35,7 +35,7 @@ function c26805006.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(fc,REASON_RULE) Duel.SendtoGrave(fc,REASON_RULE)
Duel.BreakEffect() Duel.BreakEffect()
end end
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect() local te=tc:GetActivateEffect()
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
local tep=tc:GetControler() local tep=tc:GetControler()
......
...@@ -33,7 +33,7 @@ function c26807029.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -33,7 +33,7 @@ function c26807029.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
local sc=sg:GetFirst() local sc=sg:GetFirst()
Duel.MoveToField(sc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(sc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local te=sc:GetActivateEffect() local te=sc:GetActivateEffect()
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
local tep=sc:GetControler() local tep=sc:GetControler()
......
...@@ -75,7 +75,11 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,7 +75,11 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
if tc:IsType(TYPE_SPELL) then if tc:IsType(TYPE_SPELL) then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) if tc:IsType(TYPE_FIELD) then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
else
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
end
local te=tc:GetActivateEffect() local te=tc:GetActivateEffect()
local tep=tc:GetControler() local tep=tc:GetControler()
local cost=te:GetCost() local cost=te:GetCost()
......
...@@ -98,11 +98,19 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -98,11 +98,19 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_QP_ACT_IN_SET_TURN) e2:SetCode(EFFECT_QP_ACT_IN_SET_TURN)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
else else
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) if tc:IsType(TYPE_FIELD) then
local te=tc:GetActivateEffect() Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local tep=tc:GetControler() local te=tc:GetActivateEffect()
local cost=te:GetCost() local tep=tc:GetControler()
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end local cost=te:GetCost()
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end
else
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect()
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end
end
end end
end end
end end
......
...@@ -42,7 +42,7 @@ function c65060043.discon(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,7 @@ function c65060043.discon(e,tp,eg,ep,ev,re,r,rp)
end end
function c65060043.disop(e,tp,eg,ep,ev,re,r,rp) function c65060043.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,65060043) Duel.Hint(HINT_CARD,0,65060043)
local g=eg:Filter(Card.IsControler,1,nil,1-tp) local g=eg:Filter(Card.IsControler,nil,1-tp)
Duel.Destroy(g,REASON_EFFECT) Duel.Destroy(g,REASON_EFFECT)
e:Reset() e:Reset()
end end
......
...@@ -37,7 +37,7 @@ function c65060050.initial_effect(c) ...@@ -37,7 +37,7 @@ function c65060050.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c65060050.splimit(e,c,sump,sumtype,sumpos,targetp,se) function c65060050.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return bit.band(sumtype,SUMMON_TYPE_PENDULUM)~=SUMMON_TYPE_PENDULUM and c:GetSummonPlayer()~=e:GetHandler():GetOwner() return bit.band(sumtype,SUMMON_TYPE_PENDULUM)~=SUMMON_TYPE_PENDULUM or c:GetSummonPlayer()~=e:GetHandler():GetOwner()
end end
function c65060050.drconfil(c) function c65060050.drconfil(c)
return c:IsReason(REASON_SUMMON) and c:IsSummonType(SUMMON_TYPE_PENDULUM) return c:IsReason(REASON_SUMMON) and c:IsSummonType(SUMMON_TYPE_PENDULUM)
......
...@@ -127,7 +127,7 @@ function cm.actop(e,tp,eg,ep,ev,re,r,rp) ...@@ -127,7 +127,7 @@ function cm.actop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(fc,REASON_RULE) Duel.SendtoGrave(fc,REASON_RULE)
Duel.BreakEffect() Duel.BreakEffect()
end end
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect() local te=tc:GetActivateEffect()
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain()) Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
......
...@@ -61,7 +61,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_DECK,0,1,1,nil,tp,tc:GetCode()) local g=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_DECK,0,1,1,nil,tp,tc:GetCode())
if g:GetCount()>0 then if g:GetCount()>0 then
local tc=g:GetFirst() local tc=g:GetFirst()
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect() local te=tc:GetActivateEffect()
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
local tep=tc:GetControler() local tep=tc:GetControler()
......
...@@ -70,7 +70,7 @@ function c81040043.actop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,7 +70,7 @@ function c81040043.actop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(fc,REASON_RULE) Duel.SendtoGrave(fc,REASON_RULE)
Duel.BreakEffect() Duel.BreakEffect()
end end
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect() local te=tc:GetActivateEffect()
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain()) Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
......
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