Commit 196b47fd authored by wind2009's avatar wind2009

Merge branch 'patch-2' into 'master'

fix原石鸣狞

See merge request mycard/pre-release-database-cdb!41
parents f65e2c2d 33133423
Pipeline #27694 passed with stages
in 53 seconds
...@@ -36,10 +36,10 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -36,10 +36,10 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,0) Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,0)
end end
function s.ptfilter(e,c) function s.ptfilter(e,c)
return c:IsSetCard(0x2b9) or c:IsCode(e:GetLabel()) return c:IsSetCard(0x2b9) or (c:IsCode(e:GetLabel()) and c:IsType(TYPE_NORMAL))
end end
function s.smfilter(c,e,tp,code) function s.smfilter(c,e,tp,code)
return c:IsCode(code) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) return c:IsCode(code) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) and c:IsType(TYPE_NORMAL)
end end
function s.activate(e,tp,eg,ep,ev,re,r,rp) function s.activate(e,tp,eg,ep,ev,re,r,rp)
local code=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM) local code=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM)
......
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