Commit 33748494 authored by mercury233's avatar mercury233

fix

parent 7db0a900
...@@ -47,7 +47,7 @@ function c101110004.rfilter(c,tp) ...@@ -47,7 +47,7 @@ function c101110004.rfilter(c,tp)
end end
function c101110004.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c101110004.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c101110004.rfilter,1,nil,tp) if chk==0 then return Duel.CheckReleaseGroup(tp,c101110004.rfilter,1,nil,tp)
and Duel.GetCustomActivityCount(5325155,tp,ACTIVITY_SPSUMMON)==0 end and Duel.GetCustomActivityCount(101110004,tp,ACTIVITY_SPSUMMON)==0 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectReleaseGroup(tp,c101110004.rfilter,1,1,nil,tp) local g=Duel.SelectReleaseGroup(tp,c101110004.rfilter,1,1,nil,tp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -62,11 +62,11 @@ function c101110045.lztg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -62,11 +62,11 @@ function c101110045.lztg(e,tp,eg,ep,ev,re,r,rp,chk)
+Duel.GetLocationCount(tp,LOCATION_SZONE,PLAYER_NONE,0) +Duel.GetLocationCount(tp,LOCATION_SZONE,PLAYER_NONE,0)
+Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end +Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end
local dis=Duel.SelectDisableField(tp,1,LOCATION_ONFIELD,LOCATION_ONFIELD,0xe000e0) local dis=Duel.SelectDisableField(tp,1,LOCATION_ONFIELD,LOCATION_ONFIELD,0xe000e0)
e:SetLabel(dis) Duel.SetTargetParam(dis)
Duel.Hint(HINT_ZONE,tp,dis) Duel.Hint(HINT_ZONE,tp,dis)
end end
function c101110045.lzop(e,tp,eg,ep,ev,re,r,rp) function c101110045.lzop(e,tp,eg,ep,ev,re,r,rp)
local zone=e:GetLabel() local zone=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM)
if tp==1 then if tp==1 then
zone=((zone&0xffff)<<16)|((zone>>16)&0xffff) zone=((zone&0xffff)<<16)|((zone>>16)&0xffff)
end end
......
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