Commit 52b5a871 authored by sidschingis's avatar sidschingis

Q:自分もしくは相手の手札が存在しない場合でも発動は可能ですか?

A:「自分の手札もしくは相手の手札『どちらか』が0枚の場合」も、発動できます。
  ただし「自分と相手『両方』の手札が0枚の場合」は発動できません。(12/09/27)
parent 8e9fc917
...@@ -14,7 +14,7 @@ function c72892473.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -14,7 +14,7 @@ function c72892473.target(e,tp,eg,ep,ev,re,r,rp,chk)
local h1=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) local h1=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)
if e:GetHandler():IsLocation(LOCATION_HAND) then h1=h1-1 end if e:GetHandler():IsLocation(LOCATION_HAND) then h1=h1-1 end
local h2=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND) local h2=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)
return h1>0 and Duel.IsPlayerCanDraw(tp,(h1 > 0) and h1 or 1) and Duel.IsPlayerCanDraw(1-tp,1) return (h1+h2>0) and Duel.IsPlayerCanDraw(tp,(h1 > 0) and h1 or 1) and Duel.IsPlayerCanDraw(1-tp,1)
end end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,PLAYER_ALL,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,PLAYER_ALL,1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,PLAYER_ALL,1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,PLAYER_ALL,1)
......
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