Commit 70259824 authored by wind2009's avatar wind2009

Fix キラーチューン・キュー

parent dc91e3c6
...@@ -91,7 +91,7 @@ add_script_diff: ...@@ -91,7 +91,7 @@ add_script_diff:
FIELDS: 'name,desc,overallString,picUrl' FIELDS: 'name,desc,overallString,picUrl'
GIT_DEPTH: '1000' GIT_DEPTH: '1000'
OUTPUT_FILENAME: test-release.json OUTPUT_FILENAME: test-release.json
REF_COMMIT: '16.43' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '17.0' # 更新的时候改这里,修改成上一个tag的版本号
script: script:
- apt update;apt -y install wget - apt update;apt -y install wget
- currentPath=$PWD - currentPath=$PWD
......
No preview for this file type
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
100245031 100245031
100245032 100245032
100245033 100245033
100245034
100245035 100245035
100245036 100245036
100245037 100245037
......
-- --キラーチューン・キュー
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
--synchro custom --synchro custom
...@@ -78,6 +78,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -78,6 +78,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,1-tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,1-tp,LOCATION_DECK)
end end
function s.rmop(e,tp,eg,ep,ev,re,r,rp) function s.rmop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsPlayerCanRemove(tp) then return end
local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK) local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)
if ct>2 then ct=2 end if ct>2 then ct=2 end
if ct<2 then return end if ct<2 then return end
...@@ -95,4 +96,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -95,4 +96,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel.MoveSequence(g:GetFirst(),SEQ_DECKBOTTOM) Duel.MoveSequence(g:GetFirst(),SEQ_DECKBOTTOM)
end end
end end
end end
\ No newline at end of file
...@@ -38,4 +38,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,4 +38,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.GetControl(g,tp) Duel.GetControl(g,tp)
end end
end end
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