Commit a31566f2 authored by wind2009's avatar wind2009

Fix 恋する乙女

parent 80b6b075
Pipeline #35267 passed with stages
in 1 minute and 20 seconds
pics/101208087.jpg

93.3 KB | W: | H:

pics/101208087.jpg

90.4 KB | W: | H:

pics/101208087.jpg
pics/101208087.jpg
pics/101208087.jpg
pics/101208087.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -31,7 +31,7 @@ function s.initial_effect(c) ...@@ -31,7 +31,7 @@ function s.initial_effect(c)
e4:SetOperation(s.ccop) e4:SetOperation(s.ccop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
s.counter_add_list={0x106e} s.counter_add_list={0x106f}
function s.atklimit(e,c) function s.atklimit(e,c)
return c==e:GetHandler() return c==e:GetHandler()
end end
...@@ -40,10 +40,10 @@ function s.cccon(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,10 +40,10 @@ function s.cccon(e,tp,eg,ep,ev,re,r,rp)
return c:IsRelateToBattle() and c:IsStatus(STATUS_OPPO_BATTLE) return c:IsRelateToBattle() and c:IsStatus(STATUS_OPPO_BATTLE)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsControlerCanBeChanged() and c:GetCounter(0x106e)>0 return c:IsControlerCanBeChanged() and c:GetCounter(0x106f)>0
end end
function s.cctg(e,tp,eg,ep,ev,re,r,rp,chk) function s.cctg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsExistingMatchingCard(Card.IsCanAddCounter,tp,0,LOCATION_MZONE,1,nil,0x106e,1) local b1=Duel.IsExistingMatchingCard(Card.IsCanAddCounter,tp,0,LOCATION_MZONE,1,nil,0x106f,1)
local b2=Duel.IsExistingMatchingCard(s.cfilter,tp,0,LOCATION_MZONE,1,nil) local b2=Duel.IsExistingMatchingCard(s.cfilter,tp,0,LOCATION_MZONE,1,nil)
if chk==0 then return b1 or b2 end if chk==0 then return b1 or b2 end
local op=0 local op=0
...@@ -55,7 +55,7 @@ function s.cctg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -55,7 +55,7 @@ function s.cctg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(op) e:SetLabel(op)
if op==1 then if op==1 then
e:SetCategory(CATEGORY_COUNTER) e:SetCategory(CATEGORY_COUNTER)
local g=Duel.GetMatchingGroup(Card.IsCanAddCounter,tp,0,LOCATION_MZONE,nil,0x106e,1) local g=Duel.GetMatchingGroup(Card.IsCanAddCounter,tp,0,LOCATION_MZONE,nil,0x106f,1)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_COUNTER,g,1,0,0)
elseif op==2 then elseif op==2 then
e:SetCategory(CATEGORY_CONTROL) e:SetCategory(CATEGORY_CONTROL)
...@@ -66,11 +66,11 @@ end ...@@ -66,11 +66,11 @@ end
function s.ccop(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.ccop(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if e:GetLabel()==1 then if e:GetLabel()==1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectMatchingCard(tp,Card.IsCanAddCounter,tp,0,LOCATION_MZONE,1,1,nil,0x106e,1) local g=Duel.SelectMatchingCard(tp,Card.IsCanAddCounter,tp,0,LOCATION_MZONE,1,1,nil,0x106f,1)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.HintSelection(g) Duel.HintSelection(g)
tc:AddCounter(0x106e,1) tc:AddCounter(0x106f,1)
end end
else else
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL)
......
#The first line is used for comment #The first line is used for comment
!setname 0x1c3 巳剑 Mitsurugi !setname 0x1c3 巳剑 Mitsurugi
!counter 0x6e 四季指示物 !counter 0x6e 四季指示物
!counter 0x106e 少女指示物 !counter 0x106f 少女指示物
!setname 0x2cc 瞬间移动 !setname 0x2cc 瞬间移动
!setname 0x2cd 神艺 !setname 0x2cd 神艺
!setname 0x2ce 狱神 !setname 0x2ce 狱神
......
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