Commit 39f40a8c authored by DailyShana's avatar DailyShana Committed by GitHub

add HINT_ZONE (#1305)

parent 610b542a
......@@ -26,6 +26,7 @@ function c14839621.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return ft>0 end
local seq=Duel.SelectDisableField(tp,1,LOCATION_MZONE,LOCATION_MZONE,0)
e:SetLabel(seq)
Duel.Hint(HINT_ZONE,tp,seq)
end
function c14839621.cfilter(c,seq,tp)
local nseq=c:GetSequence()
......
......@@ -40,6 +40,7 @@ function c40669071.lztg(e,tp,eg,ep,ev,re,r,rp,chk)
+Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)>ct end
local dis=Duel.SelectDisableField(tp,ct,LOCATION_MZONE,LOCATION_MZONE,0xe000e0)
e:SetLabel(dis)
Duel.Hint(HINT_ZONE,tp,dis)
end
function c40669071.lzop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -17,6 +17,7 @@ function c50696588.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)>0 end
local flag=Duel.SelectDisableField(tp,1,0,LOCATION_MZONE,0)
e:SetLabel(flag)
Duel.Hint(HINT_ZONE,tp,flag)
end
function c50696588.activate(e,tp,eg,ep,ev,re,r,rp)
local flag=e:GetLabel()
......
......@@ -56,6 +56,7 @@ function c53244294.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end
local dis=Duel.SelectDisableField(tp,1,LOCATION_ONFIELD,LOCATION_ONFIELD,0xe000e0)
e:SetLabel(dis)
Duel.Hint(HINT_ZONE,tp,dis)
end
function c53244294.zop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -42,6 +42,7 @@ function c79569173.target(e,tp,eg,ep,ev,re,r,rp,chk)
c:RegisterEffect(e1)
local dis=Duel.SelectDisableField(tp,3,0,LOCATION_SZONE,0)
e:SetLabel(dis)
Duel.Hint(HINT_ZONE,tp,dis)
end
function c79569173.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)<3 then return end
......
......@@ -20,6 +20,7 @@ function c90502999.target(e,tp,eg,ep,ev,re,r,rp,chk)
+Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)>1 end
local dis=Duel.SelectDisableField(tp,2,LOCATION_MZONE,LOCATION_MZONE,0xe000e0)
e:SetLabel(dis)
Duel.Hint(HINT_ZONE,tp,dis)
end
function c90502999.disop(e,tp)
return e:GetLabelObject():GetLabel()
......
......@@ -47,6 +47,7 @@ function c97466438.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end
local dis=Duel.SelectDisableField(tp,1,LOCATION_ONFIELD,LOCATION_ONFIELD,0xe000e0)
e:SetLabel(dis)
Duel.Hint(HINT_ZONE,tp,dis)
end
function c97466438.zop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -664,6 +664,7 @@ HINT_ATTRIB =7
HINT_CODE =8
HINT_NUMBER =9
HINT_CARD =10
HINT_ZONE =11
--Card Hint
CHINT_TURN =1
CHINT_CARD =2
......
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