Commit bcdf5b98 authored by Huangnan's avatar Huangnan

Merge branch 'master' into 'master'

鱼人及大奖赛先行卡修复

See merge request mycard/pre-release-database-cdb!5
parents 75022aea c3312a3b
Pipeline #24956 passed with stages
in 1 minute and 41 seconds
......@@ -74,7 +74,7 @@ function s.tokenop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummonComplete()
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_SINGLE_RANGE)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e2:SetRange(LOCATION_MZONE)
e2:SetValue(s.synlimit)
......
......@@ -46,7 +46,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND)
end
function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then return false end
if not Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then return end
local c=e:GetHandler()
local sc=e:GetLabelObject()
local g=Group.FromCards(c,sc)
......
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