Commit cd7fd35d authored by wind2009's avatar wind2009

Update Stringid

parent 57b0f5cc
Pipeline #25084 passed with stages
in 1 minute and 43 seconds
......@@ -53,7 +53,7 @@ merge_databases:
FIELDS: 'name,desc,overallString,picUrl'
GIT_DEPTH: '1000'
OUTPUT_FILENAME: test-release.json
REF_COMMIT: '1.55' # 更新的时候改这里
REF_COMMIT: '1.56' # 更新的时候改这里
script:
- apt update;apt -y install wget
- currentPath=$PWD
......
No preview for this file type
......@@ -55,8 +55,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local b2=Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil)
if not b1 and not b2 then return end
local op=aux.SelectFromOptions(tp,
{b1,aux.Stringid(id,0)},
{b2,aux.Stringid(id,1)},
{b1,1190},
{b2,1153},
{true,aux.Stringid(id,2)})
if op==1 then
local thc=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
......
......@@ -46,7 +46,7 @@ function s.contrtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function s.controp(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsType(TYPE_MONSTER) and Duel.GetControl(tc,tp) and tc:IsLocation(LOCATION_MZONE) and Duel.GetMatchingGroupCount(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)>0 and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
if tc:IsRelateToEffect(e) and tc:IsType(TYPE_MONSTER) and Duel.GetControl(tc,tp) and tc:IsLocation(LOCATION_MZONE) and Duel.GetMatchingGroupCount(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
for ac in aux.Next(g) do
......
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