Commit bea2a5e9 authored by wind2009's avatar wind2009

Fix 影霊衣

parent b971e7c6
...@@ -53,7 +53,7 @@ merge_databases: ...@@ -53,7 +53,7 @@ merge_databases:
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: '9.1' # 更新的时候改这里,修改成上一个tag的版本号 REF_COMMIT: '9.2' # 更新的时候改这里,修改成上一个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
...@@ -80,4 +80,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,4 +80,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.splimit(e,c,sump,sumtype,sumpos,targetp,se) function s.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsRace(RACE_DINOSAUR) return not c:IsRace(RACE_DINOSAUR)
end end
\ No newline at end of file
...@@ -73,4 +73,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,4 +73,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(tg,nil,REASON_EFFECT) Duel.SendtoHand(tg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tg) Duel.ConfirmCards(1-tp,tg)
end end
end end
\ No newline at end of file
...@@ -74,4 +74,4 @@ function s.rlevel(e,c) ...@@ -74,4 +74,4 @@ function s.rlevel(e,c)
local clv=c:GetLevel() local clv=c:GetLevel()
return (lv<<16)+clv return (lv<<16)+clv
else return lv end else return lv end
end end
\ No newline at end of file
...@@ -51,8 +51,7 @@ function s.mat_filter(c) ...@@ -51,8 +51,7 @@ function s.mat_filter(c)
return not c:IsLevel(9) return not c:IsLevel(9)
end end
function s.cfilter(c,tp) function s.cfilter(c,tp)
return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp) return c:IsPreviousControler(tp) and c:IsControler(tp) and c:IsSetCard(0xb4)
and c:IsControler(tp) and c:IsSetCard(0xb4)
end end
function s.rmcon(e,tp,eg,ep,ev,re,r,rp) function s.rmcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter,1,nil,tp) and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED) return eg:IsExists(s.cfilter,1,nil,tp) and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED)
...@@ -113,4 +112,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp) ...@@ -113,4 +112,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.immtg(e,c) function s.immtg(e,c)
return c:IsFaceup() and c:IsSetCard(0xb4) return c:IsFaceup() and c:IsSetCard(0xb4)
end end
\ No newline at end of file
...@@ -29,7 +29,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -29,7 +29,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2 return ph==PHASE_MAIN1 or ph==PHASE_MAIN2
end end
function s.rfilter(c,e,tp) function s.rfilter(c)
return c:IsFaceupEx() and c:IsSetCard(0xb4) return c:IsFaceupEx() and c:IsSetCard(0xb4)
end end
function s.mfilter(c) function s.mfilter(c)
...@@ -100,4 +100,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -100,4 +100,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -224,4 +224,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp) ...@@ -224,4 +224,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
tc:CancelToGrave() tc:CancelToGrave()
Duel.Overlay(c,Group.FromCards(tc)) Duel.Overlay(c,Group.FromCards(tc))
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